Is there a way to remove this line from my program:
#![feature(async_closure)]
and move it to Cargo.toml?
No.