this post was submitted on 08 Apr 2024
20 points (100.0% liked)
Rust
6005 readers
5 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not familiar with
pyo3_async
, but I don't think you can force Pythonasyncio
to use the Tokio event loop. This is discussed in the documentation of a different PyO3 async crate,pyo3-asyblncio
: https://docs.rs/pyo3-asyncio/latest/pyo3_asyncio/#why-two-event-loops