mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
fa40c8ddf3
rust-analysis chokes with `Option<Box<Expr>>` style fields. Rls only shows a warning on the crate with that fields, but ICEs on dependent crates. This can be workarounded by using `Option<(Box<Expr>)>`. Also, using multiple glob imports is bad for rls. So this commit deglobs them.
22 lines
400 B
TOML
22 lines
400 B
TOML
[package]
|
|
name = "ast_node"
|
|
version = "0.1.0"
|
|
authors = ["강동윤 <kdy1@outlook.kr>"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
swc_macros_common = { path = "../common" }
|
|
pmutil = "0.1"
|
|
proc-macro2 = "0.2"
|
|
quote = "0.4"
|
|
|
|
[dependencies.syn]
|
|
version = "0.12"
|
|
features = ["derive", "fold", "parsing", "printing"]
|
|
|
|
|
|
[dev-dependencies]
|
|
swc_macros = { path = "../" }
|
|
swc_common = { path = "../../common" } |