Cargo Features
[dependencies]
bme280 = { version = "0.5.1", default-features = false, features = ["with_defmt", "with_std", "sync", "async", "serde"] }
- default = sync
-
The
sync
feature is set by default wheneverbme280
is added without
somewhere in the dependency tree.default-features = false - with_defmt = defmt
- with_std = derive_more
- sync default
- async = embedded-hal-async
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- defmt with_defmt?
- derive_more with_std?
-
Enables derive_more ^0.99.17
- embedded-hal-async async?