Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cron-descriptor-rust

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

i18n

English, Spanish and Portuguese are currently available, but translating from the Java properties files to YAML in locales is straightforward. Please submit a pull request if you've translated to another language!

Usage

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 * * * * *"));

About

Cron descriptor in Rust, translated from Java

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages