cloudflare/saffron
关于
The cron parser powering Cron Triggers on Cloudflare Workers
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文saffron is a cron parser used as part of the backend for Cron Triggers in Cloudflare Workers. It provides APIs for the complete stack, allowing us to use the same parser everywhere. It's made in two parts:
The parser, which is responsible for reading cron expressions into an easy to understand format, which can be simplified with the compiler, or described with
CronExpr::describe.The compiler, which simplifies expressions into their most compact form. This compact form can check if a chrono date time is contained in a given expression in constant time, no matter the size of the original expression. It can also be used to get future times that match efficiently as an iterator.
The project itself is divided into 4 Rust workspace members:
- saffron - the parser itself
- saffron-c - the C API used internally by the Workers API
- saffron-web - the web API used on the dash in the browser
- saffron-worker - the Rust Worker which provides the validate/describe endpoint in the dash API on the edge as a fallback if WASM can't be used in the browser
探索相关项目
加载中…