Skip to content

Commit

Permalink
move async example to sub project
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jun 1, 2022
1 parent 1fe9d50 commit 0224e12
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: cargo build
- name: Run tests
if: matrix.rust-version != '1.37'
run: cargo test -- --skip ui_compile_fail
run: cargo test --all -- --skip ui_compile_fail
- name: Run compile-fail tests
if: matrix.rust-version == 'stable'
run: cargo test -- ui_compile_fail
- name: Run tests (MSRV)
if: matrix.rust-version == '1.37'
run: cargo test --lib -- --skip ui_compile_fail
run: cargo test -- --skip ui_compile_fail
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ autotests = true
edition = "2018"
rust-version = "1.37"

[workspace]
members = [
"examples/async_await"
]

[lib]
proc-macro = true
Expand All @@ -28,5 +32,3 @@ proc-macro-error = "1.0.0"

[dev-dependencies]
trybuild = "1"
async-trait = "0.1"
async-std = { version = "1", features = ["attributes"] }
10 changes: 10 additions & 0 deletions examples/async_await/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "auto_impl_async_await_example"
version = "0.0.0"
publish = false
edition = "2021"

[dependencies]
auto_impl = { path = "../../" }
async-trait = "0.1"
async-std = { version = "1", features = ["attributes"] }
File renamed without changes.

0 comments on commit 0224e12

Please sign in to comment.