Skip to content
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: 1 addition & 1 deletion .taplo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include = ["Cargo.toml", "crates/*/*.toml", "xtask/*/*.toml"]
include = ["Cargo.toml", "crates/*/*.toml", "xtask/**/*.toml"]

# https://taplo.tamasfe.dev/configuration/formatter-options.html
[formatting]
Expand Down
2 changes: 1 addition & 1 deletion crates/rspack_cacheable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ ustr = { workspace = true }
xxhash-rust = { workspace = true, features = ["const_xxh64"] }

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']
level = "warn"
5 changes: 2 additions & 3 deletions crates/rspack_collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ repository.workspace = true
version.workspace = true

[dependencies]
allocative = { workspace = true, optional = true }
dashmap = { workspace = true }
hashlink = { workspace = true }
indexmap = { workspace = true }
rayon = { workspace = true }
rspack_cacheable = { workspace = true }
serde = { workspace = true, features = ["derive"] }
ustr = { workspace = true, features = ["serde"] }
allocative = { workspace = true, optional = true }

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']

level = "warn"
2 changes: 1 addition & 1 deletion crates/rspack_loader_swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ tracing = { workspace = true }
stacker = { workspace = true }

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']
level = "warn"
2 changes: 1 addition & 1 deletion crates/rspack_plugin_html/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ urlencoding = { workspace = true }
ignored = ["tracing"]

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']
level = "warn"
2 changes: 1 addition & 1 deletion crates/rspack_plugin_mf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ tracing = { workspace = true }
ignored = ["tracing", "rspack_hash"]

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']
level = "warn"
2 changes: 1 addition & 1 deletion crates/rspack_plugin_real_content_hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ tracing = { workspace = true }
ignored = ["tracing"]

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(allocative)']
level = "warn"
2 changes: 1 addition & 1 deletion crates/rspack_tracing_perfetto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ repository.workspace = true
version.workspace = true

[dependencies]
allocative = { workspace = true, optional = true }
bytes = { workspace = true }
micromegas-perfetto = { workspace = true }
prost = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
allocative = { workspace = true, optional = true }

[lints]
workspace = true
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"format:rs": "cargo fmt --all",
"format:js": "prettier . --write",
"format-ci:js": "prettier . --check",
"format-ci:toml": "taplo format --check '.cargo/*.toml' './crates/**/Cargo.toml' './Cargo.toml'",
"format:toml": "taplo format '.cargo/*.toml' './crates/**/Cargo.toml' './Cargo.toml'",
"format-ci:toml": "taplo format --check",
"format:toml": "taplo format",
"lint:js": "pnpm run lint-ci:js --write",
"lint-ci:js": "biome check --diagnostic-level=warn --no-errors-on-unmatched --max-diagnostics=none --error-on-warnings",
"lint:rs": "cargo clippy --workspace --all-targets",
Expand Down
10 changes: 5 additions & 5 deletions xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ repository.workspace = true
version = "0.1.0"

[dependencies]
clap = { workspace= true, features=["color", "error-context", "help", "std", "suggestions", "usage", "derive"] }
anyhow = { workspace = true }
toml = { workspace = true }
cargo_toml= { workspace= true}
serde_json = { workspace = true}
anyhow = { workspace = true }
cargo_toml = { workspace = true }
clap = { workspace = true, features = ["color", "error-context", "help", "std", "suggestions", "usage", "derive"] }
serde_json = { workspace = true }
toml = { workspace = true }

[lints]
workspace = true
Loading