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

Uploaded CPython 3.10+Windows x86-64

klvm_rs-0.17.6-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.6-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.6-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.17.6-cp310-abi3-macosx_15_0_arm64.whl (863.3 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.17.6.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.6.tar.gz
Algorithm Hash digest
SHA256 a2f84af38b8c76a64e7633353a83173b4bb9ac307466ee5e49f72729a2df52c0
MD5 1e5333e49e34e68c0e132f75b8946b70
BLAKE2b-256 96e636949222ed3871b05748de3ca2712c91f1f9a39b6814bdd4e221800bff1b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: klvm_rs-0.17.6-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.6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e15170996995c55b1e74740859a82c7cc4e984d4cb305b08e7c004ef3dcffee2
MD5 c475d2b37e8eff9b760a465173722826
BLAKE2b-256 c1f1e671979db82dd4970aa456f1035824c95ad420ef53778a61f9145b44c6e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.17.6-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a96c582d5047e0e4f8144135578121a6d9cc4b15660992b01fc071bccc1c456
MD5 321c7962eedad684f8494f177341c872
BLAKE2b-256 1d33831a94b0766cc854f8c20a48387d20ab9a20c8060e7eb565ec7e8d9d0fa2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.17.6-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1666eb44b78c4675fc575aa90003f6fb77813e54f90ba4147207d539382238ea
MD5 0eaa8f82feb104f9988dca4bf170289c
BLAKE2b-256 5742d79a025e1b177dde27c20189b89b065dc4c93e824e45d8e9b47d57739d69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.17.6-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f155584db80d84d72d2fe8e46b5a0a19460b4076eeef2bf1a294a229540d70d9
MD5 473aa4df8f2d860aa518dd6fc8736c4d
BLAKE2b-256 d6ce423e6d099f3a8ade831a410301d250d1f4ead9cb4aead81a3758c3b1f2f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.17.6-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 c2390a04642bcc16974bd7b117dd68c798708e70b915374a24079eb9d0c5316d
MD5 d96c6a53d9c88122fce92798cbacde00
BLAKE2b-256 7c5bf0fcc8bd2b56e2b8d18e772129769aaa9b12e6113e96f03e200c837003e5

See more details on using hashes here.

Provenance

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

This release

0.17.6 This release

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