Cargo Features
[dependencies]
rustls-pki-types = { version = "1.10.0", default-features = false, features = ["std", "alloc", "web"] }
- default = alloc
-
The
alloc
feature is set by default wheneverrustls-pki-types
is added without
somewhere 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?
-
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.