Skip to content

Commit

Permalink
chore: remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Sep 19, 2024
1 parent f3125fa commit 545986f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
12 changes: 0 additions & 12 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/rspack_core/src/context_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ fn alternative_requests(
for item in std::mem::take(&mut items) {
items.push(item.clone());
for module in resolve_options.modules() {
let dir = module.replace('\\', "/");
let dir = module.cow_replace('\\', "/");
if item.request.starts_with(&format!("./{}/", dir)) {
items.push(AlternativeRequest::new(
item.context.clone(),
Expand Down
13 changes: 1 addition & 12 deletions crates/rspack_plugin_context_replacement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,14 @@ license = "MIT"
name = "rspack_plugin_context_replacement"
repository = "https://github.com/web-infra-dev/rspack"
version = "0.1.0"

[dependencies]
dashmap = { workspace = true }
derivative = { workspace = true }
futures = { workspace = true }
glob = { workspace = true }
lazy_static = "1.4.0"
pathdiff = { workspace = true, features = ["camino"] }
regex = { workspace = true }
rspack_core = { version = "0.1.0", path = "../rspack_core" }
rspack_error = { version = "0.1.0", path = "../rspack_error" }
rspack_futures = { version = "0.1.0", path = "../rspack_futures" }
rspack_hash = { version = "0.1.0", path = "../rspack_hash" }
rspack_hook = { version = "0.1.0", path = "../rspack_hook" }
rspack_paths = { version = "0.1.0", path = "../rspack_paths" }
rspack_regex = { version = "0.1.0", path = "../rspack_regex" }
rspack_util = { version = "0.1.0", path = "../rspack_util" }
rustc-hash = { workspace = true }
sugar_path = { workspace = true }
tokio = { workspace = true, features = ["fs"] }
tracing = { workspace = true }

[package.metadata.cargo-shear]
Expand Down

0 comments on commit 545986f

Please sign in to comment.