Skip to content

Commit 8555561

Browse files
author
Andrew J Westlake
committed
Updated tokio version to 1.9
1 parent af2f779 commit 8555561

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ required-features = ["tokio-runtime", "testing"]
105105
clap = { version = "2.33", optional = true }
106106
futures = "0.3"
107107
inventory = "0.1"
108-
lazy_static = "1.4"
109108
once_cell = "1.5"
110109
pyo3 = "0.14"
111110
pyo3-asyncio-macros = { path = "pyo3-asyncio-macros", version = "=0.14.0", optional = true }
@@ -119,6 +118,6 @@ features = ["unstable"]
119118
optional = true
120119

121120
[dependencies.tokio]
122-
version = "1.4"
121+
version = "1.9"
123122
features = ["full"]
124123
optional = true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ attribute.
7777
[dependencies]
7878
pyo3 = { version = "0.14" }
7979
pyo3-asyncio = { version = "0.14", features = ["attributes", "tokio-runtime"] }
80-
tokio = "1.4"
80+
tokio = "1.9"
8181
```
8282

8383
```rust
@@ -128,7 +128,7 @@ For `tokio`:
128128
[dependencies]
129129
pyo3 = { version = "0.14", features = ["extension-module"] }
130130
pyo3-asyncio = { version = "0.14", features = ["tokio-runtime"] }
131-
tokio = "1.4"
131+
tokio = "1.9"
132132
```
133133

134134
Export an async function that makes use of `async-std`:
@@ -421,7 +421,7 @@ crate-type = ["cdylib"]
421421
pyo3 = { version = "0.14", features = ["extension-module"] }
422422
pyo3-asyncio = { version = "0.14", features = ["tokio-runtime"] }
423423
async-std = "1.9"
424-
tokio = "1.4"
424+
tokio = "1.9"
425425
```
426426

427427
```rust

0 commit comments

Comments
 (0)