Registry / utility / quick-cache

quick-cache

JSON →
library0.6.23rscratesunverified

A lightweight and high performance concurrent cache.

# Cargo.toml [dependencies] quick_cache = "0.6.23"
INSTALL
IMPORT
SIG · QUICK-CACHE
Q
quick-cache
utilityrustv0.6.23
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.

QuickCache
use quick_cache::QuickCache;

Creates a cache with capacity 100, inserts and retrieves a value.

use quick_cache::QuickCache; fn main() { let mut cache: QuickCache<String, u32> = QuickCache::new(100); cache.insert("key".to_string(), 42); if let Some(val) = cache.get(&"key".to_string()) { println!("{}", val); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.23latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
quick-cache — cargo add quick-cache · libregistry