Skip to content

v1.0.1 · Rust core · Node, Bun, Deno

Email infrastructure, engineered for efficiency, reliability, precision and simplicity.

A Rust core, a Node-API addon and a typed SDK. One transport that queues, pools its sessions, and reports exactly what the relay said.

Quick start Architecture

The native addon ships per platform, with no Rust toolchain and no build step on your side.

  • 7 native targets, one install
  • 32 maximum concurrent sends
  • 120 s bounded total send budget
  • 100 recipients per message

Two commands, and the native addon comes with the package. No Rust toolchain, no build step, no postinstall download on your side.

Terminal window
npm install @sendust/ts

Efficiency is an engineering decision, not a marketing slogan.

The SMTP engine, MIME composition and address validation are Rust, compiled per platform and reached through one Node-API bridge. No worker process, no JavaScript sitting between your call and the socket. The architecture overview says where each responsibility sits.

The journey of one send

Six stops between your call and the relay's answer

Each stop below is a stage the engine really has. Pick one to read what happens inside it, or walk the whole run.

Options settled before any socket exists

The caller names the relay, the TLS mode, the auth, the budgets and the caps. Timeout ordering is checked here: the connect and operation budgets may not exceed the total, and the close budget may not sit under it. A configuration that cannot work fails now, not after a socket exists.

  • TLS or STARTTLS, both verified
  • connect 10 s, operation 30 s, total 120 s
  • close drain 125 s

6 stages, one transaction. No worker process, no scheduler, and no persistence layer sits in between; queueing beyond one transport stays the caller's job.

Runtime Version the project pins Notes
Node.js >=22.23.5 None
Bun 1.4.4 None
Deno 2.9.8 --allow-ffi --allow-read, plus --allow-net if your code opens sockets
Native targets seven linux-x64-gnu, linux-arm64-gnu, linux-x64-musl, linux-arm64-musl, macos-arm64, macos-x64, windows-x64

Anything outside those targets fails closed at createTransport with CONFIG_NATIVE_UNAVAILABLE, naming the package you would need. The detail lives in the quick start.

Built in the open

Created and maintained by

Fandoy

Hi, i love cars

23 followers 151 public repositories

Start here

Send your first message in about five minutes.

Quick startRead the architecture

Every page here is rendered from fandyajpo/sendust@v1.2.1, the source of truth. We just make it look good; fixes go there, not here.