Cargo Features
[dependencies]
dashmap-shard = { version = "0.1.1", default-features = false, features = ["rustc-internal-api", "rustc-dep-of-std", "raw", "ahash", "rayon", "serde"] }
- default = ahash
-
The
ahash
feature is set by default wheneverdashmap-shard
is added without
somewhere in the dependency tree.default-features = false - nightly rustc-internal-api rustc-dep-of-std?
- rustc-dep-of-std = alloc, compiler_builtins, core, nightly, rustc-internal-api
- raw
-
Affects
dashmap-shard::raw
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- alloc rustc-dep-of-std?
-
Enables rustc-std-workspace-alloc
- ahash default
-
Enables ahash ^0.2.11
For the default hasher
Affects
map::DefaultHashBuilder
… - rayon implicit feature
-
Enables rayon
For external trait impls
Affects
dashmap-shard::raw.rayon
,dashmap-shard::hash_map.rayon
,dashmap-shard::hash_set.rayon
… - serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- core rustc-dep-of-std?
-
Enables rustc-std-workspace-core
When built as part of libstd
- compiler_builtins rustc-dep-of-std?