Skip to main content

read_bins

Function read_bins 

Source
pub fn read_bins(root: &Path) -> Vec<BinEntry>
Expand description

Parse <root>/Cargo.toml and return every [[bin]] entry. If no [[bin]] table exists, synthesize one entry from [package] name. Returns an empty Vec only if Cargo.toml is unreadable.