loco-rs / loco

🚂 🦀 The one-person framework for Rust for side-projects and startups
https://loco.rs
Apache License 2.0
5.45k stars 235 forks source link

refactor: Use opendal to replace object_store #978

Open Xuanwo opened 1 week ago

Xuanwo commented 1 week ago

Close https://github.com/loco-rs/loco/issues/948

This PR will use opendal to replace object_store.

The most significant change is the addition of the GetResponse struct. After this PR, GetResponse will no longer expose any external types; instead, it will provide its own public API that users can rely on.

cc @jondot to take a review, thank you!


There are many things we can consider, such as enabling logging, tracing, and metrics layers to make our storage driver more production-ready. Perhaps we can discuss this later in a separate issue.

Xuanwo commented 1 day ago

Some tests are failing. I'm working on it.