You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corey Richardson edited this page Mar 13, 2014
·
1 revision
Project structure in Rust is pretty free-form. The current convention is to have all source code in a src/ directory. src/lib.rs is the crate root for libraries and src/main.rs is the crate root for executables.
Examples go in src/examples and out-of-crate tests (not using the built-in unit testing) go in src/tests.