Cargo Features
[dependencies]
sube = { version = "0.5.0", default-features = false, features = ["std", "bin", "decode", "http", "http-web", "json", "v12", "v13", "v14", "ws", "wss"] }
- default = decode, json, std, v14, ws
-
These default features are set whenever
sube
is added without
somewhere in the dependency tree.default-features = false - std default bin?
- bin = anyhow, decode, http, serde, serde_json, std, stderrlog, structopt, url, v14, wss
-
Enables attributes of async-std
Required by the binary
- decode default bin? = serde, v14
-
Enables codec of scale-serialization ^0.7.4
- http bin? = jsonrpc
-
Enables h1-client-rustls of surf
http backend
Affects
sube::http
… - http-web = jsonrpc
-
Enables wasm-client of surf
Affects
sube::http
… - json default = v14
-
Enables json of scale-serialization ^0.7.4
- v12
-
Enables v12 of frame-metadata ^14.0.0
- v13
-
Enables v13 of frame-metadata ^14.0.0
- v14 default bin? decode json = scale-info, scales
-
Enables v14 of frame-metadata ^14.0.0
Affects
meta_ext::Registry
… - ws default wss? = async-mutex, async-std, async-tungstenite, futures-channel, futures-util, jsonrpc
-
Affects
sube::ws
… - wss bin? = async-tls, ws
-
Enables async-tls of async-tungstenite ^0.15.0
ws backend
Affects
ws::WS2
…
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.
- scale-info v14
-
Enables scale-info ^1.0.0
- jsonrpc http? http-web? ws
-
Enables jsonrpc ^0.12.0
- scales decode json v14
-
Enables scale-serialization ^0.7.4
- surf http? http-web?
- async-tungstenite ws wss?
-
Enables async-tungstenite ^0.15.0
- futures-channel ws
- futures-util ws
- async-mutex ws
- async-tls wss?
-
Enables async-tls ^0.11.0
- anyhow bin?
-
Enables anyhow
bin target
- async-std bin? ws
- serde_json bin?
- stderrlog bin?
-
Enables stderrlog ^0.5.1
- structopt bin?
- url bin?
- serde bin? decode