FlorianUekermann / rustls-acme

Apache License 2.0
136 stars 27 forks source link

Remove implicit async-std dependency #19

Closed FlorianUekermann closed 11 months ago

FlorianUekermann commented 2 years ago

Replace async-h1.

FlorianUekermann commented 2 years ago

I have not been able to find a runtime independent somewhat popular http client library. This took me by surprise. I have an ongoing project for runtime independent http on the server side, which isn't quite production ready yet and it looks like I should add a client.

That'll add a little time on this issue. But it is definitely in the works.

If anyone can recommend a runtime independent async http client I am all ears.

joshtriplett commented 11 months ago

FWIW, async-h1 2.3.4 now no longer depends on async-std, only on the underlying crates like async-io and async-global-executor. This means it should have no additional dependencies when used with smol. (This doesn't help folks using tokio, but it's an improvement for folks using smol without async-std.)

FlorianUekermann commented 11 months ago

the latest release (0.7.5) removes the async-h1 dependency and other runtime dependencies (smol for DirCache)