{"id":16694724,"url":"https://github.com/spenserblack/check-latest-rs","last_synced_at":"2025-06-18T03:04:54.636Z","repository":{"id":43337813,"uuid":"236042653","full_name":"spenserblack/check-latest-rs","owner":"spenserblack","description":"Check if your rust executable is the latest available version","archived":false,"fork":false,"pushed_at":"2024-03-25T13:49:26.000Z","size":207,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T11:01:27.415Z","etag":null,"topics":["dependencies","rust","semver","updates","versioning"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spenserblack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-24T16:46:09.000Z","updated_at":"2023-06-30T23:00:12.000Z","dependencies_parsed_at":"2025-02-16T08:45:26.358Z","dependency_job_id":null,"html_url":"https://github.com/spenserblack/check-latest-rs","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":"spenserblack/template-rust-repo","purl":"pkg:github/spenserblack/check-latest-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Fcheck-latest-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Fcheck-latest-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Fcheck-latest-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Fcheck-latest-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spenserblack","download_url":"https://codeload.github.com/spenserblack/check-latest-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Fcheck-latest-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260366101,"owners_count":22998106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependencies","rust","semver","updates","versioning"],"created_at":"2024-10-12T16:47:59.767Z","updated_at":"2025-06-18T03:04:49.576Z","avatar_url":"https://github.com/spenserblack.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-latest\n[![Crates.io](https://img.shields.io/crates/v/check-latest)](https://crates.io/crates/check-latest/)\n[![Docs.rs](https://docs.rs/check-latest/badge.svg)](https://docs.rs/check-latest/)\n![Crates.io](https://img.shields.io/crates/d/check-latest)\n[![CI](https://github.com/spenserblack/check-latest-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/spenserblack/check-latest-rs/actions/workflows/ci.yml)\n\nCheck if your rust executable is the latest available version on [Crates.io]\n\n## The Basics\n\n```rust\nuse check_latest::check_max;\n\nif let Ok(Some(version)) = check_max!() {\n    println!(\"Version {} is now available!\", version);\n}\n```\n\n*Please check the examples and [the documentation](https://docs.rs/check-latest/) For more usage.*\n\n## Features\n\nThis crate has two features: `async` and `blocking`.\nBy default, `blocking` is enabled and `async` is disabled. This default is compatible with the\nexample in the section titled **The Basics**. If you want to use asynchronous requests, you can\nswap these features with the following in you `Cargo.toml`.\n```toml\n[dependencies.check-latest]\nversion = \"*\"\ndefault-features = false\nfeatures = [\"async\"]\n```\n*__NOTE__ There's nothing stopping you from enabling both `async` and `blocking`, but that's\nunlikely to be necessary.*\n\n## Notes\n\n### Making this Library Optional\n\nIf you use this library for your binary, you should probably make this an optional feature.\nSimply checking for the latest version on [Crates.io] brings over *a lot* of dependencies\nin order to send a request to the API and parse the response. Some users may want to turn\noff this feature for a smaller binary. Some may simply prefer not to be told to install an update.\n\nYou can make this feature optional by adding this to your `Cargo.toml`.\n```toml\n[dependencies.check-latest]\nversion = \"*\"\noptional = true\n```\nTo selectively compile the parts of your binary that check for later releases, add this attribute\nto the parts that should be compiled if this feature is enabled.\n```rust\n#[cfg(feature = \"check-latest\")]\n```\n\n[Crates.io]: https://crates.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspenserblack%2Fcheck-latest-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspenserblack%2Fcheck-latest-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspenserblack%2Fcheck-latest-rs/lists"}