1 unstable release

new 0.1.0 Dec 11, 2024

#860 in Web programming

Download history 138/week @ 2024-12-09

138 downloads per month

Custom license

38KB
885 lines

Diesel D1 backend + connection

This is a custom backend/connection for Diesel for D1 targeting Cloudflare Workers, at the moment.

IMPORTANT: THIS IS NOT PRODUCTION READY YET, THINGS WILL PROBABLY BREAK (feel free to use it tho).

Compatability

At the moment, this only supports Cloudflare Workers via the D1 binding (therefore, it only supports WASM). Generic support for the HTTP API is coming later.

TO-DO List

  • proper "transaction" support
  • make it more SQLite compatible
  • HTTP API (and allow other targets that do not use WASM)
  • Durable Object sync SQLite support

Dependencies

~17–26MB
~387K SLoC