Skip to content

Conversation

@SeeRich
Copy link

@SeeRich SeeRich commented Jan 22, 2026

This is a minimal example of using Rust (Axum) with Cloudflare containers. This is a direct copy of the existing "basic" example implemented with Go.

This runs locally and the container returns the same result as the basic example; however, when deployed, I only get 404 when making the request: GET <worker_dev_url.worker.dev>/container/1

I would love to contribute a rust based example but first I need to figure out why this doesn't work. The container code is very basic and seems identical to the Go version?

@SeeRich SeeRich requested a review from a team as a code owner January 22, 2026 16:10
@SeeRich
Copy link
Author

SeeRich commented Jan 25, 2026

The 404 error mentioned above has been fixed (need to open my eyes and read the error message in the container logs)...

All together, I believe this is a good Rust (+Axum) example and the image is 1/3 the size of the Go version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant