@@ -50,8 +50,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
5050``` toml
5151# Cargo.toml dependencies
5252[dependencies ]
53- pyo3 = { version = " 0.26 " }
54- pyo3-async-runtimes = { version = " 0.26 " , features = [" attributes" , " async-std-runtime" ] }
53+ pyo3 = { version = " 0.27 " }
54+ pyo3-async-runtimes = { version = " 0.27 " , features = [" attributes" , " async-std-runtime" ] }
5555async-std = " 1.13"
5656```
5757
@@ -80,8 +80,8 @@ attribute.
8080``` toml
8181# Cargo.toml dependencies
8282[dependencies ]
83- pyo3 = { version = " 0.26 " }
84- pyo3-async-runtimes = { version = " 0.26 " , features = [" attributes" , " tokio-runtime" ] }
83+ pyo3 = { version = " 0.27 " }
84+ pyo3-async-runtimes = { version = " 0.27 " , features = [" attributes" , " tokio-runtime" ] }
8585tokio = " 1.40"
8686```
8787
@@ -126,17 +126,17 @@ For `async-std`:
126126
127127``` toml
128128[dependencies ]
129- pyo3 = { version = " 0.26 " , features = [" extension-module" ] }
130- pyo3-async-runtimes = { version = " 0.26 " , features = [" async-std-runtime" ] }
129+ pyo3 = { version = " 0.27 " , features = [" extension-module" ] }
130+ pyo3-async-runtimes = { version = " 0.27 " , features = [" async-std-runtime" ] }
131131async-std = " 1.13"
132132```
133133
134134For ` tokio ` :
135135
136136``` toml
137137[dependencies ]
138- pyo3 = { version = " 0.26 " , features = [" extension-module" ] }
139- pyo3-async-runtimes = { version = " 0.26 " , features = [" tokio-runtime" ] }
138+ pyo3 = { version = " 0.27 " , features = [" extension-module" ] }
139+ pyo3-async-runtimes = { version = " 0.27 " , features = [" tokio-runtime" ] }
140140tokio = " 1.40"
141141```
142142
@@ -430,8 +430,8 @@ name = "my_async_module"
430430crate-type = [" cdylib" ]
431431
432432[dependencies ]
433- pyo3 = { version = " 0.26 " , features = [" extension-module" ] }
434- pyo3-async-runtimes = { version = " 0.26 " , features = [" tokio-runtime" ] }
433+ pyo3 = { version = " 0.27 " , features = [" extension-module" ] }
434+ pyo3-async-runtimes = { version = " 0.27 " , features = [" tokio-runtime" ] }
435435async-std = " 1.13"
436436tokio = " 1.40"
437437```
@@ -462,7 +462,7 @@ $ maturin develop && python3
462462🔗 Found pyo3 bindings
463463🐍 Found CPython 3.8 at python3
464464 Finished dev [unoptimized + debuginfo] target(s) in 0.04s
465- Python 3.8.8 (default, Apr 13 2021, 19:58:26 )
465+ Python 3.8.8 (default, Apr 13 2021, 19:58:27 )
466466[GCC 7.3.0] :: Anaconda, Inc. on linux
467467Type " help" , " copyright" , " credits" or " license" for more information.
468468>>> import asyncio
@@ -490,8 +490,8 @@ event loop before we can install the `uvloop` policy.
490490``` toml
491491[dependencies ]
492492async-std = " 1.13"
493- pyo3 = " 0.26 "
494- pyo3-async-runtimes = { version = " 0.26 " , features = [" async-std-runtime" ] }
493+ pyo3 = " 0.27 "
494+ pyo3-async-runtimes = { version = " 0.27 " , features = [" async-std-runtime" ] }
495495```
496496
497497``` rust no_run
0 commit comments