Open gcp-development opened 6 months ago
Is this because of the async_io ?
Yes, jsonrpsee is tightly-coupled to tokio and requires the tokio runtime to be initialized because it's using tokio::spawn under the hood to spawn the background task.
Can't use tokio on your platform or what's the reason to use async-io crate?
Hi @niklasad1,
Thank you for your answer.
when you work in embedded systems "every little byte helps". Tokio is a very good crate but is too fat when compared with async-io.
For instance for this case above(STD/ESP-IDF framework) we would need to use OpenThread with unsafe code instructions like "esp_vfs_eventfd_register()". And we would need to reorganize the partition-tables in order to work with Tokio.
Cheers,
Hello,
I am having this weird error a due the use of tokio out of context for the "WsTransportClientBuilder".
Is this because of the async_io ?
cargo.toml