https://github.com/vijayksingh/rust-kata
Katas / TDD Exercises created for practicing Rust FP concepts
https://github.com/vijayksingh/rust-kata
katas rust rust-practice rustlings tdd-kata
Last synced: about 1 month ago
JSON representation
Katas / TDD Exercises created for practicing Rust FP concepts
- Host: GitHub
- URL: https://github.com/vijayksingh/rust-kata
- Owner: vijayksingh
- Created: 2023-09-18T11:58:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-18T15:37:54.000Z (over 1 year ago)
- Last Synced: 2025-01-24T12:28:34.351Z (3 months ago)
- Topics: katas, rust, rust-practice, rustlings, tdd-kata
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Rust Kata
## Description
This is a kata to learn Rust. Tried to mimic rustlings.
This is to pick up rust syntax and concepts (iterator and vector methods).Methods covered:
- map
- flat_map
- filter
- collect
- iter
- for_each
- fold## How to use
1. Clone this repo
2. Run `RUSTFLAGS="--allow dead_code" cargo tests` to run all tests## Possible improvements
- [ ] Add more tests
- [ ] Add more exercises (reduce is missing)
- [ ] Cover standard library
- [ ] Sequence (Vec, VecDeque, LinkedList)
- [ ] Maps (HashMap, BTreeMap)
- [ ] Sets (HashSet, BTreeSet)
- [ ] Misc (BinaryHeap)## Resources
Visit https://practice.rs/ for similar exercises on core rust concepts.