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: remove unused Rust dependencies #5954

Merged
merged 1 commit into from
Mar 15, 2024
Merged
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
2 changes: 2 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include = ["Cargo.toml", "crates/*/*.toml"]

# https://taplo.tamasfe.dev/configuration/formatter-options.html
[formatting]
align_entries = true
Expand Down
32 changes: 2 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ anyhow = { version = "1.0.81", features = ["backtrace"] }
async-recursion = { version = "1.0.5" }
async-scoped = { version = "0.9.0" }
async-trait = { version = "0.1.77" }
backtrace = "0.3"
better_scoped_tls = { version = "0.1.1" }
bitflags = { version = "2.4.2" }
colored = { version = "2.1.0" }
Expand All @@ -16,7 +15,6 @@ dashmap = { version = "5.5.3" }
derivative = { version = "2.2.0" }
derive_builder = { version = "0.20.0" }
futures = { version = "0.3.30" }
futures-util = { version = "0.3.30" }
glob = { version = "0.3.1" }
hashlink = { version = "0.9.0" }
indexmap = { version = "2.2.5" }
Expand All @@ -30,8 +28,6 @@ once_cell = { version = "1.19.0" }
paste = { version = "1.0" }
path-clean = { version = "1.0.1" }
pathdiff = { version = "0.2.1" }
preset_env_base = { version = "0.4.11" }
proc-macro2 = { version = "1.0.79" }
quote = { version = "1.0.35" }
rayon = { version = "1.9.0" }
regex = { version = "1.10.3" }
Expand All @@ -56,21 +52,19 @@ xxhash-rust = { version = "0.8.10" }
napi = { git = "https://github.com/h-a-n-a/napi-rs", branch = "rspack" }
napi-build = { git = "https://github.com/h-a-n-a/napi-rs", branch = "rspack" }
napi-derive = { git = "https://github.com/h-a-n-a/napi-rs", branch = "rspack" }
napi-sys = { git = "https://github.com/h-a-n-a/napi-rs", branch = "rspack" }
tikv-jemallocator = { version = "=0.5.4", features = ["disable_initial_exec_tls"] }

# Must be pinned with the same swc versions
rkyv = { version = "=0.7.42" } # synced with swc wasm plugin
styled_components = { version = "=0.96.3" }
swc_config = { version = "=0.1.10" }
swc_core = { version = "=0.89.6", default-features = false }
swc_css = { version = "=0.157.32" }
swc_ecma_minifier = { version = "=0.191.7", default-features = false }
swc_emotion = { version = "=0.72.2" }
swc_error_reporters = { version = "=0.17.14" }
swc_html = { version = "=0.136.7" }
swc_html_minifier = { version = "=0.133.7" }
swc_node_comments = { version = "=0.20.14" }
rkyv = { version = "=0.7.42" } # synced with swc wasm plugin

[profile.dev]
codegen-units = 16 # debug build will cause runtime panic if codegen-unints is default
Expand Down
4 changes: 0 additions & 4 deletions crates/cargo-rst/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ name = "cargo-rst"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dev-dependencies]
testing_macros = { workspace = true }

[dependencies]
derive_builder = { workspace = true }
glob = { workspace = true }
Expand Down
3 changes: 0 additions & 3 deletions crates/node_binding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@ color-backtrace = "0.6"

[build-dependencies]
napi-build = { workspace = true }

[dev-dependencies]
testing_macros = { workspace = true }
5 changes: 0 additions & 5 deletions crates/rspack_loader_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ name = "rspack_loader_runner"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dev-dependencies]
similar-asserts = "1.5.0"

[dependencies]
anymap = "1.0.0-beta.2"
async-recursion = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/rspack_loader_swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ swc_core = { workspace = true, features = ["base", "ecma_ast", "
xxhash-rust = { workspace = true, features = ["xxh32"] }

[dev-dependencies]
indexmap = { workspace = true }
rspack_testing = { path = "../rspack_testing" }
tokio = { workspace = true }
6 changes: 0 additions & 6 deletions crates/rspack_plugin_copy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ name = "rspack_plugin_copy"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dev-dependencies]
rspack_testing = { path = "../rspack_testing" }
testing_macros = { workspace = true }

[dependencies]
dashmap = { workspace = true }
glob = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions crates/rspack_plugin_css/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,4 @@ tracing = { workspace = true }
urlencoding = { workspace = true }

[dev-dependencies]
hrx-parser = "0.1.1"
insta = { workspace = true }
rspack_testing = { path = "../rspack_testing" }
Loading