Skip to content

cflockhart/cron-descriptor-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Only English and Spanish are available right now, but translating from the Java properties files to YAML in locales is straightforward.

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages