1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-06 08:49:17 +02:00

Clarify that crates don't have to live on crates.io (#985)

This commit is contained in:
Dominik Maier 2023-07-17 17:58:04 +02:00 committed by GitHub
parent 75bc262983
commit faab0e2ee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ The Rust ecosystem consists of a number of tools, of which the main ones are:
intermediate formats.
* `cargo`: the Rust dependency manager and build tool. Cargo knows how to
download dependencies hosted on <https://crates.io> and it will pass them to
download dependencies, usually hosted on <https://crates.io>, and it will pass them to
`rustc` when building your project. Cargo also comes with a built-in test
runner which is used to execute unit tests.
@ -29,6 +29,8 @@ Key points:
* New features are being tested on "nightly", "beta" is what becomes
"stable" every six weeks.
* Dependencies can also be resolved from alternative [registries], git, folders, and more.
* Rust also has [editions]: the current edition is Rust 2021. Previous
editions were Rust 2015 and Rust 2018.
@ -64,4 +66,6 @@ Key points:
[official Cargo Book]: https://doc.rust-lang.org/cargo/
[registries]: https://doc.rust-lang.org/cargo/reference/registries.html
</details>