Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suyashtnt/fizzbuzz
:rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:
https://github.com/suyashtnt/fizzbuzz
cli fizzbuzz fizzbuzz-rust rust
Last synced: 3 days ago
JSON representation
:rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:
- Host: GitHub
- URL: https://github.com/suyashtnt/fizzbuzz
- Owner: Suyashtnt
- License: mit
- Created: 2021-02-24T16:14:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T10:58:43.000Z (over 1 year ago)
- Last Synced: 2023-04-26T21:38:24.825Z (over 1 year ago)
- Topics: cli, fizzbuzz, fizzbuzz-rust, rust
- Language: Rust
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fizzbuzz
## :rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:this is a fizzbuzz CLI. That is overengineered Including:
- setting starting amount
- blazingly fast :rocket:
- setting max amount
- blazingly fast :rocket:
- custom definitions
- blazingly fast :rocket:
- progress tracking
- blazingly fast :rocket:
- is also a library
- blazingly fast :rocket:
- makes use of iterators
- blazingly fast :rocket:
- tiny (~5kb)## programming stuff about this
- written in rust
- crates it uses:
- - indicatif (https://lib.rs/crates/indicatif) (for progress bar)
- - structopt (https://lib.rs/crates/structopt) (for the CLI)
- works via an iterator(Generator)
- - simply checks for matches in `match_against` and if it matches add the value to the output(This allowed for compound things like `FizzBuzz` to work
- - returns `None` if `current` is equal to `max`
- custom matching uses slices
- - if finds where the `=` sign is and then tries to parse the value before and after the `=`## FAQ
## where macOS build
Non existent for now because github actions are failing. Build it yourself### why?
why not.On a more serious note, this is usually where I test random things and try out new rust utils.
### why not use xxx
use it if you want (but idk when someone will need a fizzbuzz generator)