Cargo Features

[dependencies]
zenoh-codec = { version = "0.11.0-rc.2", default-features = false, features = ["std", "shared-memory", "complete_n"] }
default = std

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

std default shared-memory? = tracing

Enables std of serde, uhlc, and zenoh-protocol

serde:

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

shared-memory = std, zenoh-shm

Enables shared-memory of zenoh-protocol

Affects zenoh-codec::Zenoh080Sliced

complete_n

Enables complete_n of zenoh-protocol

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.

tracing std
zenoh-shm shared-memory?