Cargo Features
rgb-core has no features set by default.
[dependencies]
rgb-core = { version = "0.11.0-beta.5", 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, bp-core, commit_verify, secp256k1-zkp, 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. These features may have been created by mistake, and this functionality may be removed in the future.
- serde_crate serde?
-
Enables serde
- rand wasm32 implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality