{"id":58811,"library":"fslock","title":"fslock","description":"A library to use files as locks for cross-process synchronization.","status":"active","version":"0.2.1","language":"rust","source_language":null,"source_url":"https://github.com/brunoczim/fslock","tags":["filesystem","locking","synchronization","cross-process"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfslock = \"0.2.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add fslock","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"LockFile","correct":"use fslock::LockFile;"}],"quickstart":{"code":"use fslock::LockFile;\n\nfn main() -> std::io::Result<()> {\n    let mut lock = LockFile::open(\"myfile.lock\")?;\n    lock.lock()?;\n    // critical section\n    lock.unlock()?;\n    Ok(())\n}","lang":"rust","description":"Create and acquire a file lock."},"warnings":[],"env_vars":null,"search_vec":"'cross':11,18 'cross-process':10,17 'file':6 'filesystem':14 'fslock':1 'librari':3 'lock':8,15 'process':12,19 'synchron':13,16 'use':5","created_at":"2026-06-16T16:39:32.294826+00:00","updated_at":"2026-06-16T16:39:32.294826+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/brunoczim/fslock","github":"https://github.com/brunoczim/fslock","docs":"https://docs.rs/fslock/","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-16","next_check":"2026-12-13","install_tag":null}}