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

@ -1,16 +1,15 @@
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Types for configuring swc"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Types for configuring swc"
documentation = "https://rustdoc.swc.rs/swc_config/"
edition = "2021"
license = "Apache-2.0"
name = "swc_config"
repository = "https://github.com/swc-project/swc.git"
version = "0.1.3"
edition = "2021"
license = "Apache-2.0"
name = "swc_config"
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"
indexmap = "1.6.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
swc_config_macro = { version = "0.1.0", path = "../swc_config_macro" }

View File

@ -1,20 +1,20 @@
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Internal macro for the css code generator"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Internal macro for the css code generator"
documentation = "https://rustdoc.swc.rs/swc_css_codegen_macros/"
edition = "2021"
license = "Apache-2.0"
name = "swc_css_codegen_macros"
repository = "https://github.com/swc-project/swc.git"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
name = "swc_css_codegen_macros"
repository = "https://github.com/swc-project/swc.git"
version = "0.2.0"
[lib]
bench = false
bench = false
proc-macro = true
[dependencies]
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"]}
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"] }

View File

@ -13,15 +13,14 @@ version = "0.3.0"
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" }
swc_common = { version = "0.29.5", path = "../swc_common" }
swc_css_ast = { version = "0.118.0", path = "../swc_css_ast" }
swc_css_utils = { version = "0.115.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "0.117.0", path = "../swc_css_visit" }
once_cell = "1.10.0"
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
swc_atoms = { version = "0.4.18", path = "../swc_atoms" }
swc_common = { version = "0.29.5", path = "../swc_common" }
swc_css_ast = { version = "0.118.0", path = "../swc_css_ast" }
swc_css_utils = { version = "0.115.0", path = "../swc_css_utils/" }
swc_css_visit = { version = "0.117.0", path = "../swc_css_visit" }
[dev-dependencies]
swc_css_codegen = { version = "0.128.0", path = "../swc_css_codegen" }

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

@ -12,11 +12,7 @@ version = "0.20.7"
bench = false
[dependencies]
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"
anyhow = "1"
hex = "0.4"
sha-1 = "0.10"
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"
@ -9,12 +12,12 @@ repository = "https://github.com/swc-project/swc.git"
version = "0.2.0"
[lib]
bench = false
bench = false
proc-macro = true
[dependencies]
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"]}
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"] }

View File

@ -42,6 +42,6 @@ rkyv = { package = "rkyv", version = "=0.7.37", optional = true }
# cannot be merged.
rkyv-latest = { package = "rkyv-test", version = "=0.7.38-test.2", optional = true }
swc_common = { version = "0.29.5", path = "../swc_common" }
swc_ecma_ast = { version = "0.94.6", path = "../swc_ecma_ast" }
swc_ecma_ast = { version = "0.94.6", path = "../swc_ecma_ast" }
swc_trace_macro = { version = "0.1.2", path = "../swc_trace_macro" }
tracing = "0.1.32"

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" }