Skip to main content

Rust implementation of clvm.

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 clvm_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 clvm_rs please use our bug bounty program.

Build Wheel

The clvm_rs wheel has python bindings for the rust implementation of clvm.

Use maturin to build the python interface. First, install into current virtualenv with

$ pip install maturin

While in the wheel directory, build clvm_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

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

clvm_rs-0.19.0-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

clvm_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

clvm_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

clvm_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

clvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl (935.6 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: clvm_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 clvm_rs-0.19.0.tar.gz
Algorithm Hash digest
SHA256 53a1f023fef78e25d55fbba5d7cb75e2fbdd9ec15be4744187924d7f437b7ab1
MD5 f516be0759aeb4d2d6874823f137dd10
BLAKE2b-256 3744583284a5f89fb49ee8c62e292fd563ddd3b1eca31a2a4082fb840eb75cc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.19.0.tar.gz:

Publisher: build-test.yml on Chia-Network/clvm_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 clvm_rs-0.19.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: clvm_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 clvm_rs-0.19.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0159851836d1bb6134a1295a79997b9a2152ffcd9d495d3f55e0834b71c17c70
MD5 9736de227b1cfcd4dddc54a7df8fee56
BLAKE2b-256 f5096d223c65b5f7ff20df77c8bea6cc725a3e348b0a441fa602be72ddf3d1ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.19.0-cp310-abi3-win_amd64.whl:

Publisher: build-test.yml on Chia-Network/clvm_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 clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4ed7cefa3d9ce061af43f078e0e5fbe524fa904d37d0feaf745f9d85d29076d8
MD5 e8ee7bd32f55349266bdbf1b0ffd2475
BLAKE2b-256 68db159e55bcaacd36ac130aa9ea78557238364d87e6f4e29f0666301113fb05

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: build-test.yml on Chia-Network/clvm_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 clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 36662d5cebddc183feebfc2a91b6b31c53f9fd0848dc1e37bbc9a729dc555d37
MD5 a3635ec568dab193c1d7b42495786dd9
BLAKE2b-256 267d71c859280199276395f049e2fb16b25e661cf9c455a73c869e4f8fc23fdc

See more details on using hashes here.

Provenance

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

Publisher: build-arm64-wheels.yml on Chia-Network/clvm_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 clvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 e0e3b2af99e57a862b2101a730c46e5cad65f856e598c13430310e96f6e9e668
MD5 977602a631468d2ebadf6c3f076c0dc9
BLAKE2b-256 a84c428832ff8b432fbc93c6835a511c0ee50db5b85c9fd34c6b36eb47d8098d

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl:

Publisher: build-test.yml on Chia-Network/clvm_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 clvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 baf18fc905a0719d46f3933b3c62b45563d1f8ee5163f36fa7307884b4ae0cb3
MD5 57c0096fcb0d01bc4b643678647cce1d
BLAKE2b-256 6368728f9a29afca3541a3176745cbd187812b351b000871d0159e81b0fece4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl:

Publisher: build-m1-wheel.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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