Closed DanielSidhion closed 1 month ago
@DanielSidhion Thank you for providing the improvement. Do you need this to be released soon for your use case of the crate?
@HenningHolmDE no worries, thanks for the review! I'm currently using a patch on my Cargo.toml, so no big rush with a new release. I'll subscribe to new releases of hcloud-rust
so I can clean up the patch in the future.
@DanielSidhion I just released v0.20.1 patching this, sorry for the delay. You should be able to get rid of you patch, now.
No worries, thank you! Just updated things on my side to remove the patch :)
The
reqwest
dependency was specified with all its default features, which includesdefault-tls
. Even by usinghcloud-cloud
with itsrustls-tls
feature wouldn't remove thedefault-tls
dependency.This PR removes the default features of reqwest to avoid the
default-tls
feature. When doing this, we lose some of the other default features, so this PR also lists those features specifically to avoid losing them.