Cargo Features

[dependencies]
dryoc = { version = "0.6.1", default-features = false, features = ["nightly", "simd_backend", "u64_backend", "base64", "serde"] }
default = u64_backend

The u64_backend feature is set by default whenever dryoc is added without default-features = false somewhere in the dependency tree.

nightly

Affects auth::protected, dryocbox::protected, dryocsecretbox::protected, dryocstream::protected, generichash::protected, kdf::protected

simd_backend

Enables asm of sha2

u64_backend default

Features from optional dependencies

base64 implicit feature

Enables base64 ^0.21

base64:

encodes and decodes base64 as bytes or utf8

Affects crypto_pwhash::crypto_pwhash_str, crypto_pwhash::crypto_pwhash_str_verify, crypto_pwhash::crypto_pwhash_str_needs_rehash

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework