{"id":58112,"library":"self-update","title":"Self Update","description":"Self updates for standalone executables, enabling automatic binary replacement.","status":"active","version":"0.43.1","language":"rust","source_language":null,"source_url":"https://github.com/jaemk/self_update","tags":["updates","binary","deployment","cli"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nself_update = \"0.43.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add self_update","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"cargo_crate_version","correct":"use self_update::cargo_crate_version;"}],"quickstart":{"code":"use self_update::cargo_crate_version;\n\nfn main() {\n    let version = cargo_crate_version!();\n    println!(\"Current version: {}\", version);\n}","lang":"rust","description":"Retrieves the current crate version for update checking."},"warnings":[{"fix":"Ensure the application has internet access or handle errors gracefully.","message":"Requires network access for update checks; may fail in restricted environments.","severity":"gotcha","affected_versions":">=0.43.0"}],"env_vars":null,"search_vec":"'automat':9 'binari':10,13 'cli':15 'deploy':14 'enabl':8 'execut':7 'replac':11 'self':1,3 'standalon':6 'updat':2,4,12","created_at":"2026-06-16T16:11:49.647198+00:00","updated_at":"2026-06-16T16:11:49.647198+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/jaemk/self_update","github":"https://github.com/jaemk/self_update","docs":"https://docs.rs/self_update/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","cli"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}