Cargo Features

[dependencies]
zenoh = { version = "0.11.0-rc.1", default-features = false, features = ["auth_pubkey", "auth_usrpwd", "complete_n", "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

complete_n

Enables complete_n of zenoh-codec

plugins

Affects zenoh::plugins

shared-memory = zenoh-shm

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

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

Affects zenoh::liveliness, sample::Sample.source_info, sample::Sample.attachment, subscriber::SubscriberBuilder.session, subscriber::SubscriberBuilder.key_expr, subscriber::SubscriberBuilder.reliability, subscriber::SubscriberBuilder.mode, subscriber::SubscriberBuilder.origin, subscriber::SubscriberBuilder.handler, zenoh::plugins

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?