Cargo Features

Cylinder has no features set by default.

[dependencies]
cylinder = { version = "0.3.1", features = ["stable", "experimental", "hash", "jwt", "pem", "key-load"] }
default stable?

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

stable experimental? = default, jwt, key-load, pem
experimental = hash, stable
hash experimental?

Affects cylinder::hash

jwt stable? = base64, json

Affects cylinder::jwt

pem stable? = openssl

Add support for loading PEM encoded private keys

Affects secp256k1::pem

key-load stable? = dirs, log, whoami

Affects error::KeyLoadError

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.

base64 jwt?

Enables base64 ^0.20

dirs key-load?
json jwt?
log key-load?
openssl pem?
whoami key-load?