Cargo Features
[dependencies]
profirust = { version = "0.5.1", default-features = false, features = ["std", "alloc", "phy-linux", "phy-serial", "phy-simulator", "phy-rp2040", "debug-measure-dp-cycle"] }
- default = phy-serial, 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-serial phy-simulator
- alloc
- phy-linux = libc, rs485, std
- phy-serial default = serialport, serialport_low_latency, std
- phy-simulator default = std
-
Affects
phy::simulator
… - phy-rp2040 = cortex-m, embedded-hal, fugit, nb, rp2040-hal
- debug-measure-roundtrip debug-measure-dp-cycle
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.