/fizzbuzz

:rocket: :rocket: blazingly fast fizzbuzz program using rust :rocket: :rocket:

Primary LanguageRustMIT LicenseMIT

fizzbuzz

🚀 🚀 blazingly fast fizzbuzz program using rust 🚀 🚀

this is a fizzbuzz CLI. That is overengineered Including:

  • setting starting amount
  • blazingly fast 🚀
  • setting max amount
  • blazingly fast 🚀
  • custom definitions
  • blazingly fast 🚀
  • progress tracking
  • blazingly fast 🚀
  • is also a library
  • blazingly fast 🚀
  • makes use of iterators
  • blazingly fast 🚀
  • tiny (~5kb)

programming stuff about this

  • written in rust
  • crates it uses:
  • 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)