[[bench]]
harness = false
name = "criterion"
path = "benches/criterion.rs"
[dependencies]
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.rand]
version = "0.9.0"
[dev-dependencies.rand_distr]
version = "0.5.1"
[features]
default = ["sync", "sharded"]
doctest = ["sync", "sharded"]
sharded = []
sync = []
[lib]
name = "sieve_cache"
path = "src/lib.rs"
[package]
authors = ["Frank Denis <github@pureftpd.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "caching", "concurrency", "data-structures"]
description = "SIEVE cache replacement policy with thread-safe wrappers"
documentation = "https://docs.rs/sieve-cache"
edition = "2021"
homepage = "https://github.com/jedisct1/rust-sieve-cache"
keywords = ["cache", "replacement", "sieve", "thread-safe", "concurrent"]
license = "MIT"
name = "sieve-cache"
readme = "README.md"
repository = "https://github.com/jedisct1/rust-sieve-cache"
rust-version = "1.60.0"
version = "1.0.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.bench]
debug = 2
lto = "thin"
opt-level = 3
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true