Skip to content

Commit 9279a8d

Browse files
committed
f - Update tokio to version 1.0
1 parent 676af73 commit 9279a8d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
1.30.0,
1414
# 1.34.2 is Debian stable
1515
1.34.2,
16-
# 1.39.0 is MSRV for lightning-net-tokio and lightning-block-sync and generates coverage
17-
1.39.0]
16+
# 1.45.0 is MSRV for lightning-net-tokio and lightning-block-sync and generates coverage
17+
1.45.0]
1818
include:
1919
- toolchain: stable
2020
build-net-tokio: true
@@ -26,7 +26,7 @@ jobs:
2626
build-net-tokio: true
2727
- toolchain: beta
2828
build-net-tokio: true
29-
- toolchain: 1.39.0
29+
- toolchain: 1.45.0
3030
build-net-tokio: true
3131
coverage: true
3232
runs-on: ${{ matrix.platform }}
@@ -198,7 +198,7 @@ jobs:
198198
linting:
199199
runs-on: ubuntu-latest
200200
env:
201-
TOOLCHAIN: 1.39.0
201+
TOOLCHAIN: 1.45.0
202202
steps:
203203
- name: Checkout source code
204204
uses: actions/checkout@v2

lightning-block-sync/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ rpc-client = [ "serde_json", "chunked_transfer" ]
1515
[dependencies]
1616
bitcoin = "0.24"
1717
lightning = { version = "0.0.12", path = "../lightning" }
18-
tokio = { version = ">=0.2.12", features = [ "tcp", "io-util", "dns" ], optional = true }
18+
tokio = { version = "1.0", features = [ "net", "io-util" ], optional = true }
1919
serde_json = { version = "1", optional = true }
2020
chunked_transfer = { version = "1.3.0", optional = true }
2121
futures = { version = "0.3.8" }
2222

2323
[dev-dependencies]
24-
tokio = { version = ">=0.2.12", features = [ "macros", "rt-core" ] }
24+
tokio = { version = "1.0", features = [ "macros", "rt" ] }

0 commit comments

Comments
 (0)