#chinese #calendar #lunar

lunardate

A Chinese Calendar Library in Rust

8 releases

0.2.0 Jul 4, 2020
0.1.4 Nov 5, 2018
0.1.3 Oct 7, 2018
0.1.2 Aug 28, 2018
0.0.2 Apr 11, 2018

#83 in Date and time

Download history 10/week @ 2021-02-20 6/week @ 2021-02-27 2/week @ 2021-03-06 1/week @ 2021-03-13 25/week @ 2021-03-20 17/week @ 2021-03-27 18/week @ 2021-04-03 14/week @ 2021-04-10 13/week @ 2021-04-17 2/week @ 2021-04-24 10/week @ 2021-05-01 1/week @ 2021-05-08 9/week @ 2021-05-15 2/week @ 2021-05-22 2/week @ 2021-05-29 10/week @ 2021-06-05

51 downloads per month

MIT license

16KB
359 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

~1MB
~12K SLoC