3347 Commits

Author SHA1 Message Date
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
Piotr Spieker
4817abcc14
Mention struct-like variants in enums2 hint instead of anonymous structs 2026-02-12 12:01:11 +01:00
cheoleon (pstor)
3a00274335
docs: add Korean Rustlings to community exercises list 2026-02-12 17:44:49 +09:00
Dipan Chakraborty
de695c46f3 docs: add str and String documentation links 2026-02-10 19:00:41 +05:30
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
Kivanc
9c78849952 Rust fmt applied 2025-12-12 15:45:09 +03:00
Kivanc
2b79927300 Clippy suggestions implemented 2025-12-12 15:41:31 +03:00
Kivanc
4d461e0381 Error handling methods improved 2025-12-12 14:38:51 +03:00
kivancgnlp
55c6d574f6 Error handling ways updated 2025-12-12 08:42:50 +03:00
kivancgnlp
aef794d020 Cleanup routines added for the created files during runs 2025-12-11 18:43:52 +03:00
Kivanc
8e7e878eab Changes in solutions are reflected to the exercises 2025-12-11 14:16:49 +03:00
Kivanc
c7fd0e4a87 Rustfmt 2025-12-11 14:11:25 +03:00
Kivanc
ce156a349c Checker fixes 2025-12-11 14:07:37 +03:00
Kivanc
cbdc96e6cb Checker fixes 2025-12-11 14:04:16 +03:00
Kivanc
3e52e56a2a Checker fixes 2025-12-11 14:02:26 +03:00
Kivanc
b210fdf9ee Checker fix 2025-12-11 13:56:27 +03:00
Kivanc
2b5356aab5 Checker fixes 2025-12-11 13:54:17 +03:00
kivancgnlp
61824af087 File samples replaced by programatically generated files 2025-12-11 11:20:50 +03:00
kivancgnlp
23c482b72e Update Cargo.toml 2025-12-11 10:53:00 +03:00
kivancgnlp
3314022480 Test properties updated 2025-12-11 10:51:44 +03:00
kivancgnlp
e916628d84 File IO Exercises added and tested 2025-12-11 09:13:20 +03:00
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