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 generate an initial corpus (for the run_program fuzzer), run:

cd tools
cargo run generate-fuzz-corpus

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".

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

klvm_rs-0.17.4.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

klvm_rs-0.17.4-cp310-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

klvm_rs-0.17.4-cp310-abi3-macosx_15_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

klvm_rs-0.17.4-cp310-abi3-macosx_15_0_arm64.whl (843.8 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

Details for the file klvm_rs-0.17.4.tar.gz.

File metadata

  • Download URL: klvm_rs-0.17.4.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for klvm_rs-0.17.4.tar.gz
Algorithm Hash digest
SHA256 3c3ebb171e989d51abf34666f34a2fc803607d4436b15be78f1d5aed68509c90
MD5 2d5132442412ef6742c9745086aadeb5
BLAKE2b-256 2341ec43d2fbcec400f842ad98fc905a156ceae82daa8d0f401090e2baeaee3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.4.tar.gz:

Publisher: build-test.yml on Chik-Network/klvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file klvm_rs-0.17.4-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: klvm_rs-0.17.4-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for klvm_rs-0.17.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5c0614b8246fe79a981ad0a5c4191075e8583603625bf258652be283840e482
MD5 c3289157bacfb43731517cefbc0e9a85
BLAKE2b-256 f62e9b3cf522ee568c4a9f753e49cd3094cd3d4dc85692c14e10e3ca621a4fd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.4-cp310-abi3-win_amd64.whl:

Publisher: build-test.yml on Chik-Network/klvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db3f56415a5ebbd01976cbe58435e5ff3dcead64e226dfae83f684278e938db6
MD5 53956fe1ad31de697af7b73cceda62b2
BLAKE2b-256 c97ef742e2f6a6f6da3338e84751aad782ddbc58f54d87e177f60973f85c817c

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: build-test.yml on Chik-Network/klvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.4-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 836365e9e6668e7cccc824e6e5b428e52611eb72b34820f7da181ed91475e0d1
MD5 5a1193066696fd441a72ce4e126d1c9b
BLAKE2b-256 282378dfead433a143dbce46c1a8bb8c4e9be3d8cde48418c6259eb4e1a37b55

See more details on using hashes here.

File details

Details for the file klvm_rs-0.17.4-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.4-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 1b7b5c9a3dd8396924eb46ff6c6383b9eb9ac07b1674f0ce82aa06a16cf84283
MD5 9d80ae2b6db5b43dc7f51c98409875bd
BLAKE2b-256 c4d1d42d9dd370f4b1488f39ff72eda92e1c7ee2679d9920b0ef523fa4e348bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.4-cp310-abi3-macosx_15_0_x86_64.whl:

Publisher: build-test.yml on Chik-Network/klvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file klvm_rs-0.17.4-cp310-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.4-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 abd9311246a3e42f4e5e34318d749da6c8b71456afee1330867fb9206002bb1a
MD5 f21ed0d9e20fd8cd176d8a3d9316a355
BLAKE2b-256 d4138c1740801138881e39c59420d5a10483a506e9f535b88db21fdccdeaeb75

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.4-cp310-abi3-macosx_15_0_arm64.whl:

Publisher: build-m1-wheel.yml on Chik-Network/klvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.19.0

6 files

0.18.0

6 files

0.17.7

6 files

0.17.6

6 files

0.17.5

6 files

This release

0.17.4 This release

6 files

0.17.3

6 files

0.17.2

6 files

0.17.1

6 files

0.17.0

6 files

0.16.5

6 files

0.16.4

6 files

0.16.3

6 files

0.16.2

6 files

0.16.1

6 files

0.16.0

6 files

0.15.0

6 files

0.14.0

6 files

0.13.1

6 files

0.12.1

6 files

0.12.0

6 files

0.11.0

6 files

0.10.0

5 files

0.8.0

6 files

0.7.0

5 files

0.6.1

5 files

0.6.0

5 files

0.3.2

5 files

0.3.0

5 files

0.2.8

4 files

0.2.5

5 files

0.1.24

4 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