Cargo Features

[dependencies]
zrpc = { version = "0.7.0-alpha.1", default-features = false, features = ["auth_pubkey", "auth_usrpwd", "complete_n", "shared-memory", "stats", "transport_quic", "transport_tcp", "transport_tls", "transport_udp", "transport_unixsock-stream", "transport_ws", "query_payload", "resp_bincode", "send_bincode", "send_json", "resp_json", "resp_cbor", "send_cbor", "state_bincode", "state_json", "state_cbor", "router_json", "serde_yaml"] }
auth_pubkey

zenoh feature re-exports

Enables auth_pubkey of zenoh ^0.7.2-rc

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 default-features = false somewhere in the dependency tree.

auth_usrpwd

Enables auth_usrpwd of zenoh ^0.7.2-rc

complete_n

Enables complete_n of zenoh ^0.7.2-rc

shared-memory

Enables shared-memory of zenoh ^0.7.2-rc

stats

Enables stats of zenoh ^0.7.2-rc

transport_quic

Enables transport_quic of zenoh ^0.7.2-rc

transport_tcp default

Enables transport_tcp of zenoh ^0.7.2-rc

transport_tls

Enables transport_tls of zenoh ^0.7.2-rc

transport_udp default

Enables transport_udp of zenoh ^0.7.2-rc

transport_unixsock-stream

Enables transport_unixsock-stream of zenoh ^0.7.2-rc

transport_ws

Enables transport_ws of zenoh ^0.7.2-rc

query_payload default

Enables unstable of zenoh ^0.7.2-rc

resp_bincode = bincode

Affects serialize::serialize_response

send_bincode = bincode

Affects serialize::serialize_request

send_json default = serde_json

Affects serialize::serialize_request

resp_json default = serde_json

Affects serialize::serialize_response

resp_cbor = serde_cbor

Affects serialize::serialize_response

send_cbor = serde_cbor

Affects serialize::serialize_request

state_bincode = bincode

Affects serialize::serialize_state

state_json default = serde_json

Affects serialize::serialize_state

state_cbor = serde_cbor

Affects serialize::serialize_state

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