Module e_collect

Source

Functionsยง

collect_all_targets
collect_binaries
Runs cargo run --bin (without specifying a binary name) so that Cargo prints an error with a list of available binary targets. Then parses that list to return a vector of Example instances, using the provided prefix.
collect_examples
Runs cargo run --example so that Cargo lists available examples, then parses the stderr output to return a vector of Example instances.
collect_samples