build(cargo): Remove unused deps (#6117)

This commit is contained in:
IWANABETHATGUY 2022-10-11 19:20:14 +08:00 committed by GitHub
parent af5b25f8b8
commit 27bda13591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 46 additions and 76 deletions

21
Cargo.lock generated
View File

@ -1917,15 +1917,6 @@ dependencies = [
"vcpkg",
]
[[package]]
name = "ordered-float"
version = "2.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87"
dependencies = [
"num-traits",
]
[[package]]
name = "os_str_bytes"
version = "6.0.0"
@ -3081,7 +3072,6 @@ dependencies = [
"once_cell",
"regex",
"serde",
"swc_atoms",
]
[[package]]
@ -3125,7 +3115,6 @@ dependencies = [
name = "swc_config"
version = "0.1.3"
dependencies = [
"anyhow",
"indexmap",
"serde",
"serde_json",
@ -3254,7 +3243,6 @@ name = "swc_css_compat"
version = "0.3.0"
dependencies = [
"once_cell",
"preset_env_base",
"serde",
"serde_json",
"swc_atoms",
@ -3316,7 +3304,6 @@ dependencies = [
"swc_css_codegen",
"swc_css_parser",
"swc_css_visit",
"swc_ecma_loader",
"testing",
]
@ -3604,7 +3591,6 @@ dependencies = [
"swc_common",
"swc_ecma_ast",
"swc_ecma_quote_macros",
"swc_ecma_utils",
"testing",
]
@ -3631,10 +3617,6 @@ dependencies = [
"anyhow",
"hex",
"sha-1",
"swc_atoms",
"swc_common",
"swc_ecma_ast",
"testing",
"tracing",
]
@ -3710,7 +3692,6 @@ dependencies = [
"indexmap",
"is-macro",
"num-bigint",
"ordered-float",
"rayon",
"serde",
"serde_json",
@ -4364,12 +4345,10 @@ dependencies = [
name = "swc_xml_parser"
version = "0.4.6"
dependencies = [
"criterion",
"serde",
"serde_json",
"swc_atoms",
"swc_common",
"swc_node_base",
"swc_xml_ast",
"swc_xml_visit",
"testing",

View File

@ -19,4 +19,3 @@ dashmap = "5.1.0"
once_cell = "1.10.0"
regex = "1.5.4"
serde = "1.0.136"
swc_atoms = { version = "0.4.18", path = "../swc_atoms" }

View File

@ -9,7 +9,6 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.1.3"
[dependencies]
anyhow = "1"
indexmap = "1.6.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View File

@ -16,5 +16,5 @@ proc-macro = true
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = {version = "0.3.4", path = "../swc_macros_common"}
syn = {version = "1", features = ["fold"]}
swc_macros_common = { version = "0.3.4", path = "../swc_macros_common" }
syn = { version = "1", features = ["fold"] }

View File

@ -14,7 +14,6 @@ bench = false
[dependencies]
once_cell = "1.10.0"
preset_env_base = { version = "0.3.2", path = "../preset_env_base" }
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
swc_atoms = { version = "0.4.18", path = "../swc_atoms" }

View File

@ -23,7 +23,6 @@ swc_css_ast = { version = "0.118.0", path = "../swc_css_ast" }
swc_css_codegen = { version = "0.128.0", path = "../swc_css_codegen" }
swc_css_parser = { version = "0.127.0", path = "../swc_css_parser" }
swc_css_visit = { version = "0.117.0", path = "../swc_css_visit" }
swc_ecma_loader = { version = "0.41.5", path = "../swc_ecma_loader" }
[dev-dependencies]
serde_json = "1"

View File

@ -16,7 +16,6 @@ swc_atoms = { version = "0.4.18", path = "../swc_atoms" }
swc_common = { version = "0.29.5", path = "../swc_common" }
swc_ecma_ast = { version = "0.94.6", path = "../swc_ecma_ast" }
swc_ecma_quote_macros = { version = "0.33.7", path = "../swc_ecma_quote_macros" }
swc_ecma_utils = { version = "0.105.9", path = "../swc_ecma_utils" }
[dev-dependencies]
testing = { version = "0.31.5", path = "../testing" }

View File

@ -15,8 +15,4 @@ bench = false
anyhow = "1"
hex = "0.4"
sha-1 = "0.10"
swc_atoms = { version = "0.4.18", path = "../swc_atoms" }
swc_common = { version = "0.29.5", path = "../swc_common" }
swc_ecma_ast = { version = "0.94.6", path = "../swc_ecma_ast" }
testing = { version = "0.31.5", path = "../testing" }
tracing = "0.1.32"

View File

@ -25,7 +25,6 @@ arrayvec = "0.7.2"
indexmap = "1.6.1"
is-macro = "0.2.0"
num-bigint = "0.4"
ordered-float = "2.0.1"
rayon = { version = "1.5.1", optional = true }
serde = { version = "1.0.118", features = ["derive"] }
smallvec = "1.8.0"

View File

@ -1,5 +1,8 @@
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>", "Alexander Akait <sheo13666q@gmail.com>"]
authors = [
"강동윤 <kdy1997.dev@gmail.com>",
"Alexander Akait <sheo13666q@gmail.com>",
]
description = "Internal macro for the html code generator"
documentation = "https://rustdoc.swc.rs/swc_html_codegen_macros/"
edition = "2021"
@ -16,5 +19,5 @@ proc-macro = true
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
swc_macros_common = {version = "0.3.4", path = "../swc_macros_common"}
syn = {version = "1", features = ["fold"]}
swc_macros_common = { version = "0.3.4", path = "../swc_macros_common" }
syn = { version = "1", features = ["fold"] }

View File

@ -24,9 +24,7 @@ swc_common = { version = "0.29.5", path = "../swc_common" }
swc_xml_ast = { version = "0.4.6", path = "../swc_xml_ast" }
[dev-dependencies]
criterion = "0.3"
serde = "1.0.127"
serde_json = "1.0.66"
swc_node_base = { version = "0.5.0", path = "../swc_node_base" }
swc_xml_visit = { version = "0.4.6", path = "../swc_xml_visit" }
testing = { version = "0.31.5", path = "../testing" }