mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-06 00:44:23 +02:00
Clarify that crates don't have to live on crates.io (#985)
This commit is contained in:
parent
75bc262983
commit
faab0e2ee6
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user