Describe the idea
There is a hard dependency on Faraday. It is required within http_transport.rb which gets required automatically by transport.rb, even if you don't intend to use the HTTPTransport class.
Why do you think it's beneficial to most of the users
The SDK provides the ability to specify a custom transport (which was really helpful) but sort of defeats the purpose when you have a hard dependency that never gets used. There are also other http gems that people may be using and might not want to require additional http libraries.
Possible implementation
Either remove the hard dependency on requiring Faraday (call require as needed before initializing an http client). Or remove the hard dependency on requiring http_transport.rb.
Describe the idea
There is a hard dependency on Faraday. It is required within
http_transport.rbwhich gets required automatically bytransport.rb, even if you don't intend to use theHTTPTransportclass.Why do you think it's beneficial to most of the users
The SDK provides the ability to specify a custom transport (which was really helpful) but sort of defeats the purpose when you have a hard dependency that never gets used. There are also other http gems that people may be using and might not want to require additional http libraries.
Possible implementation
Either remove the hard dependency on requiring Faraday (call require as needed before initializing an http client). Or remove the hard dependency on requiring
http_transport.rb.