sett
Rust (partial) port of sett.
Detailed documentation can be found at https://docs.rs/sett.
Usage
Add sett to dependencies in project's Cargo.toml.
[]
= "*"
By default, the library uses Nettle as cryptographic backend.
However, on Windows targets, Cryptography API: Next Generation (CNG)
can be selected at the compile time: disable default features
(default-features = false) and enable the crypto-cng feature.
Example binaries
Run cargo run --example to list available examples.
To run a specific example, execute e.g.
cargo run --release --example encrypt -- --help
For the Windows target we use the crypto-cng backend (instead of the default
crypto-nettle). It can be used by enabling the crypto-cng and disabling
the defaults.
cargo run --release --no-default-features --features=crypto-cng --example encrypt -- --help