Cargo Features

[dependencies]
pwbox = { version = "0.5.0", default-features = false, features = ["std", "pure", "exonum_sodiumoxide", "rust-crypto"] }
default = exonum_sodiumoxide, std

These default features are set whenever pwbox is added without default-features = false somewhere in the dependency tree.

std default

Enables std of anyhow and scrypt ^0.8

pure = chacha20poly1305, scrypt

Affects pwbox::pure

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.

exonum_sodiumoxide default

Enables exonum_sodiumoxide

crypto backends

Affects pwbox::sodium

rust-crypto implicit feature

Enables rust-crypto

rust-crypto:

A (mostly) pure-Rust implementation of various common cryptographic algorithms

Affects pwbox::rcrypto

chacha20poly1305 pure?

Enables chacha20poly1305 ^0.9

scrypt pure? std

Enables scrypt ^0.8