Rust implementation of klvm.
The cargo workspace includes an rlib crate, for use with rust or other applications, and a python wheel.
The python wheel is in wheel
. The npm package is in wasm
.
In order to run the unit tests, run:
cargo test
The fuzzing infrastructure for klvm_rs
uses cargo-fuzz.
Documentation for setting up fuzzing in rust can be found here.
To generate an initial corpus (for the run_program
fuzzer), run:
cd tools
cargo run generate-fuzz-corpus
To get started, run:
cargo fuzz run fuzz_run_program --jobs=32 -- -rss_limit_mb=4096
But with whatever number of jobs works best for you.
If you find issues in klvm_rs
please use our bug bounty program.