rust-unofficial/patterns

Module/code organization

Aperta

#212 aperta il 23 gen 2021

 (5 commenti) (2 reazioni) (0 assegnatari)Shell (292 fork)batch import
A-patternC-additiongood first issue

Metriche repository

Star
 (6622 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor