breadbox info
breadbox info [--profile <NAME>] [OPTIONS]
Prints the resolved project metadata and paths. --profile defaults to release and only affects
the binary path it shows. It does not build anything.
breadbox info
breadbox info --profile dev
Fields
| Field | Meaning |
|---|---|
app | app-name from config or the package name. |
package | Package name from your Cargo.toml. |
version | Package version. |
bin | Selected binary target name. |
source | Path to the binary's source file. |
run | package.default-run or <none>. |
features | Enabled default features or <none>. |
requires | Binary required-features or <none>. |
arch | Detected architecture: x86, x86_64, arm or aarch64. |
profile | Value of --profile. |
formats | Formats supported by this host, sorted. |
root | Absolute project root. |
manifest | Absolute path to your Cargo.toml. |
config | Absolute config path or <none>. |
workspace | Cargo workspace root. |
out | Output directory. |
target | Cargo target directory. |
exe | Resolved binary path for the chosen profile. |
The output starts with the header breadbox project info. Empty optional values and empty lists
appear as <none>.
Binary selection
Breadbox reads your Cargo.toml and picks a buildable binary. Candidate binaries are bin targets
whose required-features are covered by the enabled default features.
- One candidate is selected automatically.
- If there are no candidates, breadbox reports
no buildable binary target found in Cargo.toml. - Several candidates require
package.default-runin yourCargo.toml. - A
package.default-runvalue that does not name a buildable binary is an error.