Year Helper
This library provides some useful functions to deal with years.
Usage
let year = 2020;
let month = 2;
let leap_year = is_leap_year;
let days_in_month = get_days_in_month;
let days_in_year = get_days_in_year;
// or use the following functions if the year has been determined whether it is a leap year
let days_in_month = get_days_in_month_2;
let days_in_year = get_days_in_year_2;
Crates.io
https://crates.io/crates/year-helper