Cargo Features
[dependencies]
bp_rpc = { version = "0.8.0-alpha.2", default-features = false, features = ["all", "serde"] }
- default = serde
-
The
serde
feature is set by default wheneverbp_rpc
is added without
somewhere in the dependency tree.default-features = false - all = serde
- serde default all? = serde_crate, serde_with, serde_yaml
-
Enables serde of amplify ^3.13.0, internet2 ^0.8.3, and microservices ^0.8.10
internet2:
Exposing core rust componens
----------------------------
These also include re-assembly of necessary features from dependencies
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_crate serde
-
Enables serde
- serde_with serde
-
Enables serde_with ^1.8
- serde_yaml serde
-
Enables serde_yaml ^0.8.23