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 fuzz_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.16.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.16.2-cp38-abi3-win_amd64.whl (386.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.16.2-cp38-abi3-manylinux_2_28_x86_64.whl (1.9 MB view details)

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

klvm_rs-0.16.2-cp38-abi3-manylinux_2_28_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

klvm_rs-0.16.2-cp38-abi3-macosx_13_0_x86_64.whl (436.7 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

klvm_rs-0.16.2-cp38-abi3-macosx_13_0_arm64.whl (415.5 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.16.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.16.2.tar.gz
Algorithm Hash digest
SHA256 fa96bf8d4a337780c1795a43dff2586eb883e0606fb0bca79da78a773df12337
MD5 e6681bc98873c5a91ef6a7f4d2605a88
BLAKE2b-256 b9938b9d3ea494d4bbf0c0c68a72506cae55e28be3c575949a1c75ba4092f356

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.16.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.16.2-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: klvm_rs-0.16.2-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 386.1 kB
  • Tags: CPython 3.8+, 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.16.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7fab755574aef33d9a67232625c6e75781f284ed84c9ef1173fa57b8b7dee778
MD5 a3f53ea7d4fb89fcf8e7c05b276995c9
BLAKE2b-256 de66df3af154afb0c4ada935077246b2049dd2ea195d67f16248bf332b5dc5ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.16.2-cp38-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.16.2-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.16.2-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74830124ed10d33bab4d229455b4a751422126f51168df403878a9a9030030be
MD5 9bca713be4ce6244d8ef1b30e19d4f97
BLAKE2b-256 15b298c807bd5eeacb28b0bcebba34f569554bacffb90ad5d940583dc9858610

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.16.2-cp38-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.16.2-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.16.2-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 46781b4135697299856e9c53caf4cb05ae5041b81fb7d08e9c3299fe618f35f5
MD5 b2549d5f3d58431af9e272c6f8bcfc87
BLAKE2b-256 54e8c10b77ab9a4d8ac9c48b12dd3a5642f3fe5e49614787b0914d6ae29b9523

See more details on using hashes here.

File details

Details for the file klvm_rs-0.16.2-cp38-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.16.2-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2adfca67e29b62ced21379e4e1067404221c005cb58e86df60935fdc6432260d
MD5 8503986d5fd6a936062199e6ab362548
BLAKE2b-256 ed5b45b5a38e1bef2f9cb57b4f013fcb4c2007ba90914c23ba5ebe62b2ad4343

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.16.2-cp38-abi3-macosx_13_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.16.2-cp38-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.16.2-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 edfc66e4d0d6bf7bc01a8e5f3deb71cda078c34a78ea056909ef163b9d72599c
MD5 07dbcce50c6582218b37f69b9ec9ce2b
BLAKE2b-256 81fb253f3f1fe185ddc3839db03180d1e988ca75ac3b0b7ec6f6409bc4bed0d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.16.2-cp38-abi3-macosx_13_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.16.2 This release

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page