diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca83f9b..99436b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,12 @@ jobs: command: check args: --no-default-features --features std + - name: check attributes + uses: actions-rs/cargo@v1 + with: + command: check + args: --features attributes + - name: tests uses: actions-rs/cargo@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 48b7d0b..bdbeafa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,8 +34,9 @@ default = [ "num_cpus", "pin-project-lite", ] -docs = ["unstable"] +docs = ["attributes", "unstable"] unstable = ["default", "broadcaster"] +attributes = ["async-attributes"] std = [ "async-macros", "crossbeam-utils",