Cargo Features
[dependencies]
rustls-pki-types = { version = "1.14.0", default-features = false, features = ["std", "alloc", "web"] }
- default = alloc
-
The
allocfeature is set by default wheneverrustls-pki-typesis added withoutsomewhere in the dependency tree.default-features = false - std = alloc
-
Affects
pem::PemObject.from_pem_file,pem::PemObject.pem_file_iter,pem::PemObject.from_pem_reader,pem::PemObject.pem_reader_iter,pem::ReadIter,pem::from_buf… - alloc default std?
-
Enables zeroize
Affects
rustls-pki-types::pem… - web = web-time
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.