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

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

Uploaded CPython 3.8+Windows x86-64

clvk_rs-0.16.0-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.0-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.0-cp38-abi3-macosx_13_0_x86_64.whl (436.2 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

clvk_rs-0.16.0-cp38-abi3-macosx_13_0_arm64.whl (415.1 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: clvk_rs-0.16.0.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.0.tar.gz
Algorithm Hash digest
SHA256 49070d160ac625f8e047583f5e1253424165f6827f7530bb2bf3acbfff49498c
MD5 b85b3a52ef5aeed26e2736ebbad86dfe
BLAKE2b-256 a35dd13342993a8ae002af8e59e8a4a094717d6d709d6cb59437c20dbce963ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.0.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.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: clvk_rs-0.16.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 385.4 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.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 37e9e9561f1d145f1cb89f8a589f1a25ca2ce16a22ce154bf772f3c4d8357be7
MD5 7550af852cf72a71780416adfee96709
BLAKE2b-256 e7014dd10b7fb17f681bc9af77952c9212fd237fbde1fbc79552f02000dbf2db

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.0-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.0-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 24fd6d68738bedf2fee33654e75ff4f0b638221bc9cfb21b0c6cd9485e3f94c5
MD5 ca1a4e6933da8975db59b6e9c2f8acac
BLAKE2b-256 47faede4b09976ee27be679b2f658b6467002d18a2df52921e3bdb398266fd20

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.0-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.0-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e5c6c5097e077594146d67af78792e632d777fc764ccd7ad7a39d076cf56e40
MD5 610bce999f7d2e1b3f4686a418dbef35
BLAKE2b-256 4d8155fa0434f3030afb29da6080c547e1ebc5d6cafe4916267fbb411a689309

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clvk_rs-0.16.0-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bcb494ae00980674f68dc73bff233a1965ff74ea6c0ca24d470bb303e000e758
MD5 828636fb090d2ad056e8d468150951b4
BLAKE2b-256 5988c3bed4715da88dc206ba3f3a08993f11550ced292b08d8736eaae4f0faea

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.0-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.0-cp38-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for clvk_rs-0.16.0-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 a91cfc9f0435a60dcd348eb6a032f05d38818a5dd2db4f9dd7922b7827843f7c
MD5 7880570796e33b14204e1a870743200c
BLAKE2b-256 5f95167b11253aa87641f1de8bc66c077f3b257553f526602a4e9ba9e90a4661

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvk_rs-0.16.0-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

0.16.5

6 files

This release

0.16.0 This release

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