3279 Commits

Author SHA1 Message Date
mo8it
2c9c31e8a2 Remove cargo-upgrades from release hook 2026-03-17 12:48:43 +01:00
mo8it
a28b9eda84 Delay inside_vcs_repo check until Git initialization 2026-03-14 18:26:03 +01:00
Mo Bitar
802dcfc987
Merge pull request #2285 from senekor/senekor/kvtomxvosvvx
Avoid initializing nested Git repository
2026-03-14 18:00:03 +01:00
mo8it
ceb98475e2 Avoid unneeded castings 2026-03-14 17:41:13 +01:00
mo8it
337f6b1521 Apply pedantic Clippy lints 2026-03-14 17:29:37 +01:00
mo8it
0ffeb14402 Avoid unneeded computation on full progress bar 2026-03-14 17:29:37 +01:00
mo8it
611d62951f Update deps 2026-03-14 17:29:37 +01:00
Mo Bitar
415bf695be
Merge pull request #2367 from gabfec/fix/term-width-oeverflow
Fix u16 mul overflow with big term width
2026-03-14 17:29:10 +01:00
Gabriel Feceoru
d87a3b6ca5 Fix u16 mul overflow with big term width
When running rustlings in Rover IDE, term width could have a value of 2480
which causes u16 mul overflow.
2026-03-14 16:34:38 +01:00
mo8it
064f057b10 Improve integration testing 2026-02-26 18:02:07 +01:00
Remo Senekowitsch
17ff88902b
Avoid initializing nested Git repository
Previously a Git repository was initialized if a Cargo workspace was
detected. However, it's also possible for users to initialize rustlings
in an existing Git repository that doesn't contain a Cargo workspace. In
that case, it's still undesirable to initialize a nested Git repository
for rustlings. We therefore search all ancestors of the current working
directory for `.git` or `.jj` directories to determine if rustlings is
being initialized in an existing Git repository.
2026-02-26 17:57:47 +01:00
Mo Bitar
75c06bb7f4
Merge pull request #2361 from senekor/senekor/mxstspkxoyyp
Improve error messages if tests fail
2026-02-26 17:54:22 +01:00
mo8it
7e5793b642 Remove \r on Windows 2026-02-26 17:43:44 +01:00
Remo Senekowitsch
c163bfe563
Improve error messages if tests fail 2026-02-26 17:40:35 +01:00
mo8it
e91647b023 Add RUSTBACKTRACE as env 2026-02-26 16:26:41 +01:00
mo8it
aaf8cad778 Add backtrace to CI 2026-02-26 16:22:27 +01:00
mo8it
8738518699 Use rustlings_dir when deleting the temporary dir before recreating it 2026-02-26 16:21:49 +01:00
mo8it
9011d34987 Swap name and dir to stay consistent with the info file 2026-02-26 16:12:34 +01:00
mo8it
2512701e2f Keep exercise path owned 2026-02-26 16:10:09 +01:00
mo8it
0cbcb8964c Borrow deserialized values 2026-02-26 16:10:09 +01:00
mo8it
13564207cb Update deps 2026-02-26 15:18:08 +01:00
Mo Bitar
fb87a26f4f
Merge pull request #2331 from chapeupreto/minor-improvements
chore: minor improvements
2026-02-21 09:42:47 +01:00
Mo Bitar
87ac600b7c
Merge pull request #2335 from pgoslatara/actup/update-actions-1769087609
chore: Update outdated GitHub Actions versions
2026-01-22 14:32:05 +01:00
Padraic Slattery
1b47fd97c0 chore: Update outdated GitHub Actions versions 2026-01-22 14:13:29 +01:00
Rod Elias
45f789114b
chore: minor improvements 2026-01-12 00:22:59 -03:00
Mo Bitar
7850a73d95
Merge pull request #2324 from JatinSanghvi/main
fix: Match solution files with exercise files
2025-12-22 14:09:00 +00:00
Jatin Sanghvi
1ebb4d25a6 Update solution files to match exercise files 2025-12-19 19:32:24 +05:30
mo8it
b5d440fdc3 Fix clippy3 2025-11-20 12:49:27 +01:00
Mo Bitar
4700e8a12c
Merge pull request #2310 from DerWario/main
fix: mapping typo in the exercieses README.md
2025-11-20 11:39:25 +00:00
Marlon
8753dd6b2e
Fixed typo in the exercieses README.md 2025-11-12 21:58:28 +01:00
Mo Bitar
f80fbca12e
Merge pull request #2294 from senekor/senekor/qxykzqyxnnwy
Remove use of `map` in early vecs2 exercise
2025-09-25 16:55:36 +02:00
Remo Senekowitsch
d8f4b06c91
Remove use of map in early vecs2 exercise
Students do not have the necessary knowledge at this point to understand
what's happening with the iterator combinators. This topic is covered
well by the dedicated exercises about iterators later.

closes #2102
2025-09-24 21:19:40 +02:00
Mo Bitar
1955313362
Merge pull request #2291 from senekor/senekor/llttzkqnommp
Fix workspace detection with windows line endings
2025-09-23 16:18:05 +02:00
Remo Senekowitsch
95a597eb82
Fix workspace detection with windows line endings
Some cargo workspaces may contain windows line endings. Even if the
file is stored in a repo with unix line endings, users may have some
setting activated that automatically translates them to windows line
endings when working locally.
2025-09-23 15:29:26 +02:00
mo8it
2af9e89ba5 chore: Release rustlings-macros-v6.5.0 v6.5.0 2025-08-22 00:05:12 +02:00
mo8it
6ec2e194ae Apply Clippy lints 2025-08-22 00:01:23 +02:00
mo8it
295ad2e4bd Raise MSRV 2025-08-21 23:55:58 +02:00
mo8it
628ef55337 Fix Clippy chapter 2025-08-21 23:46:37 +02:00
mo8it
b6b94e3e96 Sync solution 2025-08-21 23:46:37 +02:00
Mo Bitar
6765a0b61a
Merge pull request #2255 from zeonzip/clarify_errors_4_return
Clarify how to find return type of error4
2025-08-21 23:46:14 +02:00
Mo Bitar
436c95f4cc
Merge pull request #2262 from aCactusOrSomething/main
Fix incorrect book chapter number
2025-08-21 23:36:03 +02:00
Mo Bitar
c6888685e6
Merge pull request #2265 from deafloo/main
Add positive tests in `iterators3.rs`
2025-08-21 23:26:29 +02:00
mo8it
208a593216 Ready to release 2025-08-21 23:17:53 +02:00
mo8it
2d1d531550 Fix file links in VS Code 2025-08-21 23:15:48 +02:00
mo8it
a712e484d0 Update deps 2025-08-18 12:01:21 +02:00
deafloo
4f9f0907c3 Add positive tests
This prevents solving the exercise without a real IntegerOverflow
2025-07-21 12:13:32 +02:00
Hud Miller
3a2fe2c394 Fix incorrect book chapter number 2025-07-18 13:02:56 -05:00
mo8it
f24861957a Check for Clippy on init 2025-07-04 23:35:13 +02:00
mo8it
1a633e2757 Split lines after newline 2025-07-04 23:22:05 +02:00
mo8it
9fecdba101 No need to flush after printing newlines 2025-06-28 02:15:14 +02:00