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.2.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.2-cp310-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

klvm_rs-0.17.2-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.2-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.2-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.2-cp310-abi3-macosx_15_0_arm64.whl (842.4 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.17.2.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.2.tar.gz
Algorithm Hash digest
SHA256 efb7aeda2dd940ecd20d3e09503de44ff2563de727278030fdfc4d6fec261b88
MD5 d9bebf4940037c5cdfa7f7f5ffefa9fc
BLAKE2b-256 7422889b460ee04603f463142aaae5389b2a50a7cdf52174398704dba510d98a

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.2.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.2-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: klvm_rs-0.17.2-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.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2d54e9a175ab7679bdecea495bc7855b3c9367a33ea26b65cba862c4057dde40
MD5 2e2f8852b2f0ca8d21baeafa4f797d15
BLAKE2b-256 328b07c39a11634340ca8d848f8487f165c9c8ce8a05210130f316e934f205c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.2-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.2-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ebb76e5821ee68f9e753e4ab83686a57c2080a9b602d4bcf6dd0ccd5027d896
MD5 c3fe68ff662fd667c0aa8aacdd97ef1b
BLAKE2b-256 9dedcb37b8c7643e6373ebe85a228c83f2beaa046f2fd1f1c3e2052a557c3cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.2-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.2-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 944df9f50b39add2f735f61c6af2890be3399bb96264cab830ecdbc7460a04c2
MD5 da735486f9b394948bf73902b1c8c0d3
BLAKE2b-256 7fb3279693ad2d4344f48e86b7a09803d1cbe4901af1eb5a80e61fc853e2e297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.17.2-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 85fb17b128d4d79615de9a2e5105a047691d535b615b372a0e94905fc8208a92
MD5 e01c4c0391a3a8387840b6585a084dc6
BLAKE2b-256 0542c129f919729814e9b41209293e35f2ecca6baa6ad93864363c624608ec72

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.2-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.2-cp310-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.17.2-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fdff6b114f7aee4905ecf95ad32a290599b1a382e8d38ff8530f31a246d51dcc
MD5 c2d5fbf03c7974c7740c51aed412eaad
BLAKE2b-256 51dc9e676d81b645f75f229f749e94b2aea9e5afc5fb594a40a94a8dd8de5538

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.17.2-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

0.17.4

6 files

0.17.3

6 files

This release

0.17.2 This release

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