4 releases

0.7.0 Aug 17, 2021
0.6.8 Aug 12, 2021
0.6.6 Apr 10, 2020
0.6.5 Apr 10, 2020

#34 in #cloudflare

29 downloads per month
Used in flary


1.5K SLoC


Rust library for the Cloudflare v4 API

Cloudflare's crates.io badge Cloudflare's docs.rs badge

⚠️ This library is a Work in Progress! ⚠️

This library provides convenience functions that wrap the Cloudflare API.

It provides two client implementations (asynchronous vs blocking). However, projects targeting wasm32 only get the asynchronous one (as it does not make sense to block in that target).


This is a fork of the cloudflare crate. I've tried upstreaming my patches but they have not yet been merged and release.

This might not grow beyond my personal fork with few bug fixes but I do intend to make some architectural changes that some might find useful.

Few Opinionated changes:

  • Only Async Api
  • Uses surf instead of reqwest allowing you to choose your own async runtime (smol, tokio, async_std)
  • Surf features like rustls, hyper-rs, etc
  • Better error handling?
  • Extensive debug and info logs with log


~319K SLoC