| Crates.io | dyn-cache |
| lib.rs | dyn-cache |
| version | 0.12.2 |
| created_at | 2020-07-20 04:45:58.50267+00 |
| updated_at | 2021-04-25 21:17:37.242939+00 |
| description | Query cache indexed by type. |
| homepage | https://moxie.rs |
| repository | https://github.com/anp/moxie.git |
| max_upload_size | |
| id | 267108 |
| size | 55,381 |
The dyn-cache crate provides incremental caching for Rust function invocations.
wasm-bindgen cargo feature which enables correct usage of parking_lot on wasm32 targets.CacheMiss handles initialization of borrowed inputs for storage, this removes arguments from
some lower-level functions.SharedLocalCache/``SharedSendCache` have their intermediate dependencies
retained as long as a transitive dependent is used in a revision.topo::cache module.{LocalCache,SendCache}::cache wraps cache_with for types that impl Clone.{LocalCache,SendCache}::hold wraps cache_with for queries that don't need returns.CacheMiss struct is used to ensure storage happens where the failed lookup happened.Cache/SharedCache to SendCache/SharedSendCache.