mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
7a83c0cb57
ast_node: - Improve deserialization of enums. swc_css_ast: - Fix a compilation issue. swc_ecma_ast: - Update `serde`. swc_ecma_parser: - Fix a compilation issue. swc_estree_ast: - Fix serialization.
10 lines
142 B
Rust
10 lines
142 B
Rust
use swc_common::ast_serde;
|
|
|
|
#[ast_serde]
|
|
enum Message {
|
|
#[tag("Request")]
|
|
Request(String),
|
|
#[tag("Response")]
|
|
Response(u8),
|
|
}
|