{"id":21995399,"url":"https://github.com/dten/computus","last_synced_at":"2025-04-30T17:28:42.901Z","repository":{"id":57609836,"uuid":"55088957","full_name":"dten/computus","owner":"dten","description":"Computus Easter calculation in Rust","archived":false,"fork":false,"pushed_at":"2023-03-25T15:55:06.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T11:55:54.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dten.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-30T18:53:01.000Z","updated_at":"2024-08-10T22:45:04.000Z","dependencies_parsed_at":"2022-08-27T11:33:16.449Z","dependency_job_id":null,"html_url":"https://github.com/dten/computus","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dten%2Fcomputus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dten%2Fcomputus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dten%2Fcomputus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dten%2Fcomputus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dten","download_url":"https://codeload.github.com/dten/computus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227215001,"owners_count":17748961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T21:14:51.630Z","updated_at":"2024-11-29T21:14:52.266Z","avatar_url":"https://github.com/dten.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Computus\n[![crates.io](https://img.shields.io/crates/v/computus.svg)](https://crates.io/crates/computus)\n[![Documentation](https://docs.rs/computus/badge.svg)](https://docs.rs/computus)\n\nComputus Easter calculation in Rust\n\n## Usage\n\nAdd this to your Cargo.toml:\n\n```toml\n[dependencies]\ncomputus = \"1.1.0\"\n```\n\nYou can find when Easter Sunday is for a particular year with:\n\n```rust\n// For Gregorian calendars\nlet easter = computus::gregorian(2016).unwrap();\nassert_eq!((easter.month, easter.day), (3, 27));\n// For Julian calendars\nlet easter = computus::julian(2016).unwrap();\nassert_eq!((easter.month, easter.day), (4, 18));\n// With `chrono` feature\n#[cfg(feature = \"chrono\")] {\n    use chrono::Datelike;\n    let easter = computus::gregorian_naive(2023).unwrap();\n    assert_eq!((easter.month(), easter.day()), (4, 9));\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdten%2Fcomputus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdten%2Fcomputus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdten%2Fcomputus/lists"}