#calendar #chinese #lunar

lunardate

A Chinese Calendar Library in Rust

9 releases

0.2.1 Nov 24, 2022
0.2.0 Jul 4, 2020
0.1.4 Nov 5, 2018
0.1.3 Oct 7, 2018
0.0.2 Apr 11, 2018

#274 in Date and time

25 downloads per month

MIT license

17KB
360 lines

rust-lunardate

GitHub Actions Crates.io codecov docs.rs

A Chinese Calendar Library in Rust

Limits

This library can only deal with year from 1900 to 2099 (in Chinese calendar).

Installation

Add it to your Cargo.toml:

[dependencies]
lunardate = "0.2"

Add extern crate lunardate to your crate root if you are using Rust 2015 edition and your're good to go!

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Dependencies

~1–6MB
~26K SLoC