Expand description
This module implements Cargo conventions for directory layout:
src/lib.rs
is a librarysrc/main.rs
is a binarysrc/bin/*.rs
are binariesexamples/*.rs
are examplestests/*.rs
are integration testsbenches/*.rs
are benchmarks
It is a bit tricky because we need match explicit information from Cargo.toml
with implicit info in directory layout.
Constants
Functions
- Build an error message for a target path that cannot be determined either by auto-discovery or specifying.
- Will check a list of toml targets, and make sure the target names are unique within a vector.