Cargo Features
[dependencies]
embedded-tls = { version = "0.17.0", default-features = false, features = ["std", "alloc", "defmt", "tokio", "webpki", "log"] }
- default = log, std, tokio
-
These default features are set whenever
embedded-tls
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of embedded-io and embedded-io-async
- alloc
- defmt
-
Enables defmt and defmt-03 of embedded-io and heapless
heapless:
Implement defmt::Format from defmt v0.3
- tokio default
-
Enables tokio-1 of embedded-io-adapters
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.
- embedded-io-adapters tokio
- webpki implicit feature
-
Enables rustls-webpki ^0.101.7
rustls-webpki:
Web PKI X.509 Certificate Verification
Affects
embedded-tls::webpki
… - log default
-
Enables log
Logging alternatives