Cargo Features
[dependencies]
probably = { version = "0.3.1", default-features = false, features = ["std", "with_serde", "farmhash"] }
- default = std
-
The
std
feature is set by default wheneverprobably
is added without
somewhere in the dependency tree.default-features = false - std default = bytecount, rand, siphasher
- with_serde = serde_bytes, serde_json
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
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.
- bytecount std
- rand std
-
Enables rand ^0.7
- siphasher std
-
Enables siphasher ^0.3
- serde_json with_serde?
- farmhash implicit feature
- serde_bytes with_serde?