Unleash / unleash-client-rust

Unleash client SDK for Rust language projects
Apache License 2.0
23 stars 17 forks source link

Update reqwest dependency to v0.12 #84

Closed kujeger closed 6 months ago

kujeger commented 7 months ago

With Reqwest 0.12 out, this is needed to allow library users to provide their own reqwest 0.12 client.

for example, we had

let client = client::ClientBuilder::default()
    .into_client::<UserFeatures, reqwest::Client>(&api_url, app_name, &instance_id, secret)

Which was no longer working once we upgraded to reqwest 0.12.

kujeger commented 7 months ago

I guess there's some stuff going on with the msrv and features and things -- not sure how this is being handled?

rbtcollins commented 6 months ago

See #85. Your code should just work with this PR, while folk that haven't upgraded will need to change their feature selection