# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "caches" version = "0.2.8" authors = ["Al Liu "] description = "This is a Rust implementation for popular caches (support no_std)." homepage = "https://github.com/al8n/caches-rs" documentation = "https://docs.rs/caches/" readme = "README.md" keywords = [ "lru", "cache", "tinylfu", "no_std", "data-structures", ] categories = [ "algorithms", "data-structures", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/al8n/caches-rs.git" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "lru_cache" harness = false [[bench]] name = "two_queue_cache" harness = false [[bench]] name = "arc_cache" harness = false [[bench]] name = "segmented_cache" harness = false [[bench]] name = "wtinylfu_cache" harness = false [dependencies.bitvec] version = "1" default-features = false [dependencies.hashbrown] version = "0.14" optional = true [dependencies.rand] version = "0.8" optional = true [dev-dependencies.cascara] version = "0.1.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.fnv] version = "1.0.7" [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.rustc-hash] version = "1.0" [dev-dependencies.scoped_threadpool] version = "0.1.*" [dev-dependencies.stats_alloc] version = "0.1.*" [features] default = ["std"] nightly = ["rand/nightly"] std = [ "rand", "rand/std", "rand/std_rng", "bitvec/std", ] [target."cfg(target_family = \"wasm\")".dependencies.getrandom] version = "0.2" features = ["js"]