Cargo Features
[dependencies]
rgb-core = { version = "0.12.0-beta.4", default-features = false, features = ["all", "bitcoin", "liquid", "prime", "serde", "rand"] }
- default = bitcoin
-
The
bitcoin
feature is set by default wheneverrgb-core
is added without
somewhere in the dependency tree.default-features = false - all = bitcoin, liquid, prime, serde
- bitcoin default all? = bp-core
-
Affects
seals::BITCOIN_OPRET
,seals::BITCOIN_TAPRET
,seals::bitcoin
… - liquid all?
-
Affects
seals::LIQUID_OPRET
,seals::LIQUID_TAPRET
,seals::bitcoin
… - prime all?
-
Affects
seals::PRIME_SEALS
… - serde all?
-
Enables serde, serde of amplify and commit_verify, serde of single_use_seals and 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.