@@ -45,8 +45,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
4545``` toml
4646# Cargo.toml dependencies
4747[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" ] }
5050async-std = " 1.9"
5151```
5252
@@ -75,8 +75,8 @@ attribute.
7575``` toml
7676# Cargo.toml dependencies
7777[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" ] }
8080tokio = " 1.9"
8181```
8282
@@ -118,16 +118,16 @@ Make your project depend on `pyo3` with the `extension-module` feature enabled a
118118For ` async-std ` :
119119``` toml
120120[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" ] }
123123async-std = " 1.9"
124124```
125125
126126For ` tokio ` :
127127``` toml
128128[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" ] }
131131tokio = " 1.9"
132132```
133133
@@ -418,8 +418,8 @@ name = "my_async_module"
418418crate-type = [" cdylib" ]
419419
420420[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" ] }
423423async-std = " 1.9"
424424tokio = " 1.9"
425425```
@@ -478,8 +478,8 @@ event loop before we can install the `uvloop` policy.
478478``` toml
479479[dependencies ]
480480async-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" ] }
483483```
484484
485485``` rust no_run
@@ -661,4 +661,4 @@ This library can give spurious failures during finalization prior to PyO3 releas
661661Currently the MSRV for this library is 1.46.0, _ but_ if you don't need to use the ` async-std-runtime `
662662or ` testing ` features, you can still use rust 1.45.0.
663663- ` 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