An open API service indexing awesome lists of open source software.

https://github.com/doumanash/cronchik

Cron expression parser
https://github.com/doumanash/cronchik

cron rust

Last synced: 2 months ago
JSON representation

Cron expression parser

Awesome Lists containing this project

README

        

# cronchik

[![Crates.io](https://img.shields.io/crates/v/cronchik.svg)](https://crates.io/crates/cronchik)
[![Documentation](https://docs.rs/cronchik/badge.svg)](https://docs.rs/crate/cronchik/)
[![Build](https://github.com/DoumanAsh/cronchik/workflows/Rust/badge.svg)](https://github.com/DoumanAsh/cronchik/actions?query=workflow%3ARust)

Cron expression parser.

## Syntax

```
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday)
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
```

## Features

- `std` - Enables use of `std` library types and traits.
- `serde` - Enables serialization/deserialization.
- `time` - Enables schedule calculation using `time` crate.