Skip to content

fix: add missing lib paths to project manifests - #62

Open
omerbek wants to merge 1 commit into
0xMiden:mainfrom
omerbek:fix/add-lib-paths
Open

fix: add missing lib paths to project manifests#62
omerbek wants to merge 1 commit into
0xMiden:mainfrom
omerbek:fix/add-lib-paths

Conversation

@omerbek

@omerbek omerbek commented Sep 2, 2026

Copy link
Copy Markdown

Summary

Fixes #60.

Adds the missing path = "src/lib.rs" entry to both template miden-project.toml manifests.

Why

midenc requires [lib].path in these manifests. Without it, a freshly generated project can fail immediately with unable to parse project manifest: missing field path, even though the source file exists at the conventional src/lib.rs location.

Changes

  • Added [lib].path to contracts/counter-account/miden-project.toml.
  • Added [lib].path to contracts/increment-note/miden-project.toml.

Testing

  • git diff --check
  • Parsed both edited manifests with Python tomllib and confirmed lib.path == "src/lib.rs".

I attempted to run the Miden build commands locally, but this Windows environment does not have the miden CLI on PATH. cargo miden also could not be verified because rustup failed while recovering/installing the repo's pinned nightly-2026-04-30 toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Project manifest files are missing lib path

1 participant