Workspaces
Workspaces are a feature of nargo that allow you to manage multiple related Noir packages in a single repository. A workspace is essentially a group of related projects that share common build output directories and configurations.
Each Noir project (with it's own Nargo.toml file) can be thought of as a package. Each package is expected to contain exactly one "named circuit", being the "name" defined in Nargo.toml with the program logic defined in ./src/main.nr
.
For a project with the following structure:
├── crates
│ ├── a
│ │ ├── Nargo.toml
│ │ └── Prover.toml
│ │ └── src
│ │ └── main.nr
│ └── b
│ ├── Nargo.toml