-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
56 lines (46 loc) · 1.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "mini-moka"
version = "0.11.0"
edition = "2018"
rust-version = "1.76"
description = "A lighter edition of Moka, a fast and concurrent cache library"
license = "MIT OR Apache-2.0"
# homepage = "https://"
documentation = "https://docs.rs/mini-moka/"
repository = "https://github.com/moka-rs/mini-moka"
keywords = ["cache", "concurrent"]
categories = ["caching", "concurrency"]
readme = "README.md"
exclude = [".circleci", ".devcontainer", ".github", ".gitpod.yml", ".vscode"]
[features]
default = ["sync"]
sync = ["dashmap"]
[dependencies]
crossbeam-channel = "0.5.5"
crossbeam-utils = "0.8"
smallvec = "1.8"
tagptr = "0.2"
# Opt-out serde and stable_deref_trait features
# https://github.com/Manishearth/triomphe/pull/5
triomphe = { version = "0.1.13", default-features = false }
# Optional dependencies (enabled by default)
dashmap = { version = "6.1", optional = true }
[dev-dependencies]
anyhow = "1.0.19"
getrandom = "0.2"
once_cell = "1.7"
[target.'cfg(trybuild)'.dev-dependencies]
trybuild = "1.0"
# https://docs.rs/about/metadata
[package.metadata.docs.rs]
# Build the doc with some features enabled.
features = []
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
"cfg(kani)",
"cfg(skeptic)",
"cfg(circleci)",
"cfg(trybuild)",
"cfg(beta_clippy)",
] }