Cargo Features

rgb-core has no features set by default.

[dependencies]
rgb-core = { version = "0.11.0-beta.4", features = ["all", "stl", "serde", "rand"] }
all = serde, stl
stl all?

Enables stl of aluvm, bp-core, and commit_verify

Affects rgb-core::stl

Required by the rgbcore-stl binary

serde all? = serde_crate

Enables serde of aluvm, amplify ~4.5.0, bp-core, commit_verify, secp256k1-zkp ^0.9.2, strict_encoding, and strict_types

secp256k1-zkp:

TODO: Update version before the release

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_crate serde?

Enables serde

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality