Cargo Features

yubikey-signer has no features set by default.

[dependencies]
yubikey-signer = { version = "0.3.4", features = ["vendored-openssl", "static-openssl", "network-tests", "hardware-tests", "integration-tests"] }
default

Default feature

vendored-openssl

Use vendored OpenSSL (for Linux/macOS CI where no system OpenSSL should be used)

Enables vendored of openssl and openssl-sys

openssl:

OpenSSL for PKCS#7 Authenticode support (required)
Windows: Automatically uses vcpkg OpenSSL (preferred)
Linux/macOS: Uses system OpenSSL or vendored if enabled

static-openssl

Force static linking on Windows (for release binaries without DLL dependencies)

network-tests integration-tests?

Optional test feature to enable network-related tests

hardware-tests integration-tests?

Optional test feature to enable hardware-related tests (requires YubiKey)

integration-tests = hardware-tests, network-tests

Combined feature for comprehensive testing (hardware + network)