{"id":73074,"library":"fluid-let","title":"fluid-let","description":"Provides dynamically scoped variables in Rust, similar to Common Lisp's fluid-let.","status":"active","version":"1.0.0","language":"rust","source_language":null,"source_url":"https://github.com/ilammy/fluid-let","tags":["dynamic-scoping","macro","thread-local"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfluid-let = \"1.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add fluid-let","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"fluid_let","correct":"use fluid_let::fluid_let;"}],"quickstart":{"code":"use fluid_let::fluid_let;\n\nfluid_let! {\n    static X: i32 = 0;\n}\n\nfn main() {\n    X.set(42);\n    println!(\"{}\", X.get());\n}","lang":"rust","description":"Defines and uses a dynamically scoped variable."},"warnings":[{"fix":"Use std::sync primitives if cross-thread sharing is needed.","message":"Thread-local storage: fluid-let uses thread-local storage; values are not shared across threads.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'common':12 'dynam':5,19 'dynamic-scop':18 'fluid':2,16 'fluid-let':1,15 'let':3,17 'lisp':13 'local':24 'macro':21 'provid':4 'rust':9 'scope':6,20 'similar':10 'thread':23 'thread-loc':22 'variabl':7","created_at":"2026-06-17T18:47:18.560320+00:00","updated_at":"2026-06-17T18:47:18.560320+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/ilammy/fluid-let","github":"https://github.com/ilammy/fluid-let","docs":"https://docs.rs/fluid-let/","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}}