Skip to content

Commit cbe194e

Browse files
author
Andrew J Westlake
committed
Updated versions in docs
1 parent cd90437 commit cbe194e

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
5252
```toml
5353
# Cargo.toml dependencies
5454
[dependencies]
55-
pyo3 = { version = "0.16" }
56-
pyo3-asyncio = { version = "0.16", features = ["attributes", "async-std-runtime"] }
55+
pyo3 = { version = "0.17" }
56+
pyo3-asyncio = { version = "0.17", features = ["attributes", "async-std-runtime"] }
5757
async-std = "1.9"
5858
```
5959

@@ -82,8 +82,8 @@ attribute.
8282
```toml
8383
# Cargo.toml dependencies
8484
[dependencies]
85-
pyo3 = { version = "0.16" }
86-
pyo3-asyncio = { version = "0.16", features = ["attributes", "tokio-runtime"] }
85+
pyo3 = { version = "0.17" }
86+
pyo3-asyncio = { version = "0.17", features = ["attributes", "tokio-runtime"] }
8787
tokio = "1.9"
8888
```
8989

@@ -127,17 +127,17 @@ For `async-std`:
127127

128128
```toml
129129
[dependencies]
130-
pyo3 = { version = "0.16", features = ["extension-module"] }
131-
pyo3-asyncio = { version = "0.16", features = ["async-std-runtime"] }
130+
pyo3 = { version = "0.17", features = ["extension-module"] }
131+
pyo3-asyncio = { version = "0.17", features = ["async-std-runtime"] }
132132
async-std = "1.9"
133133
```
134134

135135
For `tokio`:
136136

137137
```toml
138138
[dependencies]
139-
pyo3 = { version = "0.16", features = ["extension-module"] }
140-
pyo3-asyncio = { version = "0.16", features = ["tokio-runtime"] }
139+
pyo3 = { version = "0.17", features = ["extension-module"] }
140+
pyo3-asyncio = { version = "0.17", features = ["tokio-runtime"] }
141141
tokio = "1.9"
142142
```
143143

@@ -431,8 +431,8 @@ name = "my_async_module"
431431
crate-type = ["cdylib"]
432432

433433
[dependencies]
434-
pyo3 = { version = "0.16", features = ["extension-module"] }
435-
pyo3-asyncio = { version = "0.16", features = ["tokio-runtime"] }
434+
pyo3 = { version = "0.17", features = ["extension-module"] }
435+
pyo3-asyncio = { version = "0.17", features = ["tokio-runtime"] }
436436
async-std = "1.9"
437437
tokio = "1.9"
438438
```
@@ -491,8 +491,8 @@ event loop before we can install the `uvloop` policy.
491491
```toml
492492
[dependencies]
493493
async-std = "1.9"
494-
pyo3 = "0.16"
495-
pyo3-asyncio = { version = "0.16", features = ["async-std-runtime"] }
494+
pyo3 = "0.17"
495+
pyo3-asyncio = { version = "0.17", features = ["async-std-runtime"] }
496496
```
497497

498498
```rust no_run

src/async_std.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ```toml
1111
//! [dependencies.pyo3-asyncio]
12-
//! version = "0.16"
12+
//! version = "0.17"
1313
//! features = ["unstable-streams"]
1414
//! ```
1515

src/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ```toml
1111
//! [dependencies.pyo3-asyncio]
12-
//! version = "0.16"
12+
//! version = "0.17"
1313
//! features = ["unstable-streams"]
1414
//! ```
1515

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
//!
301301
//! ```toml
302302
//! [dependencies.pyo3-asyncio]
303-
//! version = "0.16"
303+
//! version = "0.17"
304304
//! features = ["attributes"]
305305
//! ```
306306
//!
@@ -313,7 +313,7 @@
313313
//!
314314
//! ```toml
315315
//! [dependencies.pyo3-asyncio]
316-
//! version = "0.16"
316+
//! version = "0.17"
317317
//! features = ["async-std-runtime"]
318318
//! ```
319319
//!
@@ -326,7 +326,7 @@
326326
//!
327327
//! ```toml
328328
//! [dependencies.pyo3-asyncio]
329-
//! version = "0.16"
329+
//! version = "0.17"
330330
//! features = ["tokio-runtime"]
331331
//! ```
332332
//!
@@ -339,7 +339,7 @@
339339
//!
340340
//! ```toml
341341
//! [dependencies.pyo3-asyncio]
342-
//! version = "0.16"
342+
//! version = "0.17"
343343
//! features = ["testing"]
344344
//! ```
345345

src/tokio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! ```toml
1111
//! [dependencies.pyo3-asyncio]
12-
//! version = "0.16"
12+
//! version = "0.17"
1313
//! features = ["unstable-streams"]
1414
//! ```
1515

0 commit comments

Comments
 (0)