{"id":59692,"library":"sync-wrapper","title":"Sync Wrapper","description":"A tool for enlisting the compiler's help in proving the absence of concurrency issues by wrapping types to enforce single-threaded usage.","status":"active","version":"1.0.2","language":"rust","source_language":null,"source_url":"https://github.com/Actyx/sync_wrapper","tags":["concurrency","safety","wrapper","thread"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsync_wrapper = \"1.0.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sync_wrapper","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"SyncWrapper","correct":"use sync_wrapper::SyncWrapper;"}],"quickstart":{"code":"use sync_wrapper::SyncWrapper;\n\nfn main() {\n    let wrapper = SyncWrapper::new(42);\n    let value: i32 = wrapper.into_inner();\n    println!(\"{}\", value);\n}","lang":"rust","description":"Wraps a value to ensure it is only accessed from a single thread, leveraging the type system to prevent data races."},"warnings":[],"env_vars":null,"search_vec":"'absenc':14 'compil':8 'concurr':16,27 'enforc':22 'enlist':6 'help':10 'issu':17 'prove':12 'safeti':28 'singl':24 'single-thread':23 'sync':1 'thread':25,30 'tool':4 'type':20 'usag':26 'wrap':19 'wrapper':2,29","created_at":"2026-06-16T17:13:44.144402+00:00","updated_at":"2026-06-16T17:13:44.144402+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://docs.rs/sync_wrapper","github":"https://github.com/Actyx/sync_wrapper","docs":"https://docs.rs/sync_wrapper/","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}}