This is the first beta release for the 4.0 major version. No further breaking changes are expected until the next major version.
Breaking Changes
- Add
rustls-tls(default) andnative-tlsfeature flags for use withreqwest. Previously, enabling thereqwestfeature flag would always userustls. The default behavior is unchanged, but users that disable the default features and wish to continue usingrustlsmay wish to add therustls-tlsfeature flag to theirCargo.toml. - Expose a
serde_path_to_error::Error<serde_json::Error>>in theRequestTokenError::Parsevariant instead of aserde_json::Error. This change should make JSON deserialization errors easier to diagnose.