mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
Compare commits
4 commits
cf2134455b
...
0a815fd94b
Author | SHA1 | Date | |
---|---|---|---|
|
0a815fd94b | ||
|
e6cb104294 | ||
|
410eb69d25 | ||
|
243cf5f261 |
3 changed files with 38 additions and 6 deletions
35
CHANGELOG.md
35
CHANGELOG.md
|
@ -1,3 +1,34 @@
|
||||||
|
<a name="6.4.0"></a>
|
||||||
|
|
||||||
|
## 6.4.0 (2024-11-11)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- The list of exercises is now searchable by pressing `s` or `/` 🔍️ (thanks to [@frroossst](https://github.com/frroossst))
|
||||||
|
- New option `c` in the prompt to manually check all exercises ✅ (thanks to [@Nahor](https://github.com/Nahor))
|
||||||
|
- New command `check-all` to manually check all exercises ✅ (thanks to [@Nahor](https://github.com/Nahor))
|
||||||
|
- Addictive animation for showing the progress of checking all exercises. A nice showcase of parallelism in Rust ✨
|
||||||
|
- New option `x` in the prompt to reset the file of the current exercise 🔄
|
||||||
|
- Allow `dead_code` for all exercises and solutions ⚰️ (thanks to [@huss4in](https://github.com/huss4in))
|
||||||
|
- Pause input while running an exercise to avoid unexpected prompt interactions ⏸️
|
||||||
|
- Limit the maximum number of exercises to 999. Any third-party exercises willing to reach that limit? 🔝
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- `enums3`: Remove redundant enum definition task (thanks to [@senekor](https://github.com/senekor))
|
||||||
|
- `if2`: Make the exercise less confusing by avoiding "fizz", "fuzz", "foo", "bar" and "baz" (thanks to [@senekor](https://github.com/senekor))
|
||||||
|
- `hashmap3`: Use the method `Entry::or_default`.
|
||||||
|
- Update the state of all exercises when checking all of them (thanks to [@Nahor](https://github.com/Nahor))
|
||||||
|
- The main prompt doesn't need a confirmation with ENTER on Unix-like systems anymore.
|
||||||
|
- No more jumping back to a previous exercise when its file is changed. Use the list to jump between exercises.
|
||||||
|
- Dump the solution file after an exercise is done even if the solution's directory doesn't exist.
|
||||||
|
- Rework the footer in the list.
|
||||||
|
- Optimize the file watcher.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix bad contrast in the list on terminals with a light theme.
|
||||||
|
|
||||||
<a name="6.3.0"></a>
|
<a name="6.3.0"></a>
|
||||||
|
|
||||||
## 6.3.0 (2024-08-29)
|
## 6.3.0 (2024-08-29)
|
||||||
|
@ -113,7 +144,7 @@ You can read about the motivations of this change in [this issue](https://github
|
||||||
|
|
||||||
### List mode
|
### List mode
|
||||||
|
|
||||||
A list mode was added using [Ratatui](https://ratatui.rs).
|
A new list mode was added!
|
||||||
You can enter it by entering `l` in the watch mode.
|
You can enter it by entering `l` in the watch mode.
|
||||||
It offers the following features:
|
It offers the following features:
|
||||||
|
|
||||||
|
@ -814,7 +845,7 @@ Then follow the link to the guide about [third-party exercises](THIRD_PARTY_EXER
|
||||||
|
|
||||||
#### Bug Fixes
|
#### Bug Fixes
|
||||||
|
|
||||||
- Update deps to version compatable with aarch64-pc-windows (#263) ([19a93428](https://github.com/rust-lang/rustlings/commit/19a93428b3c73d994292671f829bdc8e5b7b3401))
|
- Update deps to version compatible with aarch64-pc-windows (#263) ([19a93428](https://github.com/rust-lang/rustlings/commit/19a93428b3c73d994292671f829bdc8e5b7b3401))
|
||||||
- **docs:**
|
- **docs:**
|
||||||
- Added a necessary step to Windows installation process (#242) ([3906efcd](https://github.com/rust-lang/rustlings/commit/3906efcd52a004047b460ed548037093de3f523f))
|
- Added a necessary step to Windows installation process (#242) ([3906efcd](https://github.com/rust-lang/rustlings/commit/3906efcd52a004047b460ed548037093de3f523f))
|
||||||
- Fixed mangled sentence from book; edited for clarity (#266) ([ade52ff](https://github.com/rust-lang/rustlings/commit/ade52ffb739987287ddd5705944c8777705faed9))
|
- Fixed mangled sentence from book; edited for clarity (#266) ([ade52ff](https://github.com/rust-lang/rustlings/commit/ade52ffb739987287ddd5705944c8777705faed9))
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -451,7 +451,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustlings"
|
name = "rustlings"
|
||||||
version = "6.3.0"
|
version = "6.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"clap",
|
"clap",
|
||||||
|
@ -468,7 +468,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustlings-macros"
|
name = "rustlings-macros"
|
||||||
version = "6.3.0"
|
version = "6.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"quote",
|
"quote",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -6,7 +6,7 @@ exclude = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "6.3.0"
|
version = "6.4.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Mo Bitar <mo8it@proton.me>", # https://github.com/mo8it
|
"Mo Bitar <mo8it@proton.me>", # https://github.com/mo8it
|
||||||
"Liv <mokou@fastmail.com>", # https://github.com/shadows-withal
|
"Liv <mokou@fastmail.com>", # https://github.com/shadows-withal
|
||||||
|
@ -51,7 +51,7 @@ clap = { version = "4.5.20", features = ["derive"] }
|
||||||
crossterm = { version = "0.28.1", default-features = false, features = ["windows", "events"] }
|
crossterm = { version = "0.28.1", default-features = false, features = ["windows", "events"] }
|
||||||
notify = "7.0.0"
|
notify = "7.0.0"
|
||||||
os_pipe = "1.2.1"
|
os_pipe = "1.2.1"
|
||||||
rustlings-macros = { path = "rustlings-macros", version = "=6.3.0" }
|
rustlings-macros = { path = "rustlings-macros", version = "=6.4.0" }
|
||||||
serde_json = "1.0.132"
|
serde_json = "1.0.132"
|
||||||
serde.workspace = true
|
serde.workspace = true
|
||||||
toml_edit.workspace = true
|
toml_edit.workspace = true
|
||||||
|
@ -70,6 +70,7 @@ panic = "abort"
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
pre-release-hook = ["./release-hook.sh"]
|
pre-release-hook = ["./release-hook.sh"]
|
||||||
|
pre-release-commit-message = "Release 🎉"
|
||||||
|
|
||||||
[workspace.lints.rust]
|
[workspace.lints.rust]
|
||||||
unsafe_code = "forbid"
|
unsafe_code = "forbid"
|
||||||
|
|
Loading…
Reference in a new issue