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
I know that having both src/lib.rs and src/main.rs is suggested in the second edition of the Rust book, but for a crate that already has src/lib.rs, it's more typical to have src/bin/goga.rs instead.
I know that having both
src/lib.rs
andsrc/main.rs
is suggested in the second edition of the Rust book, but for a crate that already hassrc/lib.rs
, it's more typical to havesrc/bin/goga.rs
instead.Some links:
Rust package with both a library and a binary?
Publishing a crate containing both lib.rs and main.rs files
The text was updated successfully, but these errors were encountered: