Cargo Features
[dependencies]
yubihsm = { version = "0.42.1", default-features = false, features = ["http-server", "http", "mockhsm", "passwords", "secp256k1", "setup", "untested", "usb"] }
- default = http, passwords, setup
-
These default features are set whenever
yubihsm
is added without
somewhere in the dependency tree.default-features = false - http-server = tiny_http
- http default
-
Affects
connector::http
… - mockhsm = ccm, digest, ed25519-dalek, secp256k1
-
Enables p256, arithmetic of ecdsa
- passwords default setup = hmac, pbkdf2, sha2
- secp256k1 mockhsm? = k256
-
Affects
ecdsa::secp256k1
… - setup default = passwords, serde_json
-
Affects
yubihsm::setup
… - untested = sha2
-
Affects
pss::MAX_MESSAGE_SIZE
… - usb = rusb
-
Affects
connector::usb
…
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.