Bindeps
Bindeps is used to get the dependencies as bin, with more options in stable channel.
Usage
Bin type dependency should have a lib.rs file, or it will be ignored.
[]
= { = "path/to/foo", = "0.1" }
[]
= { = "*"}
In build.rs:
let output = new.build.unwrap;
let _ = output.elf;
The path of foo bin is in output.elf.