Skip to content

Commit 67179c1

Browse files
committed
rustls doesnt support webpki 0.22
1 parent ca85b6a commit 67179c1

File tree

3 files changed

+11
-30
lines changed

3 files changed

+11
-30
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ jobs:
4040
- name: Build & Test (--no-default-features)
4141
run: cargo test --verbose --no-default-features --no-fail-fast
4242
- name: Build with All Features Enabled
43-
run: cargo build --verbose --features "local-redir local-dns dns-over-tls dns-over-https stream-cipher"
43+
run: cargo build --verbose --features "local-http-rustls local-redir local-dns dns-over-tls dns-over-https stream-cipher"
4444
- name: Clippy Check
4545
uses: actions-rs/clippy-check@v1
4646
with:
4747
name: clippy-${{ matrix.platform }}
4848
token: ${{ secrets.GITHUB_TOKEN }}
4949
args: |
50-
--verbose --features "local-redir local-dns dns-over-tls dns-over-https stream-cipher" -- -Z macro-backtrace
50+
--verbose --features "local-http-rustls local-redir local-dns dns-over-tls dns-over-https stream-cipher" -- -Z macro-backtrace
5151
-W clippy::absurd_extreme_comparisons
5252
-W clippy::erasing_op
5353
-A clippy::collapsible_else_if

Cargo.lock

Lines changed: 8 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/shadowsocks-service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ tokio = { version = "1", features = ["io-util", "macros", "net", "parking_lot",
8484
tokio-native-tls = { version = "0.3", optional = true }
8585
native-tls = { version = "0.2.7", optional = true, features = ["alpn"] }
8686
tokio-rustls = { version = "0.22", optional = true }
87-
webpki-roots = { version = "0.22", optional = true }
87+
webpki-roots = { version = "0.21", optional = true }
8888
rustls-native-certs = { version = "0.5", optional = true }
8989
async-trait = "0.1"
9090
mio = { version = "0.7", optional = true }

0 commit comments

Comments
 (0)