durch / rust-s3

Rust library for interfacing with S3 API compatible services
MIT License
519 stars 198 forks source link

Add ability to specify custom http client #387

Open MrFoxPro opened 5 months ago

MrFoxPro commented 5 months ago

I want to be able to connect to my s3 instance via unix domain socket, so it would be nice to have feature to configure or specify custom http client to achieve this.

durch commented 3 months ago

@MrFoxPro I was thinking about something like that a while ago, it would to be done in a similar fashion to the way async runtimes are implemented, ie a Trait, and then implementations for specific clients. I might come up with a trait and implementations for different clients, so folks could contribute implementations for different clients.