summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-06chore: release 5.2.1mokou
2022-08-27chore: release 5.2.0mokou
2022-08-18chore: Add suggested changesmagnusrodseth
2022-08-17feat: Add reset command, given a filenamemagnusrodseth
2022-08-17chore: release 5.1.1mokou
2022-08-16chore: bump versionmokou
2022-07-16chore: bump versionmokou
2022-07-11chore: remove mod.rs files and exercises featuremokou
2022-07-11Merge pull request #1038 from KatanaFluorescent/mainliv
change edition to 2021 in exercices.rs
2022-07-01change edition to 2021 in exercices.rs KatanaFluorescent
workaround for this issue https://github.com/rust-lang/rustlings/issues/1022
2022-07-01chore: bump versionmokou
2022-06-17Add lsp command to fix rust-analyzerJack Clayton
2022-04-20Merge branch 'main' into progress-indicatorRyan Lowe
2022-04-20chore: bump versionmokou
Plus, remove the clog configuration file, since that's not being used anymore.
2022-04-20chore: bump library versionsmokou
2022-04-14chore: bump versionmokou
2022-04-04Merge pull request #738 from apogeeoak/textdiannasoreil
fix(cli): Move long text strings into constants.
2022-03-29fix: Include exercises folder in the project structure behind a feature (#917)x-hgg-x
closes #859 closes #913 closes #942
2022-02-05feat!: Add progress indicatorRyan Lowe
closes #360 BREAKING CHANGE: verify() has a new function signature so it can know the current completion progress
2022-02-04Merge branch 'main' into textapogeeoak
2022-02-04fix(clippy1): Set clippy::float_cmp lint to deny (#907)radicale
2021-12-24chore : replace filter_map() with find_map()Galih wisnuaji
2021-09-25release: 4.6.0ana
2021-09-24feat: Add "quit" command to `rustlings watch`Antoine Busch
closes: #842
2021-09-24Merge pull request #846 from rust-lang/feat/add-more-watch-commandsdiannasoriel
feat: add more watch commands
2021-09-24chore: improve println! usageana
2021-09-21fix(cli): typo in exercise.rs (#848)LIU JIE
2021-09-21feat: add more watch commandsana
Includes: - quit, to quit the shell instead of having to press Cmd/Ctrl-C or Cmd/Ctrl-D - help, to display an overview of all the commands available in watch mode. Closes #842.
2021-08-24 fix(cli): remove unnecessary borrows (#829)Ben Armstead
* Update dependencies * Format better and remove unnecessary borrows
2021-07-07release: 4.5.0ana
Signed-off-by: ana <ana@ana.st>
2021-06-30feat(cli): Add "next" to run the next unsolved exercise. (#785)Richthofen
* Add "run next" to run the next unsolved exercise. * Fix a grammar error in the message. * Update README.md with the suggested change Co-authored-by: marisa <mokou@fastmail.com> * Update the README.md for "rustlings hint next". Co-authored-by: marisa <mokou@fastmail.com>
2021-04-27fix(cli): Move long text strings into constants.apogeeoak
2021-04-24release: 4.4.0mokou
2021-04-23chore(watch): add hint for the exercises README.mdZerotask
rustlings watch will now show an additional hint for the corresponding README.me
2021-04-21fix(main): Let find_exercise work with borrowsmokou
2021-04-21feat: Replace clap with arghmokou
I’ve been wanting to do this for a while, but always procrastinated on it. We’ve been using Clap since the 2.0 rewrite, but Clap is known to be a fairly heavy library. Since Rustlings is usually peoples’ first contact with a Rust compilation, I think it’s in our best interests that this complation is as fast as possible. In effect, replacing Clap with the smaller, structopt-style `argh` reduces the amount of crates needing to be compiled from 82 to 60. I also think this makes the code way easier to read, we don’t need to use Clap’s methods anymore, but can switch over to using pure Rust methods, e.g., switches are booleans, options are Option<String>s or the like, and subcommands are just structs.
2021-04-19feat(list): updated progress percentagePatrick Hintermayer
2021-04-18style: formatted files with rustfmtZerotask
2021-04-18feat(list): added progress infoZerotask
Added a progress info at the bottom of the list for command: rustlings list closes #705
2021-03-20refactor: change from match to if for NO_EMOJIMatt Lebl
2021-03-19feat: Replace emojis when NO_EMOJI env variable presentMatt Lebl
2021-03-12chore: fix typocircumspect
Co-authored-by: Chenkail <40770208+Chenkail@users.noreply.github.com>
2021-02-24fix: Spelling errorLarry Garfield
2021-02-09chore: Updated source to follow clippy suggestions.apogeeoak
2021-01-08feat(cli): Improve the list command with options, and then someAbdou Seck
1. `rustlings list` should now display more than just the exercise names. Information such as file paths and exercises statuses should be displayed. The `--paths` option limits the displayed fields to only the path names; while the `--names` option limits the displayed fields to only exercise names. You can also control which exercises are displayed, by using the `--filter` option, or the `--solved` or `--unsolved` flags. Some use cases: - Fetching pending exercise files with the keyword "conversion" to pass to my editor: ```sh vim $(rustlings list --filter "conversion" --paths --unsolved) ``` - Fetching exercise names with keyword "conversion" to pass to `rustlings run`: ```sh for exercise in $(rustlings list --filter "conversion" --names) do rustlings run ${exercise} done ``` 2. This should also fix #465, and will likely fix #585, as well. That bug mentioned in those issues has to do with the way the `watch` command handler fetches the pending exercises. Going forward, the least recently updated exercises along with all the other exercises in a pending state are fetched.
2021-01-08Add looks_done method to Exercise to expose a resolution stateAbdou Seck
2020-12-29release: 4.3.0mokou
2020-11-11feat: Crab? (#586)Brock
Crab?
2020-11-10feat: add "rustlings list" commandCaleb Webber
2020-11-05fix: log error output when inotify limit is exceededCaleb Webber
closes #472