extended_fizzbuzz 1.0.0

Configurable FizzBuzz library
Documentation
  • Coverage
  • 80%
    8 out of 10 items documented4 out of 5 items with examples
  • Size
  • Source code size: 18.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.03 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • TeFiLeDo/extended_fizzbuzz
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • TeFiLeDo

extended_fizzbuzz Build

Configurable FizzBuzz library.

Installation

[dependencies]
extended_fizzbuzz = "1"

Usage

use extended_fizzbuzz::{fizzbuzz, Matcher};

fn main() {
    let matchers = vec![
        Matcher::new(3, "Fizz").expect("Failed to create `3=Fizz` matcher"),
        Matcher::new(5, "Buzz").expect("Failed to create `5=Buzz` matcher"),
    ];

    fizzbuzz(1, 100, &matchers).expect("FizzBuzzing failed");
}

License

See the license file for details.

Authors

Built with