@@ -50,8 +50,8 @@ Here we initialize the runtime, import Python's `asyncio` library and run the gi
50
50
``` toml
51
51
# Cargo.toml dependencies
52
52
[dependencies ]
53
- pyo3 = { version = " 0.24 " }
54
- pyo3-async-runtimes = { version = " 0.24 " , features = [" attributes" , " async-std-runtime" ] }
53
+ pyo3 = { version = " 0.25 " }
54
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" attributes" , " async-std-runtime" ] }
55
55
async-std = " 1.13"
56
56
```
57
57
@@ -80,8 +80,8 @@ attribute.
80
80
``` toml
81
81
# Cargo.toml dependencies
82
82
[dependencies ]
83
- pyo3 = { version = " 0.24 " }
84
- pyo3-async-runtimes = { version = " 0.24 " , features = [" attributes" , " tokio-runtime" ] }
83
+ pyo3 = { version = " 0.25 " }
84
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" attributes" , " tokio-runtime" ] }
85
85
tokio = " 1.40"
86
86
```
87
87
@@ -126,17 +126,17 @@ For `async-std`:
126
126
127
127
``` toml
128
128
[dependencies ]
129
- pyo3 = { version = " 0.24 " , features = [" extension-module" ] }
130
- pyo3-async-runtimes = { version = " 0.24 " , features = [" async-std-runtime" ] }
129
+ pyo3 = { version = " 0.25 " , features = [" extension-module" ] }
130
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" async-std-runtime" ] }
131
131
async-std = " 1.13"
132
132
```
133
133
134
134
For ` tokio ` :
135
135
136
136
``` toml
137
137
[dependencies ]
138
- pyo3 = { version = " 0.24 " , features = [" extension-module" ] }
139
- pyo3-async-runtimes = { version = " 0.24 " , features = [" tokio-runtime" ] }
138
+ pyo3 = { version = " 0.25 " , features = [" extension-module" ] }
139
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" tokio-runtime" ] }
140
140
tokio = " 1.40"
141
141
```
142
142
@@ -430,8 +430,8 @@ name = "my_async_module"
430
430
crate-type = [" cdylib" ]
431
431
432
432
[dependencies ]
433
- pyo3 = { version = " 0.24 " , features = [" extension-module" ] }
434
- pyo3-async-runtimes = { version = " 0.24 " , features = [" tokio-runtime" ] }
433
+ pyo3 = { version = " 0.25 " , features = [" extension-module" ] }
434
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" tokio-runtime" ] }
435
435
async-std = " 1.13"
436
436
tokio = " 1.40"
437
437
```
@@ -490,8 +490,8 @@ event loop before we can install the `uvloop` policy.
490
490
``` toml
491
491
[dependencies ]
492
492
async-std = " 1.13"
493
- pyo3 = " 0.24 "
494
- pyo3-async-runtimes = { version = " 0.24 " , features = [" async-std-runtime" ] }
493
+ pyo3 = " 0.25 "
494
+ pyo3-async-runtimes = { version = " 0.25 " , features = [" async-std-runtime" ] }
495
495
```
496
496
497
497
``` rust no_run
0 commit comments