diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78a29a0..c13f270 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,25 @@ jobs: - name: Check run: cargo check --all-features + # Minimal dependency versions + minimal-dependency-versions: + name: minimal dependency versions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Rust + run: rustup update stable && rustup default stable + - name: Install nightly Rust + run: rustup update nightly + - name: Set all dependencies to lowest allowed versions + run: cargo +nightly update -Z minimal-versions + - name: Test + run: cargo test + - name: Check --features checkpoint + run: cargo check --features checkpoint + - name: Test --features futures + run: cargo test --features futures + # Stable stable: name: stable diff --git a/Cargo.toml b/Cargo.toml index 29d7a53..522d827 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ serde_json = { version = "1.0.33", optional = true } pin-utils = { version = "0.1.0", optional = true } tracing = "0.1.27" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.8", features = ["env-filter"] } [dev-dependencies] futures-util = "0.3.0"