Checking coins-ledger v0.9.0
error[E0433]: failed to resolve: could not find `Builder` in `runtime`
--> /home/doni/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coins-ledger-0.9.0/src/transports/native/mod.rs:54:38
|
54 | let rt = tokio::runtime::Builder::new_current_thread()
| ^^^^^^^ could not find `Builder` in `runtime`
|
help: consider importing this struct
|
1 + use std::thread::Builder;
|
help: if you import `Builder`, refer to it directly
|
54 - let rt = tokio::runtime::Builder::new_current_thread()
54 + let rt = Builder::new_current_thread()
|
error[E0603]: module `runtime` is private
--> /home/doni/.cargo/registry/src/index.crates.io-6f17d22bba15001f/coins-ledger-0.9.0/src/transports/native/mod.rs:54:29
|
54 | let rt = tokio::runtime::Builder::new_current_thread()
| ^^^^^^^ private module
|
note: the module `runtime` is defined here
--> /home/doni/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.34.0/src/lib.rs:523:5
|
523 | pub(crate) mod runtime;
| ^^^^^^^^^^^^^^^^^^^^^^