Cargo Features

[dependencies]
krill = { version = "0.14.4", default-features = false, features = ["hsm", "multi-user", "static-openssl", "rta", "all", "hsm-tests-pkcs11"] }
default = hsm, multi-user

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

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?

Enables vendored of openssl

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
basic-cookies multi-user
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

cryptoki hsm

Enables cryptoki ^0.3

r2d2 hsm
regex multi-user
rpassword multi-user

Enables rpassword ^5.0

scrypt multi-user

Enables scrypt ^0.6

rpki = { version = "0.17.3-dev", git = "https://github.com/nLnetLabs/rpki-rs", branch = "ring-0.17", features = [ "ca", "compat", "rrdp", ] }

unicode-normalization multi-user
urlparse multi-user