Cargo Features

zenoh-codec = { version = "1.0.0-alpha.2", default-features = false, features = ["std", "shared-memory"] }
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


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-buffers and zenoh-protocol

Affects zenoh-codec::Zenoh080Sliced

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?