Cargo Features
[dependencies]
witty-jsonrpc = { version = "0.1.3", default-features = false, features = ["with_actix", "http", "tcp", "ws"] }
- default = http, tcp, ws
-
These default features are set whenever
witty-jsonrpc
is added without
somewhere in the dependency tree.default-features = false - with_actix = actix
-
Affects
server::ActixServer
… - http default = jsonrpc-http-server
-
Affects
transports::http
… - tcp default = jsonrpc-tcp-server
-
Affects
transports::tcp
… - ws default = jsonrpc-ws-server
-
Affects
transports::ws
…
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.