pub fn main_binary<P: AsRef<Path> + Debug>(manifest_path: P) -> Result<String>
Expand description

Load the main binary in the project. It returns an error if the project includes from than one binary. Use this function when the user didn’t provide any funcion name assuming that there is only one binary in the project