rust-unofficial/patterns

Module/code organization

开放

#212 创建于 2021年1月23日

 (5 条评论) (2 个反应) (0 位负责人)Shell (292 个派生)batch import
A-patternC-additiongood first issue

仓库指标

星标
 (6,622 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南