Crates.io | sieve2workers |
lib.rs | sieve2workers |
version | 0.1.2 |
source | src |
created_at | 2024-04-26 09:35:36.241039 |
updated_at | 2024-04-27 19:47:41.63853 |
description | Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing. |
homepage | |
repository | |
max_upload_size | |
id | 1221251 |
size | 50,018 |
Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
cargo install sieve2workers
sieve2workers input.sieve
Cloudflare Worker:
import { run } from "/path/to/output.js"
export default {
async email(message, env, ctx) {
await run({ message });
}
}