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 default-features = false somewhere in the dependency tree.

std default all? fs? serde?
all = bitcoin, fs, liquid, prime, serde, std
bitcoin default all? = bp-core

Enables bitcoin of rgb-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?

Enables liquid of rgb-core

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?

Enables prime of rgb-core

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.

bp-core bitcoin serde? stl?
rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality