Project wit multiple modules (crates)

I seen multiple similar topics, but it just not works (probably because of my mistake).

I need step by step instructions for creating simple project and two simple library crates in it and using function/structure from crates in main program and other crate.

Cargo instructions please.

Thank a lot.

https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.