Cargo Features

[dependencies]
ezcache = { version = "0.2.0", default-features = false, features = ["std", "thread-safe", "file-stores", "nightly"] }
default = file-stores, std, thread-safe

These default features are set whenever ezcache is added without default-features = false somewhere in the dependency tree.

std default file-stores thread-safe

Affects ezcache::stores

thread-safe default file-stores = nightly, std

Affects ezcache::thread_safe, stores::ThreadSafeMemoryStore

file-stores default = std, thread-safe

Enables base64, bincode, serde, and sha2

Affects stores::file_stores

nightly thread-safe

Features from optional dependencies

I think dep versions could be relaxed more, but just to be safe