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?

貢獻者指南