Cargo Features

libsodium-rs has no features set by default.

[dependencies]
libsodium-rs = { version = "0.1.1", features = ["fetch-latest", "optimized", "minimal"] }
fetch-latest

Enable this feature if you want to use the latest stable version of libsodium

Enables fetch-latest of libsodium-sys-stable

optimized

Enable optimized build for the current platform

Enables optimized of libsodium-sys-stable

minimal

Do not build deprecated APIs

Enables minimal of libsodium-sys-stable