Blog post: Rust at Scale: Packages, Crates, and Modules

31 points roman-kashitsyn

Hi! I've been working with Rust daily for the last couple of years on a project with lots of contributors and a "mono-repository" setup. I remember struggling with the Rust code factoring options, and I saw quite a few colleagues being confused by the module system.

I wrote a blog post describing the choices that we made, the rationale behind those choices, and the issues that we observed: https://mmapped.blog/posts/03-rust-packages-crates-modules.html.

I hope this article might be helpful to you as well.

If you have any feedback on the article or some war stories to share, I'd love to hear that!