Cargo Features
[dependencies]
signcryption = { version = "0.1.3", default-features = false, features = ["signcrypt", "fetch-libsodium"] }
- default = signcrypt
-
The
signcrypt
feature is set by default wheneversigncryption
is added without
somewhere in the dependency tree.default-features = false - signcrypt default = aes-gcm
-
Turn off default features if you wish to use another AEAD
- fetch-libsodium
-
Will download and install the latest version of libsodium Run this feature once if you don't have it installed
Enables fetch-latest of libsodium-sys-stable
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.