Cargo Features
[dependencies]
rgb-runtime = { version = "0.12.0-beta.5", default-features = false, features = ["std", "all", "fs", "log", "serde", "rand"] }
- default = std
-
The
std
feature is set by default wheneverrgb-runtime
is added without
somewhere in the dependency tree.default-features = false - std default all? fs?
- all = fs, log, serde, std
- fs all? = serde, std
-
Enables fs of bp-wallet and rgb-std
Affects
runtime::file
… - log all?
- serde all? fs? = serde_yaml
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_yaml serde?
- rand wasm32 implicit feature
-
Enables rand ^0.8.4
rand:
Random number generators and other randomness functionality