Skip to content

Conversation

@mpenciak
Copy link
Contributor

@mpenciak mpenciak commented Oct 30, 2025

Closes #181.

@iamrecursion iamrecursion changed the title Split merkle example into separate crates Split the merkle example into separate crates Nov 6, 2025
@iamrecursion iamrecursion self-assigned this Nov 6, 2025
@iamrecursion iamrecursion added the enhancement New feature or request label Nov 6, 2025
@Eduardogbg Eduardogbg force-pushed the merkle_split branch 5 times, most recently from 937c9a9 to f83762b Compare January 3, 2026 21:31
@Eduardogbg Eduardogbg marked this pull request as ready for review January 19, 2026 23:24
@Eduardogbg Eduardogbg force-pushed the merkle_split branch 5 times, most recently from 51b3de0 to b409922 Compare January 19, 2026 23:54
Add the ability for the lampe CLI to detect and handle Noir workspaces
with multiple crates. When run on a directory containing multiple
Nargo.toml subdirectories (but no root Nargo.toml), the CLI will
extract each crate that has a lampe/ directory.

Changes:
- src/bin/main.rs: Add workspace detection (is_workspace_root,
  has_workspace_manifest, list_workspace_crates, select_workspace_crates)
  and run_workspace_root to iterate over workspace crates
- src/project.rs: Add lampe_targets field and with_lampe_targets builder
  to track which packages should be treated as having lampe output,
  allowing workspace crates to reference each other during extraction
@Eduardogbg Eduardogbg force-pushed the merkle_split branch 2 times, most recently from ce099a1 to 0f44048 Compare January 20, 2026 03:30
Restructure the Merkle testing example from a single crate into a
workspace with three separate crates:
- hasher: Core hashing interface
- skyscraper: Skyscraper permutation implementation
- merkle: Main merkle tree implementation using the above

This demonstrates and tests the multi-crate workspace support added
in the previous commit.

Co-Authored-By: Matej Penciak <matej.penciak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor the Merkle Test into Crates

5 participants