Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: avoid duplicate crates #28281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,113 @@ junction = "=1.2.0"
winapi = "=0.3.9"
windows-sys = { version = "0.59.0", features = ["Win32_Foundation", "Win32_Media", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_WindowsProgramming", "Wdk", "Wdk_System", "Wdk_System_SystemInformation", "Win32_Security", "Win32_System_Pipes", "Wdk_Storage_FileSystem", "Win32_System_Registry", "Win32_System_Kernel", "Win32_System_Threading", "Win32_UI", "Win32_UI_Shell"] }
winres = "=0.1.12"
aead-gcm-stream = "0.4"
aes-gcm = "0.10"
aes-kw = "0.2.1"
anstream = "0.6.14"
async-compression = "0.4"
base64-simd = "0.8"
bincode = "=1.3.3"
blake2 = "0.10.6"
bytemuck = "1.17.1"
clap = "=4.5.30"
clap_complete = "=4.5.45"
clap_complete_fig = "=4.5.2"
const-oid = "0.9.5"
cranelift = "0.116"
cranelift-native = "0.116"
crossterm = "0.28.1"
curve25519-dalek = "4.1.3"
deno_doc = "=0.168.0"
deno_graph = "=0.88.0"
deno_lint = "0.73.1"
deno_native_certs = "0.3.0"
deno_task_shell = "=0.20.2"
deno_whoami = "0.1.0"
der = "0.7.9"
dhat = "0.3.3"
digest = "0.10.5"
dissimilar = "=1.0.4"
dotenvy = "0.15.7"
dprint-plugin-json = "=0.19.4"
dprint-plugin-jupyter = "=0.1.5"
dprint-plugin-markdown = "=0.17.8"
dprint-plugin-typescript = "=0.93.4"
dsa = "0.6.3"
dyn-clone = "1"
ecdsa = "0.16.9"
ed25519-dalek = "2.1.1"
ed448-goldilocks = "0.8.3"
env_logger = "=0.10.0"
error_reporter = "1"
fancy-regex = "=0.10.0"
file_test_runner = "0.7.3"
flaky_test = "=0.2.2"
fqdn = "0.3.4"
hickory-client = "0.25.0-alpha.4"
hickory-proto = "0.25.0-alpha.4"
hickory-server = "0.25.0-alpha.4"
idna = "1.0.3"
image = { version = "0.25.4", default-features = false }
ipnetwork = "0.20.0"
itertools = "0.10"
jupyter_runtime = "=0.19.0"
k256 = "0.13.1"
lcms2 = "6.1.0"
libffi = "=3.2.0"
libffi-sys = "=2.3.0"
libloading = "0.7"
libsqlite3-sys = "0.30.1"
libuv-sys-lite = "=1.48.2"
malva = "=0.11.0"
markup_fmt = "=0.18.0"
md-5 = "0.10.5"
md4 = "0.10.2"
memchr = "2.7.4"
memmap2 = "0.9"
mime = "0.3.16"
napi-build = "1"
napi-sys = { version = "=2.2.2", default-features = false }
netif = "0.1.6"
num-bigint-dig = "0.8.2"
num-integer = "0.1.45"
num-traits = "0.2.19"
open = "5.0.1"
p521 = "0.13.3"
path-clean = "=0.1.0"
pathdiff = "0.2.1"
pbkdf2 = "0.12.1"
pin-project-lite = "0.2.13"
pkcs8 = "0.10.2"
pretty_yaml = "=0.5.0"
quick-junit = "0.3.5"
quinn = { version = "0.11.6", default-features = false }
rayon = "1.8.0"
ripemd = "0.1.3"
rustyline-derive = "=0.7.0"
same-file = "1.0.6"
scrypt = "0.11.0"
semver = "=1.0.14"
serde-value = "0.7"
sha3 = "0.10.8"
simd-json = "0.14.0"
sm3 = "0.4.2"
sqlformat = "=0.3.2"
strsim = "0.11.1"
text-size = "=1.1.0"
text_lines = "=0.6.0"
tokio-eld = "0.2"
tracing = "0.1"
tracing-opentelemetry = "0.28.0"
tracing-subscriber = "0.3.19"
typed-arena = "=2.0.2"
unicode-width = "0.1.3"
urlpattern = "0.3.0"
web-transport-proto = "0.2.3"
win32job = "2"
x25519-dalek = "2.0.0"
x509-parser = "0.15.0"
zip = { version = "2.1.6", default-features = false }

[profile.release]
codegen-units = 1
Expand Down
70 changes: 35 additions & 35 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ deno_config = { workspace = true, features = ["sync", "workspace"] }
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { version = "=0.168.0", features = ["rust", "comrak"] }
deno_error.workspace = true
deno_graph = { version = "=0.88.0" }
deno_graph = { workspace = true }
deno_lib.workspace = true
deno_lint = { version = "0.73.1" }
deno_lint = { workspace = true }
deno_lockfile.workspace = true
deno_media_type = { workspace = true, features = ["data_url", "decoding", "module_specifier"] }
deno_npm.workspace = true
Expand All @@ -86,35 +86,35 @@ deno_resolver = { workspace = true, features = ["sync"] }
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_semver.workspace = true
deno_snapshots = { workspace = true }
deno_task_shell = "=0.20.2"
deno_task_shell = { workspace = true }
deno_telemetry.workspace = true
deno_terminal.workspace = true
libsui.workspace = true
node_resolver.workspace = true

anstream = "0.6.14"
anstream = { workspace = true }
async-trait.workspace = true
base64.workspace = true
bincode = "=1.3.3"
bincode = { workspace = true }
boxed_error.workspace = true
bytes.workspace = true
capacity_builder.workspace = true
chrono = { workspace = true, features = ["now"] }
clap = { version = "=4.5.30", features = ["env", "string", "wrap_help", "error-context"] }
clap_complete = "=4.5.45"
clap_complete_fig = "=4.5.2"
clap = { workspace = true, features = ["env", "string", "wrap_help", "error-context"] }
clap_complete = { workspace = true }
clap_complete_fig = { workspace = true }
color-print.workspace = true
console_static_text.workspace = true
crossterm = "0.28.1"
crossterm = { workspace = true }
dashmap.workspace = true
dhat = { version = "0.3.3", optional = true }
dissimilar = "=1.0.4"
dotenvy = "0.15.7"
dprint-plugin-json = "=0.19.4"
dprint-plugin-jupyter = "=0.1.5"
dprint-plugin-markdown = "=0.17.8"
dprint-plugin-typescript = "=0.93.4"
fancy-regex = "=0.10.0"
dhat = { workspace = true, optional = true }
dissimilar = { workspace = true }
dotenvy = { workspace = true }
dprint-plugin-json = { workspace = true }
dprint-plugin-jupyter = { workspace = true }
dprint-plugin-markdown = { workspace = true }
dprint-plugin-typescript = { workspace = true }
fancy-regex = { workspace = true }
faster-hex.workspace = true
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.
flate2.workspace = true
Expand All @@ -131,51 +131,51 @@ libc.workspace = true
libz-sys.workspace = true
log = { workspace = true, features = ["serde"] }
lsp-types.workspace = true
malva = "=0.11.0"
markup_fmt = "=0.18.0"
malva = { workspace = true }
markup_fmt = { workspace = true }
memmem.workspace = true
notify.workspace = true
once_cell.workspace = true
open = "5.0.1"
open = { workspace = true }
opentelemetry.workspace = true
opentelemetry-otlp.workspace = true
opentelemetry-semantic-conventions.workspace = true
opentelemetry_sdk.workspace = true
p256.workspace = true
pathdiff = "0.2.1"
pathdiff = { workspace = true }
percent-encoding.workspace = true
phf.workspace = true
pretty_yaml = "=0.5.0"
quick-junit = "^0.3.5"
pretty_yaml = { workspace = true }
quick-junit = { workspace = true }
rand = { workspace = true, features = ["small_rng"] }
regex.workspace = true
ring.workspace = true
rustyline.workspace = true
rustyline-derive = "=0.7.0"
rustyline-derive = { workspace = true }
serde.workspace = true
serde_repr.workspace = true
sha2.workspace = true
spki = { version = "0.7", features = ["pem"] }
sqlformat = "=0.3.2"
strsim = "0.11.1"
spki = { workspace = true, features = ["pem"] }
sqlformat = { workspace = true }
strsim = { workspace = true }
sys_traits = { workspace = true, features = ["getrandom", "filetime", "libc", "real", "strip_unc", "winapi"] }
tar.workspace = true
tempfile.workspace = true
text-size = "=1.1.0"
text_lines = "=0.6.0"
text-size = { workspace = true }
text_lines = { workspace = true }
thiserror.workspace = true
tokio.workspace = true
tokio-util.workspace = true
tower.workspace = true
tower-lsp.workspace = true
tracing = { version = "0.1", features = ["log"], optional = true }
tracing-opentelemetry = { version = "0.28.0", optional = true }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"], optional = true }
typed-arena = "=2.0.2"
unicode-width = "0.1.3"
tracing = { workspace = true, features = ["log"], optional = true }
tracing-opentelemetry = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true }
typed-arena = { workspace = true }
unicode-width = { workspace = true }
uuid = { workspace = true, features = ["serde"] }
walkdir.workspace = true
zip = { version = "2.1.6", default-features = false, features = ["deflate-flate2"] }
zip = { workspace = true, features = ["deflate-flate2"] }
zstd.workspace = true

[target.'cfg(windows)'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion cli/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ deno_resolver = { workspace = true, features = ["sync"] }
deno_runtime.workspace = true
deno_semver.workspace = true
deno_terminal.workspace = true
env_logger = "=0.10.0"
env_logger = { workspace = true }
faster-hex.workspace = true
indexmap.workspace = true
libsui.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions cli/rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ deno_runtime = { workspace = true, features = ["include_js_files_for_snapshottin
deno_semver.workspace = true
deno_snapshots.workspace = true
deno_terminal.workspace = true
libsui = "0.5.0"
libsui = { workspace = true }
node_resolver.workspace = true

async-trait.workspace = true
bincode = "=1.3.3"
bincode = { workspace = true }
import_map = { version = "=0.21.0", features = ["ext"] }
indexmap.workspace = true
log = { workspace = true, features = ["serde"] }
Expand Down
11 changes: 4 additions & 7 deletions ext/canvas/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@ description = "OffscreenCanvas implementation for Deno"
path = "lib.rs"

[dependencies]
bytemuck = "1.17.1"
bytemuck = { workspace = true }
deno_core.workspace = true
deno_error.workspace = true
image = { version = "0.25.4", default-features = false, features = ["png", "jpeg", "bmp", "ico" # NOTE: Temporarily not supported due to build size concerns
# https://github.com/denoland/deno/pull/25517#issuecomment-2626044644
# "webp", "gif"
] }
image = { workspace = true, features = ["png", "jpeg", "bmp", "ico"] }
# NOTE: The qcms is a color space conversion crate which parses ICC profiles that used in Gecko,
# however it supports only 8-bit color depth currently.
# https://searchfox.org/mozilla-central/rev/f09e3f9603a08b5b51bf504846091579bc2ff531/gfx/qcms/src/transform.rs#130-137
# It seems to be failed to build for aarch64-unknown-linux-gnu with pkg-config.
# https://github.com/kornelski/rust-lcms2-sys/blob/b8e9c3efcf266b88600318fb519c073b9ebb61b7/README.md#L26
lcms2 = { version = "6.1.0", features = ["static"] }
num-traits = { version = "0.2.19" }
lcms2 = { workspace = true, features = ["static"] }
num-traits = { workspace = true }
thiserror.workspace = true
22 changes: 11 additions & 11 deletions ext/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ path = "lib.rs"

[dependencies]
aes.workspace = true
aes-gcm = "0.10"
aes-kw = { version = "0.2.1", features = ["alloc"] }
aes-gcm = { workspace = true }
aes-kw = { workspace = true, features = ["alloc"] }
base64.workspace = true
cbc.workspace = true
const-oid = "0.9.0"
const-oid = { workspace = true }
ctr.workspace = true
curve25519-dalek = "4.1.3"
curve25519-dalek = { workspace = true }
deno_core.workspace = true
deno_error.workspace = true
deno_web.workspace = true
ed448-goldilocks = { version = "0.8.3", features = ["zeroize"] }
elliptic-curve = { version = "0.13.1", features = ["std", "pem"] }
num-traits = "0.2.14"
ed448-goldilocks = { workspace = true, features = ["zeroize"] }
elliptic-curve = { workspace = true, features = ["std", "pem"] }
num-traits = { workspace = true }
once_cell.workspace = true
p256 = { version = "0.13.2", features = ["ecdh"] }
p384 = "0.13.0"
p521 = "0.13.3"
p256 = { workspace = true, features = ["ecdh"] }
p384 = { workspace = true }
p521 = { workspace = true }
rand.workspace = true
ring = { workspace = true, features = ["std"] }
rsa.workspace = true
Expand All @@ -43,4 +43,4 @@ spki.workspace = true
thiserror.workspace = true
tokio.workspace = true
uuid.workspace = true
x25519-dalek = "2.0.0"
x25519-dalek = { workspace = true }
4 changes: 2 additions & 2 deletions ext/fetch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ deno_fs.workspace = true
deno_path_util.workspace = true
deno_permissions.workspace = true
deno_tls.workspace = true
dyn-clone = "1"
error_reporter = "1"
dyn-clone = { workspace = true }
error_reporter = { workspace = true }
h2.workspace = true
hickory-resolver.workspace = true
http.workspace = true
Expand Down
14 changes: 7 additions & 7 deletions ext/ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ description = "Dynamic library ffi for deno"
path = "lib.rs"

[dependencies]
cranelift = "0.116"
cranelift-native = "0.116"
cranelift = { workspace = true }
cranelift-native = { workspace = true }
deno_core.workspace = true
deno_error.workspace = true
deno_permissions.workspace = true
dlopen2.workspace = true
libffi = "=3.2.0"
libffi-sys = "=2.3.0"
libffi = { workspace = true }
libffi-sys = { workspace = true }
log.workspace = true
memmap2 = "0.9"
memmap2 = { workspace = true }
num-bigint.workspace = true
serde.workspace = true
serde-value = "0.7"
serde_json = "1.0"
serde-value = { workspace = true }
serde_json = { workspace = true }
thiserror.workspace = true
tokio.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion ext/fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ deno_permissions.workspace = true
filetime.workspace = true
libc.workspace = true
rand.workspace = true
rayon = "1.8.0"
rayon = { workspace = true }
serde.workspace = true
thiserror.workspace = true

Expand Down
Loading
Loading