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

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.19.0.tar.gz (1.4 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.19.0-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl (2.6 MB view details)

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

klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

klvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

klvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl (935.3 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.19.0.tar.gz
  • Upload date:
  • Size: 1.4 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.19.0.tar.gz
Algorithm Hash digest
SHA256 0804bfe01f6b3b09308f2d0602cefefa1f4da53f54088ce7adbb444dca36c970
MD5 f5e1e3f0bc31fc65c7d9e53b7f18f2b0
BLAKE2b-256 792f9cb40d121272802e14e5a562e63bdfed3fd25998594f88eea9596b0a42e5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: klvm_rs-0.19.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 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.19.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 df69bb2255dda95e914e86306b6ecf729747e0c3cb301c1ad5bb01ef545275ea
MD5 bfe11edde7fcdc0fa66ebbab66da556b
BLAKE2b-256 0b1e84a86bdd0924a14f447f4d4d15db96cf3ff95ce3c1aec61b635b9b1b0003

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e09f23800bfd846a5cfcb8b9183712ef7e8dcbe5d2802a3f1c81a84596623df
MD5 0a36ca8416085382dafdd247e9107314
BLAKE2b-256 e74ae6bcc9e0be1892a408bca8f9568d5694dc26f678c0cc3031cbf54c21a473

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 10442ca7eb67b842bce10cbc21143bb75460fd5c265e537fe225f01c334a8470
MD5 38335e6b43a65bad0339dc3c49a46ea6
BLAKE2b-256 a9e1a5404e9cc50c3e92bceab617937ca4049f3358d25cb357029442002ba94d

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: build-arm64-wheels.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.19.0-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3d760db5c2ef7abe4e2b59b871f8da5126f223b094c3f76a5c7cc6363541e258
MD5 c92f3dc082305e12eba56e7effa08966
BLAKE2b-256 b57e4194aec0e1ae8f91e01fa2594a91b6321e2e67e66310e69d0f39137e8ad4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a01d7e1b0324282c2bb80d0c0c2e1e917b4b528372f0c7c18c2a1337786708da
MD5 2ea4279141276bd9e87ad03fe5365992
BLAKE2b-256 13157b11e7aa9ca617081bd8dca39a35388d5e08f0a3c8bb3f607102902a82d4

See more details on using hashes here.

Provenance

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

This release

0.19.0 This release

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

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