Registry / utility / task-local-extensions

task-local-extensions

JSON →
library0.1.4rscratesunverified

Task-local container for arbitrary data.

# Cargo.toml [dependencies] task-local-extensions = "0.1.4"
INSTALL
IMPORT
SIG · TASK-LOCAL-EXTENSI
T
task-local-extensions
utilityrustv0.1.4
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.

Extensions
use task_local_extensions::Extensions;

Store and retrieve task-local data

use task_local_extensions::Extensions; fn main() { let mut ext = Extensions::new(); ext.insert(42u32); println!("Extension stored"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
Amazon
1
Resources
task-local-extensions — cargo add task-local-extensions · libregistry