Skip to main content

Rust implementation of klvm.

GitHub Coverage Status Build Crate Build Wheels

PyPI Crates.io

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 klvm_rs uses cargo-fuzz.

Documentation for setting up fuzzing in rust can be found here.

To get started, run:

cargo fuzz run 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.

Build Wheel

The klvm_rs wheel has python bindings for the rust implementation of klvm.

Use maturin to build the python interface. First, install into current virtualenv with

$ pip install maturin

While in the wheel directory, build klvm_rs into the current virtualenv with

$ maturin develop --release

On UNIX-based platforms, you may get a speed boost on sha256 operations by building with OpenSSL.

$ maturin develop --release --features=openssl

To build the wheel, do

$ maturin build --release

or

$ maturin build --release --features=openssl

Bumping Version Number

Make sure you have cargo-workspaces installed:

cargo install cargo-workspaces

To bump the versions of all relevant crates:

cargo ws version --force "**" --all --no-git-commit

Select "minor update" if there has not been any incompatible API changes, otherwise "major update".

Metadata

Release files for klvm-rs 0.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for klvm-rs 0.19.0
File Size Uploaded
klvm_rs-0.19.0.tar.gz 1.4 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for klvm-rs 0.19.0
File
klvm_rs-0.19.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details
klvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl CPython 3.10 abi3 macOS 15.0+ x86-64 Details
klvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl CPython 3.10 abi3 macOS 15.0+ ARM64 Details

Total release size: 9.5 MB

Release files / klvm_rs-0.19.0.tar.gz

Download URL klvm_rs-0.19.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0804bfe01f6b3b09308f2d0602cefefa1f4da53f54088ce7adbb444dca36c970
BLAKE2b-256 checksum
How to use checksums
792f9cb40d121272802e14e5a562e63bdfed3fd25998594f88eea9596b0a42e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / klvm_rs-0.19.0-cp310-abi3-win_amd64.whl

Download URL klvm_rs-0.19.0-cp310-abi3-win_amd64.whl
Size 1.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
df69bb2255dda95e914e86306b6ecf729747e0c3cb301c1ad5bb01ef545275ea
BLAKE2b-256 checksum
How to use checksums
0b1e84a86bdd0924a14f447f4d4d15db96cf3ff95ce3c1aec61b635b9b1b0003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
1e09f23800bfd846a5cfcb8b9183712ef7e8dcbe5d2802a3f1c81a84596623df
BLAKE2b-256 checksum
How to use checksums
e74ae6bcc9e0be1892a408bca8f9568d5694dc26f678c0cc3031cbf54c21a473
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
10442ca7eb67b842bce10cbc21143bb75460fd5c265e537fe225f01c334a8470
BLAKE2b-256 checksum
How to use checksums
a9e1a5404e9cc50c3e92bceab617937ca4049f3358d25cb357029442002ba94d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / klvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl

Download URL klvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 abi3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
3d760db5c2ef7abe4e2b59b871f8da5126f223b094c3f76a5c7cc6363541e258
BLAKE2b-256 checksum
How to use checksums
b57e4194aec0e1ae8f91e01fa2594a91b6321e2e67e66310e69d0f39137e8ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / klvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl

Download URL klvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl
Size 935.3 kB
Tags CPython 3.10 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
a01d7e1b0324282c2bb80d0c0c2e1e917b4b528372f0c7c18c2a1337786708da
BLAKE2b-256 checksum
How to use checksums
13157b11e7aa9ca617081bd8dca39a35388d5e08f0a3c8bb3f607102902a82d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.19.0 This release

6 release files

0.18.0

6 release files

0.17.7

6 release files

0.17.6

6 release files

0.17.5

6 release files

0.17.4

6 release files

0.17.3

6 release files

0.17.2

6 release files

0.17.1

6 release files

0.17.0

6 release files

0.16.5

6 release files

0.16.4

6 release files

0.16.3

6 release files

0.16.2

6 release files

0.14.0

6 release files

0.13.1

6 release files

0.12.1

6 release files

0.8.0

6 release files

0.7.0

5 release files

0.6.1

5 release files

0.6.0

5 release files

0.3.2

5 release files

0.3.0

5 release files

0.2.8

4 release files

0.2.5

5 release files

0.1.24

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page