Skip to content

Commit

Permalink
refactor(napi/parser): enable serialize feature for oxc_ast only (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Dec 8, 2024
1 parent c98457d commit 48b1e4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions napi/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ test = false
doctest = false

[dependencies]
oxc = { workspace = true, features = ["serialize"] }
oxc = { workspace = true }
oxc_ast = { workspace = true, features = ["serialize"] } # enable feature only
oxc_napi = { workspace = true }

rustc-hash = { workspace = true }
Expand All @@ -31,7 +32,7 @@ napi = { workspace = true, features = ["async"] }
napi-derive = { workspace = true }

[package.metadata.cargo-shear]
ignored = ["napi"]
ignored = ["napi", "oxc_ast"]

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

0 comments on commit 48b1e4a

Please sign in to comment.