Skip to content

Releases: postcrate/core

v0.1.1

22 May 16:14
e0c5170

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.1.1


Published: postcrate-core 0.1.1 on crates.iodocs.rs

v0.1.0

22 May 15:53

Choose a tag to compare

First release of postcrate-core to crates.io.

A Tokio-native SMTP capture engine for local development, integration tests, and CI. Powers the Postcrate desktop app and ships standalone — no Tauri, no UI, no third-party service.

Install

[dependencies]
postcrate-core = "0.1"

Optional features:

postcrate-core = { version = "0.1", features = ["tls", "specta"] }
Feature Effect
tls Enables STARTTLS and implicit-TLS listeners (RFC 8314). Off by default.
specta Derives specta::Type on every public DTO for TypeScript binding generation.

What's in this release

  • SMTP serverEHLO/HELO, MAIL FROM / RCPT TO, DATA, STARTTLS, AUTH PLAIN/LOGIN, PIPELINING, SIZE, 8BITMIME, SMTPUTF8, ENHANCEDSTATUSCODES.
  • Multi-mailbox lifecycle — primary, shared, and ephemeral mailboxes with TTL-based auto-expiry.
  • MIME parsing via mail-parser with UTF-8 headers, encoded-words, multipart, inline images, attachments.
  • SQLite persistence with WAL, FTS5 search, foreign keys.
  • HTTP API under /api/v1, optional bearer auth, optional HTTPS, server-sent events.
  • Chaos mode for deterministic SMTP failure injection (4xx, 5xx, mid-DATA drops).
  • Bounce rules with glob-pattern matching and custom SMTP reply codes.
  • Webhooks & forwarding to downstream URLs or real SMTP servers.
  • Scenario checks — link extraction, spam heuristics, SPF/DKIM/DMARC, List-Unsubscribe, accessibility lint, 7 client-rendering profiles.
  • Mailtrap-compatible alias at /api/accounts/….

Status

Pre-1.0. The public API may change between 0.x minor versions until 1.0 lands. Already used in production by the Postcrate desktop app.

Links