uselesskey-core-cache
Identity-keyed typed cache primitives shared by uselesskey fixture factories.
Purpose
- Provide a process-local cache keyed by
ArtifactId. - Store generated fixtures as
Arc<dyn Any + Send + Sync>. - Preserve typed retrieval guarantees with explicit panic on type mismatch.
- Keep
std/no_stdbehavior aligned withuselesskey-core.
This microcrate is intentionally focused on cache mechanics, not derivation or key generation.
Features
| Feature | Description |
|---|---|
std (default) |
Uses DashMap for concurrent cache access |
default-features = false |
Uses spin::Mutex<BTreeMap<...>> for no_std builds |
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
See the uselesskey crate for full
documentation.