cloudflare-rs

Crates.iocloudflare-rs
lib.rscloudflare-rs
version0.7.0
sourcesrc
created_at2020-04-10 07:53:33.484273
updated_at2021-08-17 14:04:10.490091
descriptionRust library bindings for Cloudflares v4 API
homepage
repositoryhttps://github.com/shalzz/cloudflare-rs
max_upload_size
id228254
size73,321
Shaleen Jain (shalzz)

documentation

README

cloudflare-rs

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).

Fork

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
Commit count: 179

cargo fmt