Skip to content

Commit e0fdd68

Browse files
authoredNov 21, 2024··
feat(visit): Derive serde for AstParentKind (#9744)
**Description:** This is for turbopack.
1 parent 14a5c1e commit e0fdd68

File tree

10 files changed

+467
-13
lines changed

10 files changed

+467
-13
lines changed
 

‎.changeset/silent-flowers-agree.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
swc_css_visit: patch
3+
swc_html_visit: patch
4+
swc_ecma_visit: patch
5+
swc_xml_visit: patch
6+
---
7+
8+
feat(visit): Derive serde for `AstParentKind`

‎crates/swc_css_visit/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ version = "4.0.0"
1616
bench = false
1717

1818
[features]
19-
default = ["serde"]
20-
path = []
19+
default = ["serde"]
20+
path = []
21+
serde-impl = ["serde"]
2122

2223
[dependencies]
23-
serde = { workspace = true, optional = true }
24+
serde = { workspace = true, optional = true, features = ["derive"] }
2425

2526
swc_atoms = { version = "2.0.0", path = "../swc_atoms" }
2627
swc_common = { version = "4.0.1", path = "../swc_common" }

0 commit comments

Comments
 (0)
Please sign in to comment.