Cargo Features
[dependencies]
profirust = { version = "0.4.0", default-features = false, features = ["std", "alloc", "phy-linux", "phy-simulator", "phy-rp2040"] }
- default = phy-linux, phy-simulator, std
-
These default features are set whenever
profirust
is added without
somewhere in the dependency tree.default-features = false - std default phy-linux phy-simulator
- alloc
- phy-linux default = libc, rs485, std
- phy-simulator default = std
-
Affects
phy::simulator
… - phy-rp2040 = cortex-m, embedded-hal, fugit, nb, rp2040-hal
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.