Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 490 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 490 Bytes

Axum Cloudflare R2

This repository is an example of a multipart upload to Cloudflare R2 using AWS S3 Rust SDK.

Getting started

Set environment variables.

R2_ACCOUNT_ID=
R2_ACCESS_ID=
R2_ACCESS_SECRET=
R2_BUCKET_NAME=
R2_REGION=

Launch HTTP server with your environment variables loaded. For example using dotenvx.

$ dotenvx run -- cargo run