@metajack pointed out that a library might have a main crate, and then a src/examples directory containing lots of subdirectories with main.rs files. If you rustpkg install, you probably don't want to install the example programs. Maybe we could add another "magic" filename for files we want to build but not install. Or maybe there's another solution.
@metajack pointed out that a library might have a main crate, and then a
src/examplesdirectory containing lots of subdirectories with main.rs files. If yourustpkg install, you probably don't want to install the example programs. Maybe we could add another "magic" filename for files we want to build but not install. Or maybe there's another solution.