├── .github ├── dependabot.yml └── workflows │ └── linux.yml ├── .gitignore ├── .rustfmt.toml ├── .standard-version └── cargo-updater.js ├── .versionrc ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── README.tpl ├── examples └── service_client.rs ├── src ├── lib.rs ├── parse.rs └── visit.rs └── tests ├── test.rs ├── ui ├── 01-maybe-async.rs ├── 02-must-be-async.rs ├── 03-must-be-sync.rs ├── 04-unit-test-util.rs ├── 05-replace-future-generic-type-with-output.rs ├── 06-sync_impl_async_impl.rs └── test_fail │ ├── 01-empty-test.rs │ ├── 01-empty-test.stderr │ ├── 02-unknown-path.rs │ ├── 02-unknown-path.stderr │ ├── 03-async-gt2.rs │ ├── 03-async-gt2.stderr │ ├── 04-bad-sync-cond.rs │ └── 04-bad-sync-cond.stderr └── unit-test-util.rs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.github/workflows/linux.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /.standard-version/cargo-updater.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.standard-version/cargo-updater.js -------------------------------------------------------------------------------- /.versionrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/.versionrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/README.md -------------------------------------------------------------------------------- /README.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/README.tpl -------------------------------------------------------------------------------- /examples/service_client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/examples/service_client.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/src/parse.rs -------------------------------------------------------------------------------- /src/visit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/src/visit.rs -------------------------------------------------------------------------------- /tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/test.rs -------------------------------------------------------------------------------- /tests/ui/01-maybe-async.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/01-maybe-async.rs -------------------------------------------------------------------------------- /tests/ui/02-must-be-async.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/02-must-be-async.rs -------------------------------------------------------------------------------- /tests/ui/03-must-be-sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/03-must-be-sync.rs -------------------------------------------------------------------------------- /tests/ui/04-unit-test-util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/04-unit-test-util.rs -------------------------------------------------------------------------------- /tests/ui/05-replace-future-generic-type-with-output.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/05-replace-future-generic-type-with-output.rs -------------------------------------------------------------------------------- /tests/ui/06-sync_impl_async_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/06-sync_impl_async_impl.rs -------------------------------------------------------------------------------- /tests/ui/test_fail/01-empty-test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/01-empty-test.rs -------------------------------------------------------------------------------- /tests/ui/test_fail/01-empty-test.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/01-empty-test.stderr -------------------------------------------------------------------------------- /tests/ui/test_fail/02-unknown-path.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/02-unknown-path.rs -------------------------------------------------------------------------------- /tests/ui/test_fail/02-unknown-path.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/02-unknown-path.stderr -------------------------------------------------------------------------------- /tests/ui/test_fail/03-async-gt2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/03-async-gt2.rs -------------------------------------------------------------------------------- /tests/ui/test_fail/03-async-gt2.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/03-async-gt2.stderr -------------------------------------------------------------------------------- /tests/ui/test_fail/04-bad-sync-cond.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/04-bad-sync-cond.rs -------------------------------------------------------------------------------- /tests/ui/test_fail/04-bad-sync-cond.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/ui/test_fail/04-bad-sync-cond.stderr -------------------------------------------------------------------------------- /tests/unit-test-util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fMeow/maybe-async-rs/HEAD/tests/unit-test-util.rs --------------------------------------------------------------------------------