Skip to main content

Crate uselesskey_core_cache

Crate uselesskey_core_cache 

Source
Expand description

Per-process artifact cache keyed by ArtifactId.

Stores generated fixtures behind Arc<dyn Any> so expensive key generation (especially RSA) only happens once per unique identity tuple. Thread-safe: uses DashMap with std, spin::Mutex without.

The primary type is ArtifactCache.

Structs§

ArtifactCache
Cache keyed by ArtifactId that stores typed values behind Arc<dyn Any>.

Functions§

downcast_or_panic
Downcast a cached Any value to the expected fixture type.