Cargo Features

postcard-rpc has no features set by default.

[dependencies]
postcard-rpc = { version = "0.4.2", features = ["use-std", "cobs-serial", "raw-nusb", "test-utils", "defmt"] }
use-std raw-nusb? test-utils?

Enables maitake-sync, tokio and tracing, use-std of postcard

Affects headered::to_stdvec, headered::to_stdvec_keyed, postcard-rpc::host_client

cobs-serial

Enables tokio-serial, use_std of cobs

raw-nusb = use-std

Enables nusb

test-utils = use-std

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.

cobs cobs-serial?

Affects postcard-rpc::accumulator

defmt implicit feature