Cargo Features
[dependencies]
string-hash-interner = { version = "0.20.0", default-features = false, features = ["std", "serde", "inline-more"] }
- default = inline-more, std
-
These default features are set whenever
string-hash-interner
is added without
somewhere in the dependency tree.default-features = false - std default
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - serde
-
Enable this if you need
Serde
serialization and deserialization support.Enabled by default.
Enables serde
- inline-more default
-
Use this to mark more public functions of the StringInterner (and hashbrown)
as inline. This significantly increases compile times of the crate but improves upon runtime execution.
Enabled by default.Enables inline-more of hashbrown