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,alarmand 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.