Cargo Features
[dependencies]
craftls = { version = "0.0.2+rustls.0.22.0", default-features = false, features = ["logging", "aws_lc_rs", "ring", "tls12", "read_buf"] }
- default = logging, ring, tls12
-
These default features are set whenever
craftls
is added without
somewhere in the dependency tree.default-features = false - logging default = log
- aws_lc_rs
-
Enables aws-lc-rs, aws_lc_rs of rustls-webpki
Affects
crypto::aws_lc_rs
… - ring default
-
Enables ring, ring of rustls-webpki
Affects
crypto::ring
… - tls12 default
-
Affects
versions::TLS12
… - read_buf = rustversion
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?