even_any_type 0.0.5

A lightweight Rust crate providing simple, type-specific methods to check if a value is even.
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 120.23 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • had2020/even_any_type
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • had2020

even_any_type

MSRV crates.io Downloads

https://crates.io/crates/even_any_type

A lightweight Rust crate providing simple, type-specific methods to check if a value is even, for all primitive numerical types.

🚀 Usage

Add it to your Cargo.toml:

cargo add even_any_type

Basic usage

fn main() {
  println!("{}", 4.is_even());
  println!("{}", 3.1.is_even());
}

Features

  • Simple and ergonomic
  • No dependencies (just std :C)
  • Minimal footprint

See Github for Up To Date Docs

Leave a star to be a star! ⭐

PRs welcome, keep it simple.