-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
38 lines (27 loc) · 1.08 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
[package]
name = "once_map"
version = "0.4.21"
edition = "2021"
rust-version = "1.63"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Single assignment and lazy maps"
repository = "https://github.com/a1phyr/once_map"
documentation = "https://docs.rs/once_map"
categories = ["caching", "concurrency", "data-structures", "rust-patterns", "no-std"]
keywords = ["map", "once", "lazy"]
[features]
default = ["std", "ahash"]
std = ["dep:parking_lot", "stable_deref_trait/std", "ahash?/std", "ahash?/runtime-rng"]
ahash = ["dep:ahash"]
rayon = ["dep:rayon", "hashbrown/rayon", "std"]
[dependencies]
ahash = { version = "0.8", default-features = false, optional = true }
hashbrown = { version = "0.15", default-features = false }
stable_deref_trait = { version = "1.2", features = ["alloc"], default-features = false }
equivalent = { version = "1.0", optional = true }
parking_lot = { version = "0.12", optional = true }
rayon = { version = "1.6", optional = true }
serde = { version = "1.0.210", optional = true, default-features = false }
[package.metadata.docs.rs]
all-features = true