Cargo Features
[dependencies]
krill = { version = "0.14.5", default-features = false, features = ["hsm", "multi-user", "static-openssl", "rta", "all", "hsm-tests-pkcs11", "cryptoki-sys"] }
- default = hsm, multi-user
-
These default features are set whenever
krill
is added without
somewhere in the dependency tree.default-features = false - hsm default hsm-tests-kmip? hsm-tests-pkcs11? = backoff, cryptoki, kmip, once_cell, r2d2
-
Affects
signers::kmip
,signers::pkcs11
,signers::probe
… - multi-user default all? = basic-cookies, openidconnect, oso, regex, rpassword, scrypt, unicode-normalization, urlparse
-
Enables jmespatch
Affects
options::KrillUserDetails
,constants::PW_HASH_LOG_N
,constants::PW_HASH_R
,constants::PW_HASH_P
,common::crypt
,common::session
,auth::policy
,providers::config_file
,providers::openid_connect
,config::Config.auth_policies
,config::Config.auth_private_attributes
,config::Config.auth_users
,config::Config.auth_openidconnect
,auth::url_encode
… - static-openssl all?
- rta all?
-
Preview features - not ready for production use
- all = multi-user, rta, static-openssl
-
Internal features - not for external use
- hsm-tests-kmip hsm-tests-pkcs11 = hsm
-
Affects
constants::DEFAULT_SIGNER_NAME
,constants::DEFAULT_SIGNER_NAME
…
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.
- backoff hsm
- cryptoki hsm
-
Enables cryptoki ^0.3
- cryptoki-sys implicit feature
-
Enables cryptoki-sys =0.1.4
pin cryptoki-sys because of compilation issues on various systems
- jmespatch multi-user
- kmip hsm
-
Enables kmip-protocol
- once_cell hsm
- openidconnect multi-user
-
Enables openidconnect ^2.0.0
- oso multi-user
-
Enables oso ^0.12
- r2d2 hsm
- regex multi-user
- rpassword multi-user
-
Enables rpassword ^5.0
- scrypt multi-user
-
Enables scrypt ^0.6
- unicode-normalization multi-user
- urlparse multi-user