-1

I am trying to create an API to use minio with a Rust backend. I tried following this post as a starting point but it gives me the error

       | use minio::s3::http::BaseUrl;
       |     ^^^^^ use of undeclared crate or module `minio`

I searched for the correct dependency to add to my cargo.toml file, but again I came across this thread in which the last comment indicates the library is not ready to be used yet.

I am unsure at this point how to move forward. Is it possible to use minio with Rust? If so could anybody help with a more detailed tutorial or documentation please?

Thanks in advance!

jthulhu
  • 7,223
  • 2
  • 16
  • 33
Sathya
  • 105
  • 2
  • 15
  • If/since MinIO is supposed to be S3 compatible, any S3 client library should do... – AKX Aug 22 '23 at 02:44

1 Answers1

1

If the crate is not available at crates.io, you can specify it from a git repository as per the documentation.

[dependencies]
minio = { git = "https://github.com/minio/minio-rs.git" }
Samy Rahmani
  • 320
  • 1
  • 7