Cargo Features

[dependencies]
encrypt-stuff = { version = "0.2.1", default-features = false, features = ["chacha20poly1305", "chacha12poly1305", "xchacha20poly1305", "xchacha12poly1305", "aes256gcm", "aes128gcm", "aes128gcmsiv", "bitcode", "bincode"] }
default = aes256gcm, bitcode

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

chacha20poly1305 chacha12poly1305? chacha8poly1305? xchacha12poly1305? xchacha8poly1305?

encryption cipher flags

Enables chacha20poly1305

chacha8poly1305 chacha12poly1305

Enables reduced-round of chacha20poly1305

xchacha20poly1305

Enables chacha20poly1305

xchacha8poly1305 xchacha12poly1305

Enables reduced-round of chacha20poly1305

aes256gcm default

Enables aes of aes-gcm

Affects encrypt-stuff::DefaultScheme

aes128gcm

Enables aes of aes-gcm

aes256gcmsiv aes128gcmsiv

Enables aes of aes-gcm-siv

bitcode default

serialization flags

Affects serialization::bitcode, encrypt-stuff::DefaultScheme

bincode

Enables bincode

Affects serialization::bincode

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.

aes-gcm aes128gcm? aes256gcm
aes-gcm-siv aes128gcmsiv? aes256gcmsiv?