Cargo Features

[dependencies]
profirust = { version = "0.2.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 default-features = false somewhere in the dependency tree.

std default phy-linux phy-simulator

Enables std of managed

alloc

Enables alloc of managed

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.

cortex-m phy-rp2040?
embedded-hal phy-rp2040?

Enables embedded-hal ^0.2.7

fugit phy-rp2040?
libc phy-linux
nb phy-rp2040?
rp2040-hal phy-rp2040?

Enables rp2040-hal ^0.9.0

rs485 phy-linux