Cargo Features
[dependencies]
internment = { version = "0.8.6", default-features = false, features = ["arc", "arena", "intern", "bench", "tinyset", "serde", "deepsize", "arc-interner"] }
- default = intern
-
The
intern
feature is set by default wheneverinternment
is added without
somewhere in the dependency tree.default-features = false - arc bench?
-
Enables ahash, dashmap ^5.4.0, and once_cell
- arena bench?
- intern default
- bench = arc, arena
-
Enables append-only-vec and memorable-wordlist
Features from optional dependencies
- tinyset implicit feature
-
Enables tinyset ^0.4.2
tinyset:
Size-optimized sets
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- deepsize implicit feature
-
Enables deepsize
deepsize:
A crate for measuring the total size of object on the stack and heap
Affects
arc::deep_size_of_arc_interned
,intern::deep_size_of_interned
… - arc-interner implicit feature
-
Enables arc-interner
arc-interner:
An interner that deallocates unused values