mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 15:24:17 -05:00
Add rust-version
This commit is contained in:
parent
5016c7cf7c
commit
175294fa5d
4 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## 6.1.1 (UNRELEASED)
|
## 6.1.1 (UNRELEASED)
|
||||||
|
|
||||||
|
- Show a helpful error message when trying to install Rustlings with a Rust version lower than the minimum one that Rustlings supports.
|
||||||
- Run the final check of all exercises in parallel.
|
- Run the final check of all exercises in parallel.
|
||||||
- Small exercise improvements.
|
- Small exercise improvements.
|
||||||
- `dev check`: Check that all solutions are formatted with `rustfmt`.
|
- `dev check`: Check that all solutions are formatted with `rustfmt`.
|
||||||
|
|
|
@ -16,6 +16,7 @@ authors = [
|
||||||
repository = "https://github.com/rust-lang/rustlings"
|
repository = "https://github.com/rust-lang/rustlings"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2021" # On Update: Update the edition of the `rustfmt` command that checks the solutions.
|
edition = "2021" # On Update: Update the edition of the `rustfmt` command that checks the solutions.
|
||||||
|
rust-version = "1.80"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
serde = { version = "1.0.204", features = ["derive"] }
|
serde = { version = "1.0.204", features = ["derive"] }
|
||||||
|
@ -29,6 +30,7 @@ authors.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
rust-version.workspace = true
|
||||||
keywords = [
|
keywords = [
|
||||||
"exercise",
|
"exercise",
|
||||||
"learning",
|
"learning",
|
||||||
|
|
|
@ -17,7 +17,7 @@ It contains code examples and exercises similar to Rustlings, but online.
|
||||||
|
|
||||||
### Installing Rust
|
### Installing Rust
|
||||||
|
|
||||||
Before installing Rustlings, you need to have _Rust installed_.
|
Before installing Rustlings, you need to have the **latest version of Rust** installed.
|
||||||
Visit [www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install) for further instructions on installing Rust.
|
Visit [www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install) for further instructions on installing Rust.
|
||||||
This will also install _Cargo_, Rust's package/project manager.
|
This will also install _Cargo_, Rust's package/project manager.
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ authors.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
rust-version.workspace = true
|
||||||
include = [
|
include = [
|
||||||
"/src/",
|
"/src/",
|
||||||
"/info.toml",
|
"/info.toml",
|
||||||
|
|
Loading…
Reference in a new issue