Skip to content

Commit 73d2558

Browse files
committed
fix(oxlint): fix oxlint failed to build due to missing feature
closes #4626
1 parent c69ada4 commit 73d2558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/oxc_linter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ doctest = false
2222
[dependencies]
2323
oxc_allocator = { workspace = true }
2424
oxc_parser = { workspace = true }
25-
oxc_span = { workspace = true, features = ["schemars"] }
25+
oxc_span = { workspace = true, features = ["schemars", "serialize"] }
2626
oxc_ast = { workspace = true }
2727
oxc_cfg = { workspace = true }
2828
oxc_diagnostics = { workspace = true }

tasks/benchmark/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ oxc_minifier = { workspace = true, optional = true }
7474
oxc_parser = { workspace = true, features = ["benchmarking"], optional = true }
7575
oxc_prettier = { workspace = true, optional = true }
7676
oxc_semantic = { workspace = true, optional = true }
77-
oxc_span = { workspace = true, optional = true, features = ["serialize", "schemars"] }
77+
oxc_span = { workspace = true, optional = true, features = ["schemars", "serialize"] }
7878
oxc_tasks_common = { workspace = true, optional = true }
7979
oxc_transformer = { workspace = true, optional = true }
8080
oxc_codegen = { workspace = true, optional = true }

0 commit comments

Comments
 (0)