mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 01:36:18 +01:00
`rust_sources` returns paths that include the folder it was given, so a package under a folder such as `~/src` made every `src/bin` file and its `build.rs` look nested, and predefined_quit missed `::menu` calls after their `extern crate muda as menu;`. Files directly in `src/bin`, and `main.rs` one folder below it, are now always crate roots, and another target folder counts as nested only directly inside `src` or below a `bin`, `tests`, `examples` or `benches` folder.