Cargo Features
[dependencies]
dcl-rpc = { version = "2.3.5", default-features = false, features = ["codegen", "memory", "websockets", "client", "server", "tungstenite", "warp"] }
- default = codegen, memory, server, websockets
-
These default features are set whenever
dcl-rpc
is added without
somewhere in the dependency tree.default-features = false - codegen default
-
Enables proc-macro2, prost-build ^0.11.5, and quote
Affects
dcl-rpc::codegen
… - memory default
-
Affects
transports::memory
… - websockets default
-
Affects
transports::web_sockets
… - client
-
Affects
dcl-rpc::client
,messages_handlers::ClientMessagesHandler
… - server default
-
Affects
dcl-rpc::server
,dcl-rpc::service_module_definition
,messages_handlers::ServerMessagesHandler
… - tungstenite
-
Enables tokio-tungstenite ^0.18.0
Affects
web_sockets::tungstenite
… - warp
-
Enables tokio-tungstenite ^0.18.0 and warp
Affects
web_sockets::warp
…