Cargo Features
[dependencies]
jsonrpc-reactor = { version = "0.1.2", default-features = false, features = ["std", "reactor"] }
- default = reactor, std
-
These default features are set whenever
jsonrpc-reactor
is added without
somewhere in the dependency tree.default-features = false Enables serde and serde_json
- std default reactor
-
Enables std of serde and serde_json
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - reactor default = std, tokio
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.