holidays 0.1.0

Rust library to provide accurate and up-to-date holiday dates based on Python holidays package
Documentation
use chrono::NaiveDate;
use holidays::Country;

fn main() -> anyhow::Result<()> {
    holidays::Builder::new()
        .countries(&[Country::JP])
        .years(2022..2023)
        .init()?;

    let d = NaiveDate::from_ymd_opt(2022, 1, 1).expect("Invalid date");
    println!(
        "Is {d} a holiday in Japan? Answer is {}",
        holidays::contains(Country::JP, d)?
    );

    println!("{:?}", holidays::get(Country::JP, d)?.unwrap());

    Ok(())
}