Skip to content

Releases: logankeenan/axum-cloudflare-adapter

0.4.2

20 Apr 00:02
Compare
Choose a tag to compare

Updating dependencies

0.4.1

13 Mar 01:09
Compare
Choose a tag to compare

Fix: Includes dependencies necessary for code generated by worker_route_compat

0.4.0

11 Mar 21:01
Compare
Choose a tag to compare
  • Feature: Creates EnvWrapper to allow worker::Env to be used within Axum state. Note, the EnvWrapper uses unsafe to impl Send and Sync. This is fine because Cloudflare workers are single-threaded.

0.3.0

11 Mar 20:58
Compare
Choose a tag to compare
  • Feature: add #[worker_route_compat] macro. This allows compatibility between Axum's future return types, which expects impl Send and JS types that do not impl Send. Add the macro to the Axum route to make them compatible.

0.2.0

04 Mar 02:39
Compare
Choose a tag to compare
  • BREAKING: public functions will return Result<T, Error> to allow consumers to handle errors rather than panic.
  • PATCH: Update worker to 0.0.13

0.1.0

27 Feb 15:29
Compare
Choose a tag to compare

Initial Release

  • Feature: allows a Cloudflare Worker Request to be converted to an Axum Request
  • Feature: allows an Axum Response to be converted to a Cloudflare Worker Response