Cargo Features
[dependencies]
rgb-std = { version = "0.12.0-beta.6", default-features = false, features = ["std", "all", "bitcoin", "liquid", "prime", "uri", "fs", "stl", "serde", "rand"] }
- default = bitcoin, std
-
These default features are set whenever
rgb-std
is added without
somewhere in the dependency tree.default-features = false - std default all? fs? serde?
-
Enables std of indexmap and rgb-invoice
- all = bitcoin, fs, liquid, prime, serde, std, stl
- bitcoin default all? stl? = bp-core, bp-invoice
-
Enables bitcoin of rgb-core and rgb-invoice
Affects
popls::bp
… - liquid all?
-
Enables liquid of rgb-core and rgb-invoice
Affects
popls::bp
… - prime all?
-
Enables prime of rgb-core and rgb-invoice
Affects
popls::prime
… - uri
-
Enables uri of rgb-invoice
- fs all? = std
-
Enables file-strict of aora, persist-file of hypersonic
Affects
pile::fs
,stockpile::dir
… - stl all? = bitcoin
-
Enables armor of strict_types, stl of bp-core, commit_verify, and hypersonic
Affects
rgb-std::stl
…Required by the rgb-stl binary
- serde all? = std
-
Enables serde and serde_with ^1.14.0, serde of strict_encoding and strict_types, serde of amplify, bp-core, chrono, commit_verify, hypersonic, rgb-core, and rgb-invoice
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.
- bp-core bitcoin serde? stl?
- bp-invoice bitcoin
- rand wasm32 implicit feature
-
Enables rand ^0.8.4
rand:
Random number generators and other randomness functionality