Cargo Features

[dependencies]
clia-rustls-mod = { version = "0.23.4", default-features = false, features = ["std", "logging", "aws_lc_rs", "aws-lc-rs", "ring", "tls12", "read_buf", "fips"] }
default = logging, ring, std, tls12

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

std default read_buf?

Enables std of once_cell, rustls-pki-types, and rustls-webpki

once_cell:

remove once our MSRV is >= 1.70

Affects clia-rustls-mod::ticketer, time_provider::DefaultTimeProvider

logging default = log
aws_lc_rs aws-lc-rs? fips?

Enables aws-lc-rs, aws_lc_rs of rustls-webpki

Affects crypto::aws_lc_rs

aws-lc-rs = aws_lc_rs

Alias because Cargo features commonly use -

ring default

Enables ring, ring of rustls-webpki

Affects crypto::ring

tls12 default

Affects client_conn::ClientConfig.require_ems, crypto::tls12, server_conn::ServerConfig.require_ems, versions::TLS12

read_buf = rustversion, std
fips = aws_lc_rs

Enables fips of optional aws-lc-rs

aws-lc-rs:

require FIPS

Affects crypto::default_fips_provider

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.

log logging
rustversion build read_buf?