21 releases (6 breaking)

0.7.0 May 1, 2024
0.6.1 Mar 12, 2024
0.6.0 Feb 15, 2024
0.3.3 Dec 20, 2023
0.1.20 Feb 1, 2022

#1165 in Magic Beans

Download history 1527/week @ 2024-01-24 2572/week @ 2024-01-31 869/week @ 2024-02-07 1341/week @ 2024-02-14 1266/week @ 2024-02-21 1275/week @ 2024-02-28 2876/week @ 2024-03-06 1504/week @ 2024-03-13 1114/week @ 2024-03-20 456/week @ 2024-03-27 2568/week @ 2024-04-03 1564/week @ 2024-04-10 3627/week @ 2024-04-17 2630/week @ 2024-04-24 1420/week @ 2024-05-01 2130/week @ 2024-05-08

10,651 downloads per month
Used in 13 crates (11 directly)

Apache-2.0

725KB
8K SLoC

Rust implementation of clvm.

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.

TESTS

In order to run the unit tests, run:

cargo test

Fuzzing

The fuzzing infrastructure for clvm_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 clvm_rs please see the Bug Bounty program.

Dependencies

~11MB
~300K SLoC