do-proxy 0.1.0

A library for writing type-safe Durable Objects in Rust.
Documentation

do-proxy

A library for writing type-safe Durable Objects (DOs) in Rust.

With do-proxy you can:

  • Easily write type-safe APIs for Durable Objects.
  • Abstract over fetch, alarm and request-response glue code.

Overview

do-proxy provides a core trait [DoProxy] that abstracts over ser/de request response code, object initalization and loading, and Error handling glue code.

After a struct implements [DoProxy], the macro [do_proxy!] creates the workers-rs' #[DurableObject] struct which ends up generating the final object.

See [DoProxy] for more details.