Cargo Features
[dependencies]
yubirs = { version = "0.9.3", default-features = false, features = ["otp", "piv"] }
- default = otp, piv
-
These default features are set whenever
yubirs
is added without
somewhere in the dependency tree.default-features = false - otp default = chrono, curl, regex
-
Affects
yubirs::otp
… - piv default = backtrace, bincode, libc, log, pcsc-sys, rmp-serde
-
"testing" is only used by unit tests, but stable Rust doesn't support different dev-dependencies and dependencies features. This has been fixed in nightly: https://github.com/rust-lang/cargo/issues/1796
Enables cli, crypto, io and testing of bdrck
Affects
yubirs::piv
…
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.