Skip to content

Commit

Permalink
feat(visit): Derive serde for AstParentKind (#9744)
Browse files Browse the repository at this point in the history
**Description:**

This is for turbopack.
  • Loading branch information
kdy1 authored Nov 21, 2024
1 parent 14a5c1e commit e0fdd68
Show file tree
Hide file tree
Showing 10 changed files with 467 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .changeset/silent-flowers-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
swc_css_visit: patch
swc_html_visit: patch
swc_ecma_visit: patch
swc_xml_visit: patch
---

feat(visit): Derive serde for `AstParentKind`
7 changes: 4 additions & 3 deletions crates/swc_css_visit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ version = "4.0.0"
bench = false

[features]
default = ["serde"]
path = []
default = ["serde"]
path = []
serde-impl = ["serde"]

[dependencies]
serde = { workspace = true, optional = true }
serde = { workspace = true, optional = true, features = ["derive"] }

swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
swc_common = { version = "4.0.1", path = "../swc_common" }
Expand Down
Loading

0 comments on commit e0fdd68

Please sign in to comment.