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.5.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.5-cp38-abi3-win_amd64.whl (394.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.16.5-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.5-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.5-cp38-abi3-macosx_13_0_x86_64.whl (446.4 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

klvm_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl (422.0 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.16.5.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.5.tar.gz
Algorithm Hash digest
SHA256 9469c93d247a16e7c2b5328e455094bb14d763b8aa95b54071e9ff9a77090341
MD5 77679d483336ceedd6ddfeaef3e55703
BLAKE2b-256 61111bc31ffe248f425ef4063f84bd505f0a1b224ae87162f2068a3265c0d46c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: klvm_rs-0.16.5-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 394.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.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3173c49acb998271a3d7b2b5332703cb51367c74db867d2482e095f04459929b
MD5 818ac623984168cfe4b9bed9cf77d149
BLAKE2b-256 f2075464a450c819c68d974e5ad5d99d67fdef9617e641c1060b43793b4d958d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.16.5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17546444788b9af3d9b2e26f15e5fd86c921ddfa5bd9be8d5c274b079fc49627
MD5 a41fe65f0a43a1299fec330dc511b449
BLAKE2b-256 87def8633ca186ba41d9439070fae4f106972dfc268be52b2ee8c6afae52713d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.16.5-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6ed7eb8c59fb17e9efa21f263533b98b6be87cff31ba4fcf1013adab9948f42e
MD5 3ec639887c14e00d516cd88243999f06
BLAKE2b-256 b9c35f6fb332945c316c3cf20e7aa12eded4c650bc382d23cf752d8022298ce8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.16.5-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9abf9df33436c3f12a9444e433bcd791e52d09ef2fac377a2b5375150ab536d6
MD5 5748c5d1ffa58296e81692f587f206a0
BLAKE2b-256 b27ac916348009b56502b33b6e671d09b0520ba2b44440fd7d85b99015264e20

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 581dde60e48077980907b9f6c00cf793c7cb7192dabd1349de585d9726224e63
MD5 c64f9b9f49c14686d51c07c976387822
BLAKE2b-256 c65f8eace783137278c0184d7ba3b0aeb83e862d589ae7670d34edfaab909da0

See more details on using hashes here.

Provenance

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

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

0.17.2

6 files

0.17.1

6 files

0.17.0

6 files

This release

0.16.5 This release

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