-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uses multiple http client libraries, none of them much used #374
Comments
Thanks for taking the time to help keep these crates minimal!
|
Really? Where? |
ah, you mean indirectly via the public interface to |
In |
Right: in atomic_lib::client::fetch_body :-) |
Ohhh, now I get your point: in |
I missed that because I only looked for |
hm, no - scratch that - I don't make sense |
was it deliberate that you pushed to a branch for #331 seemingly unrelated to this issue? |
deliberate! |
I still use |
atomic_lib
depends onureq
which (is publicly exposed but internally) seems used only for `validate which seems deprecated (see #61).atomic_server
depends onawc
which seems used only in relation toacme_lib
(which itself depends onureq
so it seems odd a) that extra client calls are even necessary, and b) a different client library is used).It seems sensible to flag the dependency on
awc
as optional, tied to featurehttps
.It seems sensible to use only one http library.
Right now simplest is to drop
awc
sinceureq
is also used byacme_lib
.Smarter might be to drop both
awc
andureq
and instead use generic-async-http-client which is also used byasync-acme
(see #192). If I understand correctly, using that with featuretokio-rustls
reuses most of the underlying libraries.If keeping
ureq
then please consider disabling featurecookies
as (to the best of my knowledge) cookies are not being used neither for accessing atomic servers nor to access Letsencrypt. Then cratecookie_storage
should only get pulled on with featurehttps
(because apparentlyacme_lib
has that feature always enabled).The text was updated successfully, but these errors were encountered: