-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Establish an MSRV and add a CI test to ensure compatibility (#44)
adding CI tests for msrv
- Loading branch information
Showing
15 changed files
with
132 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,6 +94,25 @@ jobs: | |
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo test --workspace --all-targets | ||
|
||
msrv: | ||
name: Check Crates against MSRV | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# Re-resolve Cargo.lock with minimal versions | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo update -Z minimal-versions | ||
# Now check that `cargo build` works with respect to the oldest possible | ||
# deps and the stated MSRV. 1.70 should work for all | ||
- uses: dtolnay/[email protected] | ||
- run: cargo test --workspace --all-targets --all-features | ||
# Also make sure the AVX2 build works | ||
- run: cargo build --target x86_64-unknown-linux-gnu | ||
# The PTRS crate has fewer dependencies and a lower msrv | ||
- uses: dtolnay/[email protected] | ||
- run: cargo test -p ptrs --all-targets --all-features | ||
- run: cargo build -p ptrs --target x86_64-unknown-linux-gnu | ||
|
||
build: | ||
name: Build | ||
needs: format | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "ptrs" | |
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Jack Wampler <[email protected]>"] | ||
rust-version = "1.70" | ||
rust-version = "1.63" | ||
license = "MIT OR Apache-2.0" | ||
description = "Interdaces and utilities supporting pluggable transport implementations" | ||
keywords = ["tor", "censorship", "pluggable", "transports"] | ||
|
@@ -24,7 +24,7 @@ futures = "0.3.30" | |
itertools = "0.12.1" | ||
subtle = "2.5.0" | ||
thiserror = "1" | ||
tokio = { version = "1.33", features = ["full"] } | ||
tokio = { version = "1.34", features = ["full"] } | ||
tracing = "0.1.40" | ||
url = "2.5.0" | ||
|
||
|
Oops, something went wrong.