Cargo Features

[dependencies]
rustls-pki-types = { version = "1.10.1", default-features = false, features = ["std", "alloc", "web"] }
default = alloc

The alloc feature is set by default whenever rustls-pki-types is added without default-features = false somewhere in the dependency tree.

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.

web-time wasm unknown web?