Cargo Features

[dependencies]
yubirs = { version = "0.9.4", default-features = false, features = ["otp", "piv"] }
default = otp, piv

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

otp default = chrono, curl, regex

Enables cli of bdrck

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.

backtrace piv
bincode piv

Enables bincode ^1.3

chrono otp
curl otp
libc piv
log piv
pcsc-sys piv
regex otp
rmp-serde piv
bdrck otp piv