to use `async fn`, switch to Rust 2018 or later
I’m trying to compile a lib in rust and I get the following error: to use `async fn`, switch to Rust 2018 or later This is my cargo.toml: [package] name = "name" version = "0.1.0" edition = "2018" and to compile I use the following command line (documentation here): rustc –crate-type=lib src/apis/my_file.rs does anyone have… Read More to use `async fn`, switch to Rust 2018 or later