Cargo Features
[dependencies]
rgb-std = { version = "0.12.0-beta.5", default-features = false, features = ["std", "all", "bitcoin", "liquid", "prime", "uri", "fs", "serde", "stl", "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 rgb-invoice
- all = bitcoin, fs, liquid, prime, serde, std
- bitcoin default all? = 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 persist-file of hypersonic
Affects
mound::file
,pile::fs
,bp::file
… - 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
- stl
-
Enables stl of bp-core and commit_verify
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