• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

privacy-scaling-explorations / zk-kit.rust / 14638976496
90%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2025 10:07AM UTC
Jobs 1
Files 10
Run time 23min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Apr 2025 10:06AM UTC coverage: 89.805% (+2.5%) from 87.281%
14638976496

push

github

web-flow
feat: customizable `LeanIMT` implementation (#62)

## Description

This PR introduces an implementation of the Lean Incremental Merkle
Tree:

- Created a generic `HashedLeanIMT` struct that supports arbitrary hash
functions through a trait
- Implemented the `LeanIMTHasher` trait to allow users to provide their
own hashing functions
- Implemented serialization/deserialization for all structs
- Added support for dynamic dispatch of the hash function

## Related Issue(s)

- Closes [lean-imt TLSNotary
requirements](https://github.com/privacy-scaling-explorations/zk-kit/issues/381)

- Closes #51 

## Checklist

- [x] I have read and understand the [contributor
guidelines](https://github.com/privacy-scaling-explorations/zk-kit.rust/blob/main/CONTRIBUTING.md)
and [code of
conduct](https://github.com/privacy-scaling-explorations/zk-kit.rust/blob/main/CODE_OF_CONDUCT.md).
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] My changes generate no new warnings
- [x] I have run `cargo fmt` without getting any errors
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes

470 of 488 new or added lines in 3 files covered. (96.31%)

1568 of 1746 relevant lines covered (89.81%)

182449.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.89
crates/lean-imt/src/stateless.rs
8
97.19
crates/lean-imt/src/lean_imt.rs
9
92.04
crates/lean-imt/src/hashed_tree.rs
Jobs
ID Job ID Ran Files Coverage
1 14638976496.1 24 Apr 2025 10:07AM UTC 10
89.81
GitHub Action Run
Source Files on build 14638976496
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14638976496
  • 7dd1aeae on github
  • Prev Build on main (#13992766310)
  • Next Build on main (#14639074328)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc