In order to improve flexibility for library users, it would be nice for ex_aws_s3 to support several HTTP client libraries rather than only hackney.
In recent years, a useful pattern has emerged where library authors support multiple HTTP client libraries via shim modules and the use of optional: true in their library mix.exs. Doing this allows application authors to standardize on a single HTTP client library dependency.
I'm willing to create a PR for this change, but I wanted to document it here first in case someone else had additional input (or a ready to go PR!).
In order to improve flexibility for library users, it would be nice for
ex_aws_s3to support several HTTP client libraries rather than onlyhackney.In recent years, a useful pattern has emerged where library authors support multiple HTTP client libraries via shim modules and the use of
optional: truein their library mix.exs. Doing this allows application authors to standardize on a single HTTP client library dependency.I'm willing to create a PR for this change, but I wanted to document it here first in case someone else had additional input (or a ready to go PR!).