Skip to content

Commit e2aab92

Browse files
authored
Merge pull request #38 from tnull/2025-08-bump-reqwest
Bump MSRV and `reqwest` dependency
2 parents db15387 + c5599bc commit e2aab92

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
toolchain: [ stable, beta, 1.63.0 ] # 1.63.0 is current MSRV for vss-client
9+
toolchain: [ stable, beta, 1.75.0 ] # 1.75.0 is current MSRV for vss-client
1010
include:
1111
- toolchain: stable
1212
check-fmt: true
13-
- toolchain: 1.63.0
13+
- toolchain: 1.75.0
1414
msrv: true
1515
runs-on: ubuntu-latest
1616
steps:
@@ -25,10 +25,7 @@ jobs:
2525
- name: Pin packages to allow for MSRV
2626
if: matrix.msrv
2727
run: |
28-
cargo update -p proptest --precise "1.2.0" --verbose # proptest 1.3.0 requires rustc 1.64.0
29-
cargo update -p regex --precise "1.9.6" --verbose # regex 1.10.0 requires rustc 1.65.0
30-
cargo update -p tokio --precise "1.38.1" --verbose # tokio v1.39.0 requires rustc 1.70 or newer
31-
cargo update -p tokio-util --precise "0.7.11" --verbose # tokio-util v0.7.12 requires rustc 1.70 or newer
28+
cargo update -p idna_adapter --precise 1.1.0 # This has us use `unicode-normalization` which has a more conservative MSRV
3229
- name: Build on Rust ${{ matrix.toolchain }}
3330
run: cargo build --verbose --color always
3431
- name: Check formatting

Cargo.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,30 @@ lnurl-auth = ["dep:bitcoin", "dep:url", "dep:serde", "dep:serde_json", "reqwest/
1818

1919
[dependencies]
2020
prost = "0.11.6"
21-
reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls"] }
21+
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
2222
tokio = { version = "1", default-features = false, features = ["time"] }
2323
rand = "0.8.5"
2424
async-trait = "0.1.77"
2525
bitcoin = { version = "0.32.2", default-features = false, features = ["std", "rand-std"], optional = true }
2626
url = { version = "2.5.0", default-features = false, optional = true }
27-
base64 = { version = "0.21.7", default-features = false}
27+
base64 = { version = "0.22", default-features = false}
2828
serde = { version = "1.0.196", default-features = false, features = ["serde_derive"], optional = true }
2929
serde_json = { version = "1.0.113", default-features = false, optional = true }
3030

3131
bitcoin_hashes = "0.14.0"
3232

3333
[target.'cfg(genproto)'.build-dependencies]
3434
prost-build = { version = "0.11.3" }
35-
reqwest = { version = "0.11.13", default-features = false, features = ["rustls-tls", "blocking"] }
35+
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "blocking"] }
3636

3737
[dev-dependencies]
3838
mockito = "0.28.0"
3939
proptest = "1.1.0"
4040
tokio = { version = "1.22.0", features = ["macros"]}
41+
42+
[lints.rust.unexpected_cfgs]
43+
level = "forbid"
44+
# When adding a new cfg attribute, ensure that it is added to this list.
45+
check-cfg = [
46+
"cfg(genproto)",
47+
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ and manage the essential state required for Lightning Network (LN) operations.
99
Learn more [here](https://github.com/lightningdevkit/vss-server/blob/main/README.md).
1010

1111
## MSRV
12-
The Minimum Supported Rust Version (MSRV) is currently 1.63.0.
12+
The Minimum Supported Rust Version (MSRV) is currently 1.75.0.

0 commit comments

Comments
 (0)