Cargo Features

[dependencies]
bluetooth_mesh = { version = "0.1.4", default-features = false, features = ["std", "full_stack", "serde-1"] }
default = full_stack

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

std full_stack

Enables std of serde

serde:

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

Affects stack::segments

full_stack default = futures-core, futures-util, std, tokio
serde-1 = serde

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.

tokio full_stack

Enables tokio ^0.2.11

futures-core full_stack
futures-util full_stack
serde serde-1? std?