From a9f567188f4474cd3b86029ccf5bcf07800712ad Mon Sep 17 00:00:00 2001 From: not_a_seagull Date: Sat, 31 Jul 2021 10:23:39 -0700 Subject: [PATCH] arc lock to ci --- .github/workflows/rust.yml | 4 ++-- Cargo.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d613089a..32b432f3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,7 +17,7 @@ jobs: matrix: os: [ubuntu, macos, windows] channel: [1.36.0, stable, beta, nightly] - feature: [serde, deadlock_detection] + feature: [arc_lock, serde, deadlock_detection] exclude: - feature: deadlock_detection channel: '1.36.0' @@ -53,7 +53,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: rustup default nightly - - run: cargo doc --workspace --features serde,deadlock_detection --no-deps -p parking_lot -p parking_lot_core -p lock_api + - run: cargo doc --workspace --features arc_lock,serde,deadlock_detection --no-deps -p parking_lot -p parking_lot_core -p lock_api benchmark: runs-on: ubuntu-latest steps: diff --git a/Cargo.toml b/Cargo.toml index 67a2555d..253e8352 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,7 @@ bincode = "1.3.0" [features] default = [] +arc_lock = ["lock_api/arc_lock"] owning_ref = ["lock_api/owning_ref"] nightly = ["parking_lot_core/nightly", "lock_api/nightly"] deadlock_detection = ["parking_lot_core/deadlock_detection"]