tktax-year 0.2.2

A library for enumerating and managing tracked fiscal years.
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 0 items with examples
  • Size
  • Source code size: 75.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.49 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 22s Average build duration of successful builds.
  • all releases: 1m 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • klebs6

tktax-year

Overview
tktax-year is a Rust library that provides an enumeration, TrackedYear, for representing and handling different calendar years relevant to a tax-oriented workflow. It is designed for robust, production-grade usage and can be easily integrated into broader financial or compliance systems.

Features include:

  • Enumerated Year Options: Comprehensive enumeration of years, allowing for strong type guarantees.
  • Production-Ready Design: Emphasizes safe error handling and convenient default behavior.
  • Efficient and Minimal: Implements lightweight logic that compiles quickly and performs reliably.

Usage

Add the following to your Cargo.toml:

[dependencies]
tktax-year = "0.1.0"

In your Rust code:

use tktax_year::TrackedYear;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let current_year = TrackedYear::default(); 
    // default is TrackedYear::Twenty24
    println!("The tracked year is: {}", current_year.value()); 
    Ok(())
}

Contributing

Contributions are welcome! Please open issues or submit pull requests on the GitHub repository.

License

This project is licensed under the MIT License.