Cargo Features
[dependencies]
autocache = { version = "0.2.1", default-features = false, features = ["serilize", "localcache", "ttlcache", "rediscache", "twolevelcache"] }
- default = localcache
-
The
localcache
feature is set by default wheneverautocache
is added without
somewhere in the dependency tree.default-features = false - serilize rediscache? twolevelcache?
-
Enables bytes, serde, and serde_json
Affects
entry::SerilizableEntryTrait
… - localcache default
-
Enables moka
Affects
autocache::local_cache
… - ttlcache
-
Enables im
Affects
autocache::ttl_cache
… - rediscache = serilize
-
Enables redis ^0.26
Affects
autocache::redis_cache
… - twolevelcache = serilize
-
Affects
autocache::twolevel_cache
…