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

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

Build:
DEFAULT BRANCH: main
Ran 16 May 2025 12:10PM UTC
Jobs 1
Files 10
Run time 1min
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

16 May 2025 12:09PM UTC coverage: 89.651% (-0.2%) from 89.805%
15068098558

push

github

web-flow
feat: nodes accessor for `lean-imt` (#77)

## Description

This PR adds a `nodes` method to the `LeanIMT` struct, exposing the
internal nodes structure as a slice (`&[Vec<[u8; N]>]`).

It also fixes minor clippy warnings by allowing `manual_div_ceil` and
reformat the example in `lib.rs`.

- **What kind of change?** Feature addition
- **Current behavior**: No method exists to access the internal nodes
structure of `LeanIMT`.
- **New behavior**: The `nodes` method returns a reference to the
internal nodes, allowing read-only access.
- **Breaking change?** No.

## Related Issue(s)

Resolves #76 

## Other information

The change is minimal and does not affect existing functionality. No new
tests were added as the method is a simple accessor, but existing tests
pass.

## 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.
- [ ] 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.

0 of 3 new or added lines in 1 file covered. (0.0%)

1568 of 1749 relevant lines covered (89.65%)

182136.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
96.18
-1.01% crates/lean-imt/src/lean_imt.rs
Jobs
ID Job ID Ran Files Coverage
1 15068098558.1 16 May 2025 12:10PM UTC 10
89.65
GitHub Action Run
Source Files on build 15068098558
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15068098558
  • 1d475e4b on github
  • Prev Build on main (#14761309512)
  • Next Build on main (#15545801854)
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