Cargo Features
[dependencies]
rgb-core = { version = "0.12.0-beta.3", default-features = false, features = ["all", "bp", "stl", "serde", "rand"] }
- default = bp
-
The
bp
feature is set by default wheneverrgb-core
is added without
somewhere in the dependency tree.default-features = false - all = bp, serde
- bp default all? stl? = bp-core
- stl = bp, strict_types
-
Enables stl of bp-core and commit_verify
Affects
rgb-core::stl
… - serde all?
-
Enables serde, serde of amplify, serde of ultrasonic
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.
- strict_types stl?
- commit_verify stl?
- bp-core bp stl?
- rand wasm32 implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality