Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
/ replace-await Public archive

Migration tool for replacing await! macro with await syntax.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

taiki-e/replace-await

await! -> .await

Migration tool for replacing await! macro with await syntax.

Usage

In this example, replace-await is cloned in the parent directory of your-project-dir, but adjust the path if necessary.

git clone https://github.com/taiki-e/replace-await.git
cd your-project-dir
cargo run --release --manifest-path ../replace-await/Cargo.toml **/*.rs **/*.md

See rust-lang/futures-rs#1583 for the conversion that this tool did.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Migration tool for replacing await! macro with await syntax.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Languages