chore: migrate to object_store
Move to the more modern and maintained object_store library to access generic buckets. We should be able also to do streaming of files now, and proceed by implementing paginated results for listings if we want. Fixes #1.
This commit is contained in:
parent
996be0f6df
commit
63029c8b8e
7 changed files with 409 additions and 455 deletions
|
@ -5,6 +5,7 @@ mod minio;
|
|||
|
||||
use {
|
||||
anyhow::{Result, anyhow},
|
||||
object_store::ObjectStore,
|
||||
reqwest::Url,
|
||||
std::{ptr::null_mut, str::FromStr},
|
||||
testcontainers::{ContainerAsync, runners::AsyncRunner},
|
||||
|
@ -13,7 +14,7 @@ use {
|
|||
|
||||
pub struct Test {
|
||||
pub base_url: Url,
|
||||
pub bucket: Box<s3::Bucket>,
|
||||
pub bucket: Box<dyn ObjectStore>,
|
||||
pub serves3: tokio::process::Child,
|
||||
pub _minio: ContainerAsync<minio::MinIO>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue