Rust port of KosherJava: Jewish holidays, zmanim for your location, and daily learning schedules like Daf Yomi and Pirkei Avos.
Examples and API reference: docs.rs/kosher-rust.
cargo add kosher-rust jiffalloc(default) — Zman preset descriptions; without it the crate staysno_stdand calculation APIs are unchangeddefmt—defmt::Formaton calculator, config, location, and error types
Licensed under the GNU Lesser General Public License v2.1 — see LICENSE.
This project is based on the KosherJava project by Eliyahu Hershfeld.
To update the project to the latest version of KosherJava, run the following command:
git subtree pull --prefix=third-party/kosher-java https://github.com/KosherJava/zmanim master --squashThen add the zmanim definitions to /tools/dsl.py and run tools/generate-rust.py to update the Rust code.
In some instances, you may need to add features to the DSL to support the new zmanim.
Updates to preset documentation should be made in /tools/dsl.py as well.
We are currently tracking commit c44b0bd of KosherJava.
There are some parts of KosherJava which have not been ported to Rust yet.
These may happen someday or never. If you need them, please open an issue and we'll see what we can do.
JewishCalendar.getTekufaJewishCalendar.getTekufaAsInstantZmanimFormatterTefilaRulesHebrewDateFormatter