Cargo Features

[dependencies]
solo2 = { version = "0.2.2", default-features = false, features = ["cli", "dev-pki", "network-tests"] }
default = cli

The cli feature is set by default whenever solo2 is added without default-features = false somewhere in the dependency tree.

cli default = atty, clap, clap-verbosity-flag, clap_complete, ctrlc, lazy_static, pretty_env_logger
dev-pki = p256, pkcs8, rand_core, rcgen, yasna

Affects pki::dev

network-tests

It's not allowed to use the network when building for docs.rs, and the same for most corporate networks. The tests behind this flag do things like downloading certificates from Solo 2 PKI public data.

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.

atty cli

Enables atty

cli

clap cli
clap_complete cli
clap-verbosity-flag cli

Enables clap-verbosity-flag ^2

ctrlc cli
lazy_static cli
pretty_env_logger cli

Enables pretty_env_logger ^0.4.0

p256 dev-pki?

Enables p256 ^0.12

dev-pki

pkcs8 dev-pki?

Enables pkcs8 ^0.9

rand_core dev-pki?
rcgen dev-pki?

Enables rcgen ^0.10

yasna dev-pki?