A Rust library that converts cron expressions into human-readable strings. Translated from the Java version at https://github.com/grahamar/cron-parser Original Project in C#, on which the Java version is based: https://github.com/bradymholt/cron-expression-descriptor
Only English and Spanish are available right now, but translating from the Java properties files to YAML in locales
is straightforward.
See tests/tests_*.rs
. E.g.
use cron_descriptor::cronparser::cron_expression_descriptor;
assert_eq!("Every 45 seconds", cron_expression_descriptor::get_description_cron("*/45 * * * * *"));