Cargo Features

[dependencies]
rmodbus = { version = "0.9.9", default-features = false, features = ["std", "with_serde", "with_bincode", "alloc", "defmt", "fixedvec", "heapless"] }
default = std

The std feature is set by default whenever rmodbus is added without default-features = false somewhere in the dependency tree.

std default
with_serde = serde, serde_arrays
with_bincode = bincode
alloc

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

defmt

Enables defmt

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.

fixedvec implicit feature

Enables fixedvec

fixedvec:

A heapless version of the Rust vector type

heapless implicit feature

Enables heapless

heapless:

static friendly data structures that don't require dynamic memory allocation

serde with_serde?
serde_arrays with_serde?
bincode with_bincode?