Cargo Features

[dependencies]
mqttrs = { version = "0.4.1", default-features = false, features = ["derive", "std"] }
default = std

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

derive = serde

Implements serde::{Serialize,Deserialize} on mqttrs::Pid.

std default = bytes

Enables std of bytes and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

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.

bytes std
serde derive? std