{"id":73107,"library":"git-lock","title":"Git-Lock","description":"Please use gix-<thiscrate> instead ('git' -> 'gix').","status":"deprecated","version":"3.0.3","language":"rust","source_language":null,"source_url":"https://github.com/Byron/gitoxide","tags":["deprecated","git","lock","file-lock"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ngit-lock = \"3.0.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add git-lock","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Lock","correct":"use git_lock::Lock;"}],"quickstart":{"code":"use git_lock::Lock;\n\nfn main() {\n    let lock = Lock::new(\"path\");\n    println!(\"Lock created\");\n}","lang":"rust","description":"Create a file lock (deprecated, use gix-lock instead)."},"warnings":[{"fix":"Replace git-lock with gix-lock in Cargo.toml and update imports.","message":"This crate is deprecated; use gix-lock instead.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'deprec':10 'file':14 'file-lock':13 'git':2,8,11 'git-lock':1 'gix':6,9 'instead':7 'lock':3,12,15 'pleas':4 'use':5","created_at":"2026-06-17T18:47:39.476120+00:00","updated_at":"2026-06-17T18:47:39.476120+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/Byron/gitoxide","github":"https://github.com/Byron/gitoxide","docs":"https://docs.rs/git-lock/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}