Cargo Features
[dependencies]
rgb-std = { version = "0.12.0-beta.4", default-features = false, features = ["std", "all", "bitcoin", "liquid", "prime", "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?
- all = bitcoin, fs, liquid, prime, serde, std
- bitcoin default all? = bp-core
-
Affects
bp::file.DirBcOpretMound
,bp::file.DirBcTapretMound
,bp::DirMound.bc_opret
,bp::DirMound.bc_tapret
,bp::file.DirBcOpretBarrow
,bp::file.DirBcTapretBarrow
,popls::bp
… - liquid all?
-
Affects
bp::file.DirLqOpretMound
,bp::file.DirLqTapretMound
,bp::DirMound.lq_opret
,bp::DirMound.lq_tapret
,bp::file.DirLqOpretBarrow
,bp::file.DirLqTapretBarrow
,popls::bp
… - prime all?
-
Affects
popls::prime
… - fs all? = std
-
Enables persist-file of hypersonic
Affects
mound::file
,pile::fs
,bp::file
… - serde all? = std
-
Enables serde, serde of strict_encoding and strict_types, serde of amplify, bp-core, chrono, commit_verify, and rgb-core
- 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.