summaryrefslogtreecommitdiff
path: root/ext/cron
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2024-04-24 12:57:34 -0400
committerGitHub <noreply@github.com>2024-04-24 16:57:34 +0000
commitb60822f6e0e3c1f3e360657cfb67c114df2e7032 (patch)
tree45f0551b2fc3812e09add5167953af63e1bc1238 /ext/cron
parentb424959d3e2554a83dd6a7a9c8837805a3d9ae65 (diff)
chore: use deno_unsync through deno_core (#23532)
Diffstat (limited to 'ext/cron')
-rw-r--r--ext/cron/Cargo.toml1
-rw-r--r--ext/cron/local.rs4
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/cron/Cargo.toml b/ext/cron/Cargo.toml
index b6ebe715c..38ca86e3f 100644
--- a/ext/cron/Cargo.toml
+++ b/ext/cron/Cargo.toml
@@ -18,6 +18,5 @@ anyhow.workspace = true
async-trait.workspace = true
chrono.workspace = true
deno_core.workspace = true
-deno_unsync = "0.1.1"
saffron.workspace = true
tokio.workspace = true
diff --git a/ext/cron/local.rs b/ext/cron/local.rs
index 31d001bc3..945df0796 100644
--- a/ext/cron/local.rs
+++ b/ext/cron/local.rs
@@ -14,8 +14,8 @@ use deno_core::error::type_error;
use deno_core::error::AnyError;
use deno_core::futures;
use deno_core::futures::FutureExt;
-use deno_unsync::spawn;
-use deno_unsync::JoinHandle;
+use deno_core::unsync::spawn;
+use deno_core::unsync::JoinHandle;
use tokio::sync::mpsc;
use tokio::sync::mpsc::WeakSender;
use tokio::sync::OwnedSemaphorePermit;