Cargo Features
[dependencies]
open-rpc = { version = "0.1.0", default-features = false, features = ["std", "relaxed"] }
- default = relaxed, std
-
These default features are set whenever
open-rpc
is added without
somewhere in the dependency tree.default-features = false - std default
-
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. - relaxed default
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.
- serde_json std
-
Affects
open-rpc::Error.data
…