Cargo Features
xy-rpc has no features set by default.
[dependencies]
xy-rpc = { version = "0.2.0", features = ["rt_tokio_without_send_sync", "rt_tokio", "rt_compio", "axum", "format_json", "format_message_pack", "duplex", "send_sync"] }
- rt_tokio_without_send_sync duplex? rt_tokio?
-
Enables tokio and tokio-util
Affects
xy-rpc::tokio
… - rt_tokio = rt_tokio_without_send_sync, send_sync
- rt_compio
-
Enables compio
Affects
xy-rpc::compio
… - axum = dashmap
-
Enables axum
- format_json
-
Enables serde_json
Affects
formats::JsonFormat
… - format_message_pack
-
Enables rmp-serde
Affects
formats::MessagePackFormat
… - duplex = rt_tokio_without_send_sync
-
Affects
xy-rpc::duplex
,tokio::serve_duplex_tokio
… - send_sync rt_tokio?
-
Affects
maybe_send::BoxedFutureMaybeLocal
,maybe_send::BoxedStreamMaybeLocal
…
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.