Skip to content

"Getting started" page in the book mentions "crates" before explaining what a crate is #30825

Closed
@K900

Description

@K900

https://doc.rust-lang.org/nightly/book/getting-started.html

With simple projects, Cargo doesn't bring a whole lot over just using rustc, but it will become useful in future. With complex projects composed of multiple crates, it’s much easier to let Cargo coordinate the build. With Cargo, you can just run cargo build, and it should work the right way.

The concept of crates is only (properly) introduced in the next chapter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions