Cargo Features

[dependencies]
zenoh = { version = "1.0.0-alpha.5", default-features = false, features = ["auth_pubkey", "auth_usrpwd", "internal", "plugins", "shared-memory", "stats", "transport_multilink", "transport_compression", "transport_quic", "transport_serial", "transport_unixpipe", "transport_tcp", "transport_tls", "transport_udp", "transport_unixsock-stream", "transport_ws", "transport_vsock", "unstable"] }
default = auth_pubkey, auth_usrpwd, transport_compression, transport_multilink, transport_quic, transport_tcp, transport_tls, transport_udp, transport_unixsock-stream, transport_ws

These default features are set whenever zenoh is added without default-features = false somewhere in the dependency tree.

auth_pubkey default

Enables auth_pubkey of zenoh-transport

auth_usrpwd default

Enables auth_usrpwd of zenoh-transport

internal

Enables internal of zenoh-config and zenoh-keyexpr

plugins

Affects zenoh::internal.plugins

shared-memory = zenoh-shm

Enables shared-memory of zenoh-buffers, zenoh-protocol, and zenoh-transport

Affects zenoh::shm

stats

Enables stats of zenoh-protocol and zenoh-transport

Enables transport_multilink of zenoh-transport

transport_compression default

Enables transport_compression of zenoh-transport

transport_quic default

Enables transport_quic of zenoh-transport

transport_serial

Enables transport_serial of zenoh-transport

transport_unixpipe

Enables transport_unixpipe of zenoh-transport

transport_tcp default

Enables transport_tcp of zenoh-transport

transport_tls default

Enables transport_tls of zenoh-transport

transport_udp default

Enables transport_udp of zenoh-transport

transport_unixsock-stream default

Enables transport_unixsock-stream of zenoh-transport

transport_ws default

Enables transport_ws of zenoh-transport

transport_vsock

Enables transport_vsock of zenoh-transport

unstable

Enables unstable of zenoh-keyexpr

Affects sample::SampleFields.source_info, subscriber::SubscriberBuilder.session, subscriber::SubscriberBuilder.key_expr, subscriber::SubscriberBuilder.reliability, subscriber::SubscriberBuilder.origin, subscriber::SubscriberBuilder.handler

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.

zenoh-shm shared-memory?