Cargo Features

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

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

shared-memory = zenoh-shm

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

Affects zenoh-transport::TransportPeer.is_shm, manager::TransportManagerConfigMulticast.is_shm, manager::TransportManagerConfigUnicast.is_shm

auth_pubkey transport_multilink = rsa, transport_auth
auth_usrpwd = transport_auth
transport_auth auth_pubkey? auth_usrpwd?

Affects ext::auth

Affects manager::TransportManagerConfigUnicast.max_links

transport_quic

Enables transport_quic of zenoh-link

transport_tcp

Enables transport_tcp of zenoh-link

transport_tls

Enables transport_tls of zenoh-link

transport_udp

Enables transport_udp of zenoh-link

transport_unixsock-stream

Enables transport_unixsock-stream of zenoh-link

transport_ws

Enables transport_ws of zenoh-link

transport_serial

Enables transport_serial of zenoh-link

transport_compression

Affects batch::BatchConfig.is_compression, manager::TransportManagerConfigMulticast.is_compression, manager::TransportManagerConfigUnicast.is_compression

transport_unixpipe

Enables transport_unixpipe of zenoh-link

transport_vsock

Enables transport_vsock of zenoh-link

stats

Enables stats of zenoh-protocol

Affects batch::WBatchStats, batch::WBatch.stats, common::stats

unstable
test default

Affects unicast::test_helpers

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.

rsa auth_pubkey?
zenoh-shm shared-memory?