summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-08-20Improve readabilitymo8it
2024-08-20Improve error message if no exercise existsmo8it
2024-08-20Check if exercise doesn't contain testsmo8it
2024-08-20Check for `#[test]` with newline at the endmo8it
2024-08-20Remove `--show-output` for tests and use `--format pretty`mo8it
2024-08-19Show progress of `dev check`mo8it
2024-08-19"Continue at" quits the listmo8it
2024-08-17Break help footer on narrow terminalsmo8it
2024-08-17Restore the terminal after an error in the listmo8it
2024-08-17Disable mouse in the listmo8it
2024-08-17q only quits the listmo8it
2024-08-17Make it clear that reset only resets one exercisemo8it
2024-08-17Ignore stdout of git initmo8it
2024-08-09Update Ratatuimo8it
2024-08-09Hide stderr of `cargo locate-project`mo8it
2024-08-09Put Cargo.toml in ``mo8it
2024-08-09Add a special confirmation for initialization in a workspacemo8it
2024-08-09Fix typosmo8it
2024-08-09Improve initialization in a Cargo workspacemo8it
2024-08-09Check the status of the `cargo metadata` commandmo8it
2024-08-08Use fixed seeds with ahashmo8it
2024-08-08Merge pull request #2076 from senekor/remo/snryotxotoxvMo
Improve initialization in workspace
2024-08-08Merge pull request #2075 from senekor/remo/swzqnkxqzutwMo
Replace hashbrown with ahash
2024-08-08Show the exercise name in the waiting messagemo8it
2024-08-08Show a message before running the exercisemo8it
2024-08-08Attach error message as contextmo8it
2024-08-08Improve initialization in workspaceRemo Senekowitsch
- Detect if we are in a cargo project more reliably. (e.g. if `rustlings init` is run in the `src/` directory) - Refuse to initialize rustlings in a non-workspace cargo project. - Automatically populate the `workspace.members` field if `rustlings init` is run in a workspace. This may be considered risky, as there is no guarantee that's what the user wanted to do. However, it is consistent with the behavior of `cargo new`. Also, newcomers to Rust are unlikely to accidentally be in a cargo workspace, as they won't know how to create one in the first place. The use case for initialization in a workspace is when a workshop organizer wants to use rustlings alongside other exerices and provide a single repository with everything in one place.
2024-08-08Replace hashbrown with ahashRemo Senekowitsch
hashbrown is already used in the standard library, but we want the improved performance of the different hash algorithm. Using ahash directly conveys this intent more clearly.
2024-08-08Allow initialization in a workspacemo8it
2024-08-08Fix errors not being shown after the welcome messagemo8it
2024-08-08Add README to the solutions dirmo8it
2024-08-08Remove state file and solutions dir from .gitignoremo8it
2024-08-07Avoid using `RUSTFLAGS` to not trigger rebuilding, especially in rust-analyzermo8it
2024-08-07Fix exercise name shift in exercise checkmo8it
2024-08-02Use `trim_ascii` instead of `trim`mo8it
2024-08-02Stop on first exercise solvedmo8it
2024-08-01Remove newlinemo8it
2024-08-01Fix rustfmt optionmo8it
2024-08-01Fix testsmo8it
2024-08-01Run rustfmt on solutions in `dev check`mo8it
2024-08-01Refactor check_solutionsmo8it
2024-08-01Improve the runnermo8it
2024-08-01Hide `cargo build` warnings if there is no outputmo8it
2024-08-01Fix capacitymo8it
2024-08-01Add hint to run `dev check` again after `dev update`mo8it
2024-08-01Set stdin to null when running the binary of an exercisemo8it
2024-07-28Make the output optionalmo8it
2024-07-28Run the final check in parallelmo8it
2024-07-25Use the rexported crossterm from ratatuimo8it
2024-07-25Test initializationmo8it