I am currently in the process of adding async/await support to the oauth2 crate. Now the question came up how to keep this downwards compatible for Rust 1.34 .
I have feature gated the use of futures-0.3 but run in the following issue when attempting to compile using Rust 1.34. How can I continue to support Rust 1.34, assuming the user continues to use futures 0.1 and no async await?
cargo +1.34.0 check Checking oauth2 v3.0.0-alpha.5 error[E0721]: `await` is a keyword in the 2018 edition --> src/reqwest.rs:96:10 | 96 | .await | ^^^^^ help: you can use a raw identifier to stay compatible: `r#await`