3 releases (1 stable)

Uses old Rust 2015

1.0.0 Jan 6, 2017
0.1.1 Mar 31, 2016
0.1.0 Mar 30, 2016

#76 in Date and time

50 downloads per month
Used in 7 crates (4 directly)

MIT license

7KB
116 lines

Computus

Clippy Linting Result

Computus Easter calculation in Rust

Usage

Add this to your Cargo.toml:

[dependencies]
computus = "^0.1"

and this to your crate root:

extern crate computus;

then you can find when Easter is for a particular year with:

// For Gregorian calendars
let (month, day) = computus::gregorian::month_day(2016);
// For Julian calendars
let (month, day) = computus::julian::month_day(2016);

No runtime deps