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 default-features = false somewhere in the dependency tree.

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.

serde default