Cargo Features
[dependencies]
sml-rs = { version = "0.4.0", default-features = false, features = ["std", "alloc", "embedded_hal"] }
- default = std
-
The
std
feature is set by default wheneversml-rs
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
util::IoReader
… - alloc std
-
Affects
complete::MessageBody
,parser::complete
,transport::decode
,util::VecBuf
… - embedded_hal = embedded-hal, nb
-
Affects
util::EhReader
…
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.