Cargo Features
[dependencies]
sodiumoxide = { version = "0.2.7", default-features = false, features = ["std", "use-pkg-config", "benchmarks", "serde"] }
- default = serde, std
-
These default features are set whenever
sodiumoxide
is added without
somewhere in the dependency tree.default-features = false - std default
- use-pkg-config
-
Enables use-pkg-config of libsodium-sys
- benchmarks
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.
- serde default