Skip to content

Commit

Permalink
Add missing import for tokio.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Nov 1, 2024
1 parent 94e11a3 commit 1851f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td-rs-base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub use param::*;
pub use py::*;

#[cfg(feature = "tokio")]
pub static RUNTIME: LazyLock<tokio_core::runtime::Runtime> = LazyLock::new(|| {
pub static RUNTIME: std::sync::LazyLock<tokio_core::runtime::Runtime> = std::sync::LazyLock::new(|| {
tokio_core::runtime::Builder::new_multi_thread()
.enable_all()
.build()
Expand Down

0 comments on commit 1851f22

Please sign in to comment.