Cargo Features
[dependencies]
osshkeys = { version = "0.7.0", default-features = false, features = ["openssl-cipher", "rustcrypto-cipher", "openssl-vendored", "experimental"] }
- default = openssl-cipher
-
The
openssl-cipherfeature is set by default wheneverosshkeysis added withoutsomewhere in the dependency tree.default-features = false - openssl-cipher default
-
Encrypt/Decrypt by OpenSSL
Currently, there are other parts which still depend on OpenSSL,
therefore, unset this feature won't remove the OpenSSL dependency. - rustcrypto-cipher = aes, cbc, cipher, ctr, des
- openssl-vendored
- experimental
-
Internal use for experimental codes
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.
- cipher rustcrypto-cipher?
-
Enables cipher ^0.4.0
Feature
rustcrypto-cipherdependencies - cbc rustcrypto-cipher?
-
Enables cbc ^0.1.0
- ctr rustcrypto-cipher?
-
Enables ctr ^0.9.0
- aes rustcrypto-cipher?
-
Enables aes ^0.8.0
- des rustcrypto-cipher?
-
Enables des ^0.8.0