#merkle-proof #spec #file #step #path #binary #generate

no-std ics23

Merkle proof verification library - implements Cosmos ICS23 Spec

20 releases

0.12.0 Jul 17, 2024
0.11.1 Jan 30, 2024
0.11.0 Oct 4, 2023
0.10.1 Apr 27, 2023
0.5.0 Aug 27, 2019

#7 in #merkle-proof

Download history 7195/week @ 2024-11-17 6951/week @ 2024-11-24 12771/week @ 2024-12-01 11746/week @ 2024-12-08 9706/week @ 2024-12-15 3260/week @ 2024-12-22 4001/week @ 2024-12-29 8518/week @ 2025-01-05 7687/week @ 2025-01-12 9122/week @ 2025-01-19 14691/week @ 2025-01-26 11102/week @ 2025-02-02 12365/week @ 2025-02-09 8783/week @ 2025-02-16 8384/week @ 2025-02-23 9578/week @ 2025-03-02

39,898 downloads per month
Used in 195 crates (21 directly)

Apache-2.0

175KB
4K SLoC

Rust Proof Validation

Codegen

To avoid direct dependencies on protoc in the build system, I have separated codegen into a sub-crate. This will generate the rust proofs.rs file from the proofs.proto file. The rest of the main build/test cycle is now independent of the protoc binary.

To rebuild protobuf, simply: cargo protoc (on a dev machine with protoc in path). Unless you modify the protobuf file, you can ignore this step.

Formatting

cargo fmt

Testing

cargo test

Linting

cargo clippy -- --test -W clippy::pedantic

Code Coverage

cargo llvm-cov

MSRV

The minimum supported Rust version (MSRV) is 1.60.

Dependencies

~0.4–1.4MB
~26K SLoC