Skip to content

Conversation

@djc
Copy link
Contributor

@djc djc commented Oct 24, 2025

Instead of colliding Impl type aliases for http-client-curl and http-client-reqwest, prefer curl (the one that is enabled by default) if both are available.

* Provide a clearer name to the request connection.
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, much appreciated!

Comment on lines -219 to -224
#[cfg(feature = "http-client-curl")]
pub type Impl = curl::Curl;
/// The actual http client implementation, using reqwest
#[cfg(feature = "http-client-reqwest")]
pub type Impl = reqwest::Remote;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially I wanted to bring Impl back as it's a nice way to get the implementation of what's actually implemented, but then I realised that this is quite an implementation detail and it's probably unused outside of this crate anyway.

@Byron Byron enabled auto-merge October 26, 2025 03:58
@Byron Byron merged commit f02f215 into GitoxideLabs:main Oct 26, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants