Cargo Features
[dependencies]
encrypt-rs = { version = "0.3.7", default-features = false, features = ["base", "full", "prompt", "hashivault", "cloudkms"] }
- default = full
-
The
full
feature is set by default wheneverencrypt-rs
is added without
somewhere in the dependency tree.default-features = false - base full
-
base build is 'env' keeper only
- full default = base, cloudkms, hashivault, prompt
- prompt full = secret-keeper-prompt
- hashivault full = secret-keeper-hashivault
- cloudkms full = secret-keeper-cloudkms
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.