diff --git a/CHANGELOG.md b/CHANGELOG.md index b9d0f2bb..944e2421 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - ([#384](https://github.com/ramsayleung/rspotify/pull/384)) Add STB alias for Stb device type, fix for `json parse error: unknown variant STB`. - ([#386](https://github.com/ramsayleung/rspotify/pull/386)) Support `BaseClient::artist_albums` with zero or more `AlbumType`. - ([#393](https://github.com/ramsayleung/rspotify/pull/393)) Add `ureq-rustls-tls-native-certs` feature flag. +- ([#402](https://github.com/ramsayleung/rspotify/pull/402)) Add `ureq-native-tls` feature flag. **Bugfixes** - ([#394](https://github.com/ramsayleung/rspotify/pull/394)) Set a common 10 second timeout for both http clients. diff --git a/Cargo.toml b/Cargo.toml index e8014abd..40e88026 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,6 +72,7 @@ reqwest-native-tls-vendored = ["rspotify-http/reqwest-native-tls-vendored"] # Same for ureq. ureq-rustls-tls = ["rspotify-http/ureq-rustls-tls"] ureq-rustls-tls-native-certs = ["rspotify-http/ureq-rustls-tls-native-certs"] +ureq-native-tls = ["rspotify-http/ureq-native-tls"] # Internal features for checking async or sync compilation __async = ["futures", "async-stream", "async-trait"] diff --git a/rspotify-http/Cargo.toml b/rspotify-http/Cargo.toml index c5e29229..7215b3bf 100644 --- a/rspotify-http/Cargo.toml +++ b/rspotify-http/Cargo.toml @@ -47,6 +47,7 @@ reqwest-native-tls-vendored = ["reqwest/native-tls-vendored"] # Same for ureq. ureq-rustls-tls = ["ureq/tls"] ureq-rustls-tls-native-certs = ["ureq/tls", "ureq/native-certs"] +ureq-native-tls = ["ureq/native-tls"] # Internal features for checking async or sync compilation __async = ["async-trait"]