Skip to content

roushou/axum-cloudflare-r2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Axum multipart upload to Cloudflare R2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages