Cargo Features
AluVM has no features set by default.
[dependencies]
aluvm = { version = "0.12.0-beta.1", features = ["all", "std", "alloc", "armor", "stl", "log", "serde", "zk-aluvm", "A64", "A128", "GFA", "STR", "rand"] }
- all = armor, log, serde, std, stl, zk-aluvm
-
all
must exclude specific ISA, which may be in a conflict with each other The consumer of the library is expected to add required ISA manually - std all?
- alloc
- armor all? stl?
-
Enables ascii-armor, armor of strict_types
Affects
library::armor
… - stl all? = GFA, armor, strict_types
-
Affects
aluvm::stl
…Required by the aluvm-stl binary
- log all?
- serde all?
-
Enables serde, serde of amplify, serde of strict_encoding
- zk-aluvm all? = GFA
-
Instruction set architecture extensions
Feature ensuring zk-AluVM configuration excluding all zk-incompatible features - A64 A128?
- A128 = A64
- GFA stl? zk-aluvm?
-
A256 = ["A128"]
A512 = ["A512"]
A1024 = ["A1024"]Affects
core::CoreConfig.field_order
,microcode::gfa
… - STR
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.
- strict_types armor? stl?
- rand wasm32 implicit feature
-
Enables rand
rand:
Random number generators and other randomness functionality