diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdc72be24..399a51477 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,12 +120,11 @@ jobs: uses: actions-rs/cargo@v1 with: command: test - # TODO: `objc_foundation/block` feature doesn't work args: --verbose --no-fail-fast --no-default-features - - name: Test w. exception and verify_message features + - name: Test with features uses: actions-rs/cargo@v1 with: command: test - # TODO: `objc_foundation/block` feature doesn't work - args: --verbose --no-fail-fast --no-default-features --features exception,verify_message + # Not using --all-features because some features are nightly-only + args: --verbose --no-fail-fast --features block,exception,verify_message diff --git a/objc_foundation/Cargo.toml b/objc_foundation/Cargo.toml index c9c8bf31d..8fcf11094 100644 --- a/objc_foundation/Cargo.toml +++ b/objc_foundation/Cargo.toml @@ -20,6 +20,7 @@ license = "MIT" default = ["block"] [dependencies] +# Feature provided as a way to cut down on dependencies block = { path = "../objc_block", optional = true, version = "0.1" } objc = { path = "../objc", version = "0.2.7" } objc_id = { path = "../objc_id", version = "0.1.1" }