@@ -45,8 +45,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
45
45
``` toml
46
46
# Cargo.toml dependencies
47
47
[dependencies ]
48
- pyo3 = { version = " 0.14 " }
49
- pyo3-asyncio = { version = " 0.14 " , features = [" attributes" , " async-std-runtime" ] }
48
+ pyo3 = { version = " 0.15 " }
49
+ pyo3-asyncio = { version = " 0.15 " , features = [" attributes" , " async-std-runtime" ] }
50
50
async-std = " 1.9"
51
51
```
52
52
@@ -75,8 +75,8 @@ attribute.
75
75
``` toml
76
76
# Cargo.toml dependencies
77
77
[dependencies ]
78
- pyo3 = { version = " 0.14 " }
79
- pyo3-asyncio = { version = " 0.14 " , features = [" attributes" , " tokio-runtime" ] }
78
+ pyo3 = { version = " 0.15 " }
79
+ pyo3-asyncio = { version = " 0.15 " , features = [" attributes" , " tokio-runtime" ] }
80
80
tokio = " 1.9"
81
81
```
82
82
@@ -118,16 +118,16 @@ Make your project depend on `pyo3` with the `extension-module` feature enabled a
118
118
For ` async-std ` :
119
119
``` toml
120
120
[dependencies ]
121
- pyo3 = { version = " 0.14 " , features = [" extension-module" ] }
122
- pyo3-asyncio = { version = " 0.14 " , features = [" async-std-runtime" ] }
121
+ pyo3 = { version = " 0.15 " , features = [" extension-module" ] }
122
+ pyo3-asyncio = { version = " 0.15 " , features = [" async-std-runtime" ] }
123
123
async-std = " 1.9"
124
124
```
125
125
126
126
For ` tokio ` :
127
127
``` toml
128
128
[dependencies ]
129
- pyo3 = { version = " 0.14 " , features = [" extension-module" ] }
130
- pyo3-asyncio = { version = " 0.14 " , features = [" tokio-runtime" ] }
129
+ pyo3 = { version = " 0.15 " , features = [" extension-module" ] }
130
+ pyo3-asyncio = { version = " 0.15 " , features = [" tokio-runtime" ] }
131
131
tokio = " 1.9"
132
132
```
133
133
@@ -418,8 +418,8 @@ name = "my_async_module"
418
418
crate-type = [" cdylib" ]
419
419
420
420
[dependencies ]
421
- pyo3 = { version = " 0.14 " , features = [" extension-module" ] }
422
- pyo3-asyncio = { version = " 0.14 " , features = [" tokio-runtime" ] }
421
+ pyo3 = { version = " 0.15 " , features = [" extension-module" ] }
422
+ pyo3-asyncio = { version = " 0.15 " , features = [" tokio-runtime" ] }
423
423
async-std = " 1.9"
424
424
tokio = " 1.9"
425
425
```
@@ -478,8 +478,8 @@ event loop before we can install the `uvloop` policy.
478
478
``` toml
479
479
[dependencies ]
480
480
async-std = " 1.9"
481
- pyo3 = " 0.14 "
482
- pyo3-asyncio = { version = " 0.14 " , features = [" async-std-runtime" ] }
481
+ pyo3 = " 0.15 "
482
+ pyo3-asyncio = { version = " 0.15 " , features = [" async-std-runtime" ] }
483
483
```
484
484
485
485
``` rust no_run
@@ -661,4 +661,4 @@ This library can give spurious failures during finalization prior to PyO3 releas
661
661
Currently the MSRV for this library is 1.46.0, _ but_ if you don't need to use the ` async-std-runtime `
662
662
or ` testing ` features, you can still use rust 1.45.0.
663
663
- ` async-std ` depends on ` socket2 ` which fails to compile under 1.45.0.
664
- - The ` testing ` feature indirectly relies on ` bitflags ` through ` clap ` , which is now locked in at MSRV 1.46.0
664
+ - The ` testing ` feature indirectly relies on ` bitflags ` through ` clap ` , which is now locked in at MSRV 1.46.0
0 commit comments