1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: cleanup unused dependencies (#23787)

This commit is contained in:
Leo Kettmeir 2024-05-13 14:23:39 -07:00 committed by GitHub
parent 329a8ae0c0
commit df879f9f74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1 additions and 114 deletions

67
Cargo.lock generated
View file

@ -706,10 +706,8 @@ dependencies = [
"os_pipe", "os_pipe",
"pretty_assertions", "pretty_assertions",
"serde", "serde",
"serde_repr",
"test_server", "test_server",
"tokio", "tokio",
"tokio-util",
"tower-lsp", "tower-lsp",
"trust-dns-client", "trust-dns-client",
"trust-dns-server", "trust-dns-server",
@ -1111,7 +1109,6 @@ dependencies = [
"faster-hex", "faster-hex",
"flate2", "flate2",
"fs3", "fs3",
"fwdansi",
"glibc_version", "glibc_version",
"glob", "glob",
"ignore", "ignore",
@ -1131,11 +1128,9 @@ dependencies = [
"notify", "notify",
"once_cell", "once_cell",
"open", "open",
"os_pipe",
"p256", "p256",
"percent-encoding", "percent-encoding",
"phf 0.11.2", "phf 0.11.2",
"pin-project",
"pretty_assertions", "pretty_assertions",
"quick-junit", "quick-junit",
"rand", "rand",
@ -1161,7 +1156,6 @@ dependencies = [
"tower-lsp", "tower-lsp",
"twox-hash", "twox-hash",
"typed-arena", "typed-arena",
"unicode-width",
"uuid", "uuid",
"walkdir", "walkdir",
"winapi", "winapi",
@ -1220,7 +1214,6 @@ version = "0.145.0"
dependencies = [ dependencies = [
"bencher", "bencher",
"deno_core", "deno_core",
"once_cell",
"tokio", "tokio",
] ]
@ -1273,7 +1266,6 @@ dependencies = [
"deno_webgpu", "deno_webgpu",
"image", "image",
"serde", "serde",
"tokio",
] ]
[[package]] [[package]]
@ -1379,7 +1371,6 @@ dependencies = [
"sha2", "sha2",
"signature", "signature",
"spki", "spki",
"tokio",
"uuid", "uuid",
"x25519-dalek", "x25519-dalek",
] ]
@ -1436,7 +1427,6 @@ dependencies = [
"deno_tls", "deno_tls",
"dyn-clone", "dyn-clone",
"http 0.2.12", "http 0.2.12",
"pin-project",
"reqwest", "reqwest",
"serde", "serde",
"serde_json", "serde_json",
@ -1457,7 +1447,6 @@ dependencies = [
"serde", "serde",
"serde-value", "serde-value",
"serde_json", "serde_json",
"tokio",
"winapi", "winapi",
] ]
@ -1470,15 +1459,12 @@ dependencies = [
"deno_core", "deno_core",
"deno_io", "deno_io",
"filetime", "filetime",
"fs3",
"junction", "junction",
"libc", "libc",
"log",
"nix 0.26.2", "nix 0.26.2",
"rand", "rand",
"rayon", "rayon",
"serde", "serde",
"tokio",
"winapi", "winapi",
] ]
@ -1587,14 +1573,9 @@ dependencies = [
"prost", "prost",
"prost-build", "prost-build",
"rand", "rand",
"reqwest",
"rusqlite", "rusqlite",
"serde", "serde",
"serde_json",
"termcolor",
"tokio",
"url", "url",
"uuid",
] ]
[[package]] [[package]]
@ -1664,8 +1645,6 @@ version = "0.143.0"
dependencies = [ dependencies = [
"deno_core", "deno_core",
"deno_tls", "deno_tls",
"enum-as-inner",
"log",
"pin-project", "pin-project",
"rustls-tokio-stream", "rustls-tokio-stream",
"serde", "serde",
@ -1710,7 +1689,6 @@ dependencies = [
"libz-sys", "libz-sys",
"md-5", "md-5",
"md4", "md4",
"nix 0.26.2",
"num-bigint", "num-bigint",
"num-bigint-dig", "num-bigint-dig",
"num-integer", "num-integer",
@ -1737,7 +1715,6 @@ dependencies = [
"simd-json", "simd-json",
"spki", "spki",
"tokio", "tokio",
"typenum",
"url", "url",
"winapi", "winapi",
"windows-sys 0.48.0", "windows-sys 0.48.0",
@ -1782,7 +1759,6 @@ dependencies = [
name = "deno_permissions" name = "deno_permissions"
version = "0.11.0" version = "0.11.0"
dependencies = [ dependencies = [
"console_static_text",
"deno_core", "deno_core",
"deno_terminal", "deno_terminal",
"fqdn", "fqdn",
@ -1790,7 +1766,6 @@ dependencies = [
"log", "log",
"once_cell", "once_cell",
"serde", "serde",
"termcolor",
"which 4.4.2", "which 4.4.2",
"winapi", "winapi",
] ]
@ -1799,7 +1774,6 @@ dependencies = [
name = "deno_runtime" name = "deno_runtime"
version = "0.159.0" version = "0.159.0"
dependencies = [ dependencies = [
"console_static_text",
"deno_ast", "deno_ast",
"deno_broadcast_channel", "deno_broadcast_channel",
"deno_cache", "deno_cache",
@ -1829,10 +1803,7 @@ dependencies = [
"dlopen2", "dlopen2",
"encoding_rs", "encoding_rs",
"fastwebsockets", "fastwebsockets",
"filetime",
"flate2", "flate2",
"fs3",
"fwdansi",
"http 1.1.0", "http 1.1.0",
"http-body-util", "http-body-util",
"hyper 0.14.28", "hyper 0.14.28",
@ -1847,7 +1818,6 @@ dependencies = [
"once_cell", "once_cell",
"percent-encoding", "percent-encoding",
"regex", "regex",
"ring",
"rustyline", "rustyline",
"serde", "serde",
"signal-hook", "signal-hook",
@ -1859,7 +1829,6 @@ dependencies = [
"which 4.4.2", "which 4.4.2",
"winapi", "winapi",
"windows-sys 0.48.0", "windows-sys 0.48.0",
"winres",
] ]
[[package]] [[package]]
@ -1908,7 +1877,6 @@ version = "0.138.0"
dependencies = [ dependencies = [
"deno_core", "deno_core",
"deno_native_certs", "deno_native_certs",
"once_cell",
"rustls", "rustls",
"rustls-pemfile", "rustls-pemfile",
"rustls-tokio-stream", "rustls-tokio-stream",
@ -1935,7 +1903,6 @@ dependencies = [
"deno_console", "deno_console",
"deno_core", "deno_core",
"deno_webidl", "deno_webidl",
"serde",
"urlpattern", "urlpattern",
] ]
@ -1957,7 +1924,6 @@ dependencies = [
"serde", "serde",
"tokio", "tokio",
"uuid", "uuid",
"windows-sys 0.48.0",
] ]
[[package]] [[package]]
@ -1969,7 +1935,6 @@ dependencies = [
"serde", "serde",
"tokio", "tokio",
"wgpu-core", "wgpu-core",
"wgpu-hal",
"wgpu-types", "wgpu-types",
] ]
@ -2008,7 +1973,6 @@ dependencies = [
"deno_core", "deno_core",
"deno_web", "deno_web",
"rusqlite", "rusqlite",
"serde",
] ]
[[package]] [[package]]
@ -2908,16 +2872,6 @@ dependencies = [
"slab", "slab",
] ]
[[package]]
name = "fwdansi"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08c1f5787fe85505d1f7777268db5103d80a7a374d2316a7ce262e57baf8f208"
dependencies = [
"memchr",
"termcolor",
]
[[package]] [[package]]
name = "generic-array" name = "generic-array"
version = "0.14.7" version = "0.14.7"
@ -3037,19 +2991,6 @@ dependencies = [
"bitflags 2.5.0", "bitflags 2.5.0",
] ]
[[package]]
name = "gpu-allocator"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f56f6318968d03c18e1bcf4857ff88c61157e9da8e47c5f29055d60e1228884"
dependencies = [
"log",
"presser",
"thiserror",
"winapi",
"windows",
]
[[package]] [[package]]
name = "gpu-descriptor" name = "gpu-descriptor"
version = "0.3.0" version = "0.3.0"
@ -4170,7 +4111,6 @@ dependencies = [
name = "napi_sym" name = "napi_sym"
version = "0.81.0" version = "0.81.0"
dependencies = [ dependencies = [
"proc-macro2",
"quote", "quote",
"serde", "serde",
"serde_json", "serde_json",
@ -4873,12 +4813,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
[[package]]
name = "presser"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa"
[[package]] [[package]]
name = "pretty_assertions" name = "pretty_assertions"
version = "1.4.0" version = "1.4.0"
@ -7497,7 +7431,6 @@ dependencies = [
"glow", "glow",
"glutin_wgl_sys", "glutin_wgl_sys",
"gpu-alloc", "gpu-alloc",
"gpu-allocator",
"gpu-descriptor", "gpu-descriptor",
"js-sys", "js-sys",
"khronos-egl", "khronos-egl",

View file

@ -188,11 +188,9 @@ rsa = { version = "0.9.3", default-features = false, features = ["std", "pem", "
# webgpu # webgpu
raw-window-handle = "0.6.0" raw-window-handle = "0.6.0"
wgpu-core = "0.20" wgpu-core = "0.20"
wgpu-hal = "0.20"
wgpu-types = "0.20" wgpu-types = "0.20"
# macros # macros
proc-macro2 = "1"
quote = "1" quote = "1"
syn = { version = "2", features = ["full", "extra-traits"] } syn = { version = "2", features = ["full", "extra-traits"] }
@ -200,7 +198,6 @@ syn = { version = "2", features = ["full", "extra-traits"] }
nix = "=0.26.2" nix = "=0.26.2"
# windows deps # windows deps
fwdansi = "=1.1.0"
junction = "=0.2.0" junction = "=0.2.0"
winapi = "=0.3.9" winapi = "=0.3.9"
windows-sys = { version = "0.48.0", features = ["Win32_Foundation", "Win32_Media", "Win32_Storage_FileSystem"] } windows-sys = { version = "0.48.0", features = ["Win32_Foundation", "Win32_Media", "Win32_Storage_FileSystem"] }

View file

@ -17,7 +17,6 @@ path = "lib.rs"
[dependencies] [dependencies]
bencher.workspace = true bencher.workspace = true
deno_core.workspace = true deno_core.workspace = true
once_cell.workspace = true
tokio.workspace = true tokio.workspace = true
[[bench]] [[bench]]

View file

@ -121,11 +121,9 @@ monch.workspace = true
notify.workspace = true notify.workspace = true
once_cell.workspace = true once_cell.workspace = true
open = "5.0.1" open = "5.0.1"
os_pipe.workspace = true
p256.workspace = true p256.workspace = true
percent-encoding.workspace = true percent-encoding.workspace = true
phf.workspace = true phf.workspace = true
pin-project.workspace = true
quick-junit = "^0.3.5" quick-junit = "^0.3.5"
rand = { workspace = true, features = ["small_rng"] } rand = { workspace = true, features = ["small_rng"] }
regex.workspace = true regex.workspace = true
@ -148,14 +146,12 @@ tokio-util.workspace = true
tower-lsp.workspace = true tower-lsp.workspace = true
twox-hash = "=1.6.3" twox-hash = "=1.6.3"
typed-arena = "=2.0.1" typed-arena = "=2.0.1"
unicode-width = "0.1"
uuid = { workspace = true, features = ["serde"] } uuid = { workspace = true, features = ["serde"] }
walkdir = "=2.3.2" walkdir = "=2.3.2"
zeromq.workspace = true zeromq.workspace = true
zstd.workspace = true zstd.workspace = true
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
fwdansi.workspace = true
junction.workspace = true junction.workspace = true
winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] } winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }

View file

@ -15,7 +15,6 @@ path = "./lib.rs"
proc-macro = true proc-macro = true
[dependencies] [dependencies]
proc-macro2.workspace = true
quote.workspace = true quote.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true

View file

@ -18,4 +18,3 @@ deno_core.workspace = true
deno_webgpu.workspace = true deno_webgpu.workspace = true
image = { version = "0.24.7", default-features = false, features = ["png"] } image = { version = "0.24.7", default-features = false, features = ["png"] }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["full"] }

View file

@ -40,6 +40,5 @@ sha1 = { version = "0.10.6", features = ["oid"] }
sha2.workspace = true sha2.workspace = true
signature.workspace = true signature.workspace = true
spki.workspace = true spki.workspace = true
tokio.workspace = true
uuid.workspace = true uuid.workspace = true
x25519-dalek = "2.0.0" x25519-dalek = "2.0.0"

View file

@ -20,7 +20,6 @@ deno_core.workspace = true
deno_tls.workspace = true deno_tls.workspace = true
dyn-clone = "1" dyn-clone = "1"
http_v02.workspace = true http_v02.workspace = true
pin-project.workspace = true
reqwest.workspace = true reqwest.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true

View file

@ -23,7 +23,6 @@ log.workspace = true
serde.workspace = true serde.workspace = true
serde-value = "0.7" serde-value = "0.7"
serde_json = "1.0" serde_json = "1.0"
tokio.workspace = true
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { workspace = true, features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } winapi = { workspace = true, features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] }

View file

@ -22,13 +22,10 @@ base32.workspace = true
deno_core.workspace = true deno_core.workspace = true
deno_io.workspace = true deno_io.workspace = true
filetime.workspace = true filetime.workspace = true
fs3.workspace = true
libc.workspace = true libc.workspace = true
log.workspace = true
rand.workspace = true rand.workspace = true
rayon = "1.8.0" rayon = "1.8.0"
serde.workspace = true serde.workspace = true
tokio.workspace = true
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
nix.workspace = true nix.workspace = true

View file

@ -30,14 +30,9 @@ log.workspace = true
num-bigint.workspace = true num-bigint.workspace = true
prost.workspace = true prost.workspace = true
rand.workspace = true rand.workspace = true
reqwest.workspace = true
rusqlite.workspace = true rusqlite.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true
termcolor.workspace = true
tokio.workspace = true
url.workspace = true url.workspace = true
uuid = { workspace = true, features = ["serde"] }
[build-dependencies] [build-dependencies]
prost-build.workspace = true prost-build.workspace = true

View file

@ -16,10 +16,6 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core.workspace = true deno_core.workspace = true
deno_tls.workspace = true deno_tls.workspace = true
# Pinning to 0.5.1, because 0.5.2 breaks "cargo publish"
# https://github.com/bluejekyll/enum-as-inner/pull/91
enum-as-inner = "=0.5.1"
log.workspace = true
pin-project.workspace = true pin-project.workspace = true
rustls-tokio-stream.workspace = true rustls-tokio-stream.workspace = true
serde.workspace = true serde.workspace = true

View file

@ -45,7 +45,6 @@ libc.workspace = true
libz-sys.workspace = true libz-sys.workspace = true
md-5 = "0.10.5" md-5 = "0.10.5"
md4 = "0.10.2" md4 = "0.10.2"
nix.workspace = true
num-bigint.workspace = true num-bigint.workspace = true
num-bigint-dig = "0.8.2" num-bigint-dig = "0.8.2"
num-integer = "0.1.45" num-integer = "0.1.45"
@ -72,7 +71,6 @@ signature.workspace = true
simd-json = "0.13.4" simd-json = "0.13.4"
spki.workspace = true spki.workspace = true
tokio.workspace = true tokio.workspace = true
typenum = "1.15.0"
url.workspace = true url.workspace = true
winapi.workspace = true winapi.workspace = true
x25519-dalek = "2.0.0" x25519-dalek = "2.0.0"

View file

@ -16,7 +16,6 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core.workspace = true deno_core.workspace = true
deno_native_certs = "0.2.0" deno_native_certs = "0.2.0"
once_cell.workspace = true
rustls = { workspace = true, features = ["dangerous_configuration"] } rustls = { workspace = true, features = ["dangerous_configuration"] }
rustls-pemfile.workspace = true rustls-pemfile.workspace = true
rustls-tokio-stream.workspace = true rustls-tokio-stream.workspace = true

View file

@ -15,7 +15,6 @@ path = "lib.rs"
[dependencies] [dependencies]
deno_core.workspace = true deno_core.workspace = true
serde.workspace = true
urlpattern = "0.2.0" urlpattern = "0.2.0"
[dev-dependencies] [dev-dependencies]

View file

@ -24,7 +24,6 @@ futures.workspace = true
serde = "1.0.149" serde = "1.0.149"
tokio.workspace = true tokio.workspace = true
uuid = { workspace = true, features = ["serde"] } uuid = { workspace = true, features = ["serde"] }
windows-sys.workspace = true
[dev-dependencies] [dev-dependencies]
deno_bench_util.workspace = true deno_bench_util.workspace = true

View file

@ -44,10 +44,6 @@ features = ["metal"]
workspace = true workspace = true
features = ["dx12"] features = ["dx12"]
[target.'cfg(windows)'.dependencies.wgpu-hal]
workspace = true
features = ["windows_rs"]
# We want the wgpu-core Vulkan backend on Unix (but not Emscripten) and Windows. # We want the wgpu-core Vulkan backend on Unix (but not Emscripten) and Windows.
[target.'cfg(any(windows, all(unix, not(target_os = "emscripten"))))'.dependencies.wgpu-core] [target.'cfg(any(windows, all(unix, not(target_os = "emscripten"))))'.dependencies.wgpu-core]
workspace = true workspace = true

View file

@ -17,4 +17,3 @@ path = "lib.rs"
deno_core.workspace = true deno_core.workspace = true
deno_web.workspace = true deno_web.workspace = true
rusqlite.workspace = true rusqlite.workspace = true
serde.workspace = true

View file

@ -65,7 +65,6 @@ flate2 = { workspace = true, features = ["default"] }
serde.workspace = true serde.workspace = true
[target.'cfg(windows)'.build-dependencies] [target.'cfg(windows)'.build-dependencies]
winres.workspace = true
winapi.workspace = true winapi.workspace = true
[dependencies] [dependencies]
@ -96,12 +95,9 @@ deno_webidl.workspace = true
deno_websocket.workspace = true deno_websocket.workspace = true
deno_webstorage.workspace = true deno_webstorage.workspace = true
console_static_text.workspace = true
dlopen2.workspace = true dlopen2.workspace = true
encoding_rs.workspace = true encoding_rs.workspace = true
fastwebsockets.workspace = true fastwebsockets.workspace = true
filetime = "0.2.16"
fs3.workspace = true
http.workspace = true http.workspace = true
http-body-util.workspace = true http-body-util.workspace = true
hyper.workspace = true hyper.workspace = true
@ -114,7 +110,6 @@ notify.workspace = true
once_cell.workspace = true once_cell.workspace = true
percent-encoding.workspace = true percent-encoding.workspace = true
regex.workspace = true regex.workspace = true
ring.workspace = true
rustyline = { workspace = true, features = ["custom-bindings"] } rustyline = { workspace = true, features = ["custom-bindings"] }
serde.workspace = true serde.workspace = true
signal-hook = "0.3.17" signal-hook = "0.3.17"
@ -125,7 +120,6 @@ uuid.workspace = true
which = "4.2.5" which = "4.2.5"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
fwdansi.workspace = true
winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "psapi", "shlobj", "tlhelp32", "winbase", "winerror", "winuser", "winsock2"] } winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "psapi", "shlobj", "tlhelp32", "winbase", "winerror", "winuser", "winsock2"] }
ntapi = "0.4.0" ntapi = "0.4.0"
windows-sys.workspace = true windows-sys.workspace = true

View file

@ -14,7 +14,6 @@ name = "deno_permissions"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
console_static_text.workspace = true
deno_core.workspace = true deno_core.workspace = true
deno_terminal.workspace = true deno_terminal.workspace = true
fqdn = "0.3.4" fqdn = "0.3.4"
@ -22,7 +21,6 @@ libc.workspace = true
log.workspace = true log.workspace = true
once_cell.workspace = true once_cell.workspace = true
serde.workspace = true serde.workspace = true
termcolor.workspace = true
which = "4.2.5" which = "4.2.5"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]

View file

@ -53,10 +53,8 @@ once_cell.workspace = true
os_pipe.workspace = true os_pipe.workspace = true
pretty_assertions.workspace = true pretty_assertions.workspace = true
serde.workspace = true serde.workspace = true
serde_repr.workspace = true
test_util.workspace = true test_util.workspace = true
tokio.workspace = true tokio.workspace = true
tokio-util.workspace = true
tower-lsp.workspace = true tower-lsp.workspace = true
trust-dns-client = "=0.22.0" trust-dns-client = "=0.22.0"
trust-dns-server = "=0.22.1" trust-dns-server = "=0.22.1"

View file

@ -77,8 +77,7 @@ async function patchCargo() {
(data) => (data) =>
data data
.replace(/^wgpu-core = .*/m, `wgpu-core = "${V_WGPU}"`) .replace(/^wgpu-core = .*/m, `wgpu-core = "${V_WGPU}"`)
.replace(/^wgpu-types = .*/m, `wgpu-types = "${V_WGPU}"`) .replace(/^wgpu-types = .*/m, `wgpu-types = "${V_WGPU}"`),
.replace(/^wgpu-hal = .*/m, `wgpu-hal = "${V_WGPU}"`),
); );
} }