Cargo Features

[dependencies]
zenoh = { version = "1.1.0", default-features = false, features = ["auth_pubkey", "auth_usrpwd", "internal", "plugins", "runtime_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", "internal_config"] }
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

Affects admin::KE_AT, admin::KE_ADV_PREFIX, admin::KE_PUB, admin::KE_SUB, admin::KE_EMPTY, admin::KE_STAR, admin::KE_STARSTAR, publisher::PublisherBuilder.session, publisher::PublisherBuilder.key_expr, publisher::PublisherBuilder.encoding, publisher::PublisherBuilder.congestion_control, publisher::PublisherBuilder.priority, publisher::PublisherBuilder.is_express, publisher::PublisherBuilder.destination, subscriber::SubscriberBuilder.session, subscriber::SubscriberBuilder.key_expr, subscriber::SubscriberBuilder.origin, subscriber::SubscriberBuilder.handler, close::BackgroundCloseBuilder, publisher::PublisherBuilder.reliability

plugins runtime_plugins?

Affects zenoh::internal.plugins

runtime_plugins = 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-config and 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 = internal_config

Enables unstable of zenoh-config and zenoh-keyexpr

Affects sample::SampleFields.reliability, sample::SampleFields.source_info, close::BackgroundCloseBuilder, publisher::PublisherBuilder.reliability

internal_config unstable?

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?