0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

chore: use deno_unsync through deno_core (#23532)

This commit is contained in:
Matt Mastracci 2024-04-24 12:57:34 -04:00 committed by GitHub
parent b424959d3e
commit b60822f6e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 19 deletions

17
Cargo.lock generated
View file

@ -1309,7 +1309,7 @@ dependencies = [
"cooked-waker",
"deno_core_icudata",
"deno_ops",
"deno_unsync 0.3.2",
"deno_unsync",
"futures",
"libc",
"memoffset 0.9.1",
@ -1340,7 +1340,6 @@ dependencies = [
"async-trait",
"chrono",
"deno_core",
"deno_unsync 0.1.1",
"saffron",
"tokio",
]
@ -1486,7 +1485,7 @@ dependencies = [
"data-url",
"deno_ast",
"deno_semver",
"deno_unsync 0.3.2",
"deno_unsync",
"encoding_rs",
"futures",
"import_map",
@ -1570,7 +1569,6 @@ dependencies = [
"deno_fetch",
"deno_node",
"deno_tls",
"deno_unsync 0.1.1",
"denokv_proto",
"denokv_remote",
"denokv_sqlite",
@ -1909,15 +1907,6 @@ dependencies = [
"webpki-roots",
]
[[package]]
name = "deno_unsync"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac0984205f25e71ddd1be603d76e70255953c12ff864707359ab195d26dfc7b3"
dependencies = [
"tokio",
]
[[package]]
name = "deno_unsync"
version = "0.3.2"
@ -6594,7 +6583,7 @@ dependencies = [
"base64",
"bytes",
"console_static_text",
"deno_unsync 0.3.2",
"deno_unsync",
"denokv_proto",
"fastwebsockets",
"flate2",

View file

@ -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

View file

@ -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;

View file

@ -22,7 +22,6 @@ deno_core.workspace = true
deno_fetch.workspace = true
deno_node.workspace = true
deno_tls.workspace = true
deno_unsync = "0.1.1"
denokv_proto.workspace = true
denokv_remote.workspace = true
denokv_sqlite.workspace = true

View file

@ -19,7 +19,7 @@ async-stream = "0.3.3"
base64.workspace = true
bytes.workspace = true
console_static_text.workspace = true
deno_unsync = "0.3.0"
deno_unsync = "0"
denokv_proto.workspace = true
fastwebsockets.workspace = true
flate2 = { workspace = true, features = ["default"] }