Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

FieldMeaning
appapp-name from config or the package name.
packagePackage name from your Cargo.toml.
versionPackage version.
binSelected binary target name.
sourcePath to the binary's source file.
runpackage.default-run or <none>.
featuresEnabled default features or <none>.
requiresBinary required-features or <none>.
archDetected architecture: x86, x86_64, arm or aarch64.
profileValue of --profile.
formatsFormats supported by this host, sorted.
rootAbsolute project root.
manifestAbsolute path to your Cargo.toml.
configAbsolute config path or <none>.
workspaceCargo workspace root.
outOutput directory.
targetCargo target directory.
exeResolved 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-run in your Cargo.toml.
  • A package.default-run value that does not name a buildable binary is an error.