Cargo Features

rgb-core has no features set by default.

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

Enables stl of aluvm and commit_verify and armor of strict_types

TODO: Make strict types optional, used only in STL

Affects rgb-core::stl

Required by the rgbcore-stl binary

serde all?

Enables serde, serde of strict_types, serde of aluvm, amplify, and commit_verify

Features from optional dependencies

rand wasm32 implicit feature

Enables rand

rand:

Random number generators and other randomness functionality