3 releases
0.1.2 | Apr 27, 2024 |
---|---|
0.1.1 | Apr 26, 2024 |
0.1.0 | Apr 26, 2024 |
#67 in Email
33KB
855 lines
sieve2workers
Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
Install
cargo install sieve2workers
Usage
sieve2workers input.sieve
Cloudflare Worker:
import { run } from "/path/to/output.js"
export default {
async email(message, env, ctx) {
await run({ message });
}
}
Dependencies
~6–15MB
~153K SLoC