forked from moka-rs/mini-moka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (40 loc) · 1.21 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
[package]
name = "mini-moka"
version = "0.10.3"
edition = "2018"
rust-version = "1.61"
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"]
testing = []
[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
# 0.1.12 requires Rust 1.76
triomphe = { version = ">=0.1.3, <0.1.12", default-features = false }
# Optional dependencies (enabled by default)
dashmap = { version = "5.2", 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"]