sieve2workers

Crates.iosieve2workers
lib.rssieve2workers
version0.1.2
sourcesrc
created_at2024-04-26 09:35:36.241039
updated_at2024-04-27 19:47:41.63853
descriptionConvert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
homepage
repository
max_upload_size
id1221251
size50,018
Sven Sauleau (xtuc)

documentation

README

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 });
  }
}
Commit count: 0

cargo fmt