Rust anatomy

From wikinotes
Revision as of 22:34, 7 February 2023 by Will (talk | contribs)

A rust project comprises of

packages build/test/share a collection of crates
crates tree of modules that build a single library, or executable
modules organize scope/privacy of paths
paths files ?
package:
    - crate:
    - crate:
        - module:
        - module:
            - path
            - path

Components

Packages

Crates