Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Migration tool for replacing await! macro with await syntax.
Rust Shell
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
ci
src
.editorconfig
.gitattributes
.gitignore
.rustfmt.toml
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md

README.md

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-nursery/futures-rs#1583 for the conversion that this tool did.

License

Licensed under either of

at your option.

Contribution

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.

You can’t perform that action at this time.