postgrest-rs
postgrest-rs copied to clipboard
Expose the reqwest::Error
trafficstars
Feature request
Export the reqwest::Error
Is your feature request related to a problem? Please describe.
I was trying to map the Error and realized that the error in the Result that is returned by execute is the reqwest::Error but I don't have access to it unless I add the reqwest crate to my project. This may lead to incompatibility in certain cases and should be avoided.
Describe the solution you'd like
add pub use reqwest::Error to lib.rs
Describe alternatives you've considered
Manually adding the reqwest crate
Please fix this, because at the moment we cannot upgrade reqwest to the latest version.