Cargo Features

[dependencies]
osshkeys = { version = "0.7.0", default-features = false, features = ["openssl-cipher", "rustcrypto-cipher", "openssl-vendored", "experimental"] }
default = openssl-cipher

The openssl-cipher feature is set by default whenever osshkeys is added without default-features = false somewhere in the dependency tree.

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

Enables vendored of openssl

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-cipher dependencies

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