rust-unofficial/patterns

Module/code organization

Open

#212 opened on Jan 23, 2021

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Shell (6,622 stars) (292 forks)batch import
A-patternC-additiongood first issue

Description

cargo new already creates a structured project (folders, etc...). Wouldn't be it nice to create a section/page/idioms/ devoted to best practices of code organisation? For example how to struct modules, crates, workspaces...how to refer one crate from another or one module from another. What do you think?

Contributor guide