Skip to main content

Rust implementation of clvk.

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 clvk_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 clvk_rs please use our bug bounty program.

Build Wheel

The clvk_rs wheel has python bindings for the rust implementation of clvk.

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

$ pip install maturin

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

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

clvk_rs-0.16.5-cp38-abi3-win_amd64.whl (393.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

clvk_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

clvk_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

clvk_rs-0.16.5-cp38-abi3-macosx_13_0_x86_64.whl (446.0 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

clvk_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl (421.9 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: clvk_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 clvk_rs-0.16.5.tar.gz
Algorithm Hash digest
SHA256 13a7ba052ce37d6c54c83c611dfe18122d3a7b4cfbde510eb2dc6110f5fdfc34
MD5 ddcfe536f6675ef972a8c9596432d4cc
BLAKE2b-256 dff51bafc268f8b2d379aaffca3f461deb2018d59c947b23fa2d01f7c1e20ce5

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.5.tar.gz:

Publisher: build-test.yml on Chik-Network/clvk_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 clvk_rs-0.16.5-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: clvk_rs-0.16.5-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 393.6 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 clvk_rs-0.16.5-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d1ec26bffdebbe747da897e1fafa5deb498270097937e4c686e7a0299e7dd0ae
MD5 74a8a7875336a4b6516bd76caf295e62
BLAKE2b-256 ffc6216ec029666754e721deec9de338282fb35c49217f7c346a2566ee0c9aed

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.5-cp38-abi3-win_amd64.whl:

Publisher: build-test.yml on Chik-Network/clvk_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 clvk_rs-0.16.5-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.5-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2438410245dd9011a3767f7a6746175ac8370e1a1f2bb3575ed8160a0a66b1d7
MD5 b1d036328885ccb56e3d57cdce558eac
BLAKE2b-256 2cfc39b25a1bbc94c7b3f3cdcf733f39450065d135aa6c52501c5acacdcf5ce1

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.5-cp38-abi3-manylinux_2_28_x86_64.whl:

Publisher: build-test.yml on Chik-Network/clvk_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 clvk_rs-0.16.5-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.5-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a118cd2dd135a99dbaf45ace835e3886c5feb28a3ee4e38bd31f6dcfc4a58027
MD5 dc3f7c19f3f56113504fe13f292ac526
BLAKE2b-256 6f179e8f82fabbd14795a6cb9c719ab8e9fe82ee0cbe9d14ed40dcf9bffb06bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clvk_rs-0.16.5-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0690739f46acecb53f8a97cd76827d9bf73902cd856a6306de58d14b2c1415cd
MD5 a43183e7faf9aca9edd6468015091990
BLAKE2b-256 4c5cbb31f395cad26693478dd9789327c1f6e4959bb38e91db3563c0e447bc11

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.5-cp38-abi3-macosx_13_0_x86_64.whl:

Publisher: build-test.yml on Chik-Network/clvk_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 clvk_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 48ce61d87c993920569b3cb4a3a71dfe7708de66ea150587189ed4655d8aa8a5
MD5 aee78c98017365bec20bc1313d4b6f6b
BLAKE2b-256 2c19ecd61e5692183c436c83d90d90a867ac91e3617315770fd64aa735d922e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.5-cp38-abi3-macosx_13_0_arm64.whl:

Publisher: build-m1-wheel.yml on Chik-Network/clvk_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.16.5 This release

6 files

0.16.0

6 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