Cargo Features
[dependencies]
opensc-sys = { version = "0.1.1", default-features = false, features = ["enable_sm", "enable_openssl"] }
- default = enable_openssl, enable_sm
-
These default features are set whenever
opensc-sys
is added without
somewhere in the dependency tree.default-features = false - enable_sm default = enable_openssl
-
define the ENABLE_SM flag in the c headers. This makes secure messaging functions available.
- enable_openssl default enable_sm
-
define the ENABLE_OPENSSL flag in the c headers. OpenSSL must be present on the system.