Cargo Features
[dependencies]
zenoh-transport = { version = "1.1.0", 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
somewhere in the dependency tree.default-features = false -
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
… - transport_multilink default = auth_pubkey
-
Affects
manager::TransportManagerConfigUnicast.max_links
… - transport_quic
-
Enables transport_quic of zenoh-link
- transport_tcp
-
Enables transport_tcp of zenoh-config and 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.