Registry / utility / illicit

illicit

JSON →
library1.1.2rscratesunverified

An implicit thread-local environment indexed by type for dependency injection.

# Cargo.toml [dependencies] illicit = "1.1.2"
INSTALL
IMPORT
SIG · ILLICIT
I
illicit
utilityrustv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_env
use illicit::get_env;

Retrieves a value from the implicit environment.

use illicit::get_env; fn main() { let value: i32 = get_env(); println!("Value: {}", value); }
Debug
Known issues
gotchaThread-local storage may cause unexpected behavior in async contexts.
fix
Ensure you are not using illicit across async task boundaries without proper propagation.
affects: >=1.0.0
Upgrade
Version history
1.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
illicit — cargo add illicit · libregistry