Cargo Features
[dependencies]
zrpc = { version = "0.8.5", default-features = false, features = ["auth_pubkey", "auth_usrpwd", "shared-memory", "stats", "transport_quic", "transport_tcp", "transport_tls", "transport_udp", "transport_unixsock-stream", "transport_ws", "query_payload", "resp_bincode", "send_bincode", "resp_json", "send_json", "resp_cbor", "send_cbor", "state_bincode", "state_cbor", "router_json", "serde_yaml"] }
- auth_pubkey
-
zenoh feature re-exports
Enables auth_pubkey of zenoh
- default = query_payload, resp_json, router_json, send_json, state_json, transport_tcp, transport_udp
-
These default features are set whenever
zrpc
is added without
somewhere in the dependency tree.default-features = false - auth_usrpwd
-
Enables auth_usrpwd of zenoh
-
Enables shared-memory of zenoh
- stats
- transport_quic
-
Enables transport_quic of zenoh
- transport_tcp default
-
Enables transport_tcp of zenoh
- transport_tls
-
Enables transport_tls of zenoh
- transport_udp default
-
Enables transport_udp of zenoh
- transport_unixsock-stream
-
Enables transport_unixsock-stream of zenoh
- transport_ws
-
Enables transport_ws of zenoh
- query_payload default
- resp_bincode = bincode
-
Affects
serialize::serialize
… - send_bincode = bincode
- resp_json default = serde_json
-
Affects
serialize::serialize
… - send_json default = serde_json
- resp_cbor = serde_cbor
-
Affects
serialize::serialize
… - send_cbor = serde_cbor
- state_bincode = bincode
- state_cbor = serde_cbor
- state_json router_json default = serde_json
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.
- bincode resp_bincode? send_bincode? state_bincode?
- serde_cbor resp_cbor? send_cbor? state_cbor?
- serde_json resp_json router_json send_json state_json
- serde_yaml implicit feature
-
Enables serde_yaml
serde_yaml:
YAML data format for Serde