Skip to main content

uk_tax/
lib.rs

1//! A Rust library that calculates UK PAYE Income Tax and Class 1 National Insurance contributions with historical tax year support.  
2//!
3//! Supports historical tax years (2011/12 to 2025/26) and allows custom personal allowances to be specified, if needed.
4
5#![deny(missing_docs)]
6
7/// Income Tax calculation function.
8pub mod it;
9
10/// National Insurance calculation function.
11pub mod ni;
12
13/// Definitions of tax years and thresholds.
14pub mod tax_years;