third_party/rust/syn/BUILD.gn
config("syn_config") {
rustflags = [
"--cfg=feature=\"clone-impls\"",
"--cfg=feature=\"derive\"",
"--cfg=feature=\"parsing\"",
"--cfg=feature=\"printing\"",
"--cfg=feature=\"proc-macro\"",
"--cfg=feature=\"full\"",
]
}
rust_static_library("syn") {
sources = [
"//third_party/rust/vendor/syn/src/spanned.rs",
"//third_party/rust/vendor/syn/src/drops.rs",
"//third_party/rust/vendor/syn/src/op.rs",
"//third_party/rust/vendor/syn/src/macros.rs",
"//third_party/rust/vendor/syn/src/parse_macro_input.rs",
"//third_party/rust/vendor/syn/src/lib.rs",
"//third_party/rust/vendor/syn/src/buffer.rs",
"//third_party/rust/vendor/syn/src/export.rs",
"//third_party/rust/vendor/syn/src/file.rs",
"//third_party/rust/vendor/syn/src/meta.rs",
"//third_party/rust/vendor/syn/src/data.rs",
"//third_party/rust/vendor/syn/src/print.rs",
"//third_party/rust/vendor/syn/src/fixup.rs",
"//third_party/rust/vendor/syn/src/attr.rs",
"//third_party/rust/vendor/syn/src/punctuated.rs",
"//third_party/rust/vendor/syn/src/restriction.rs",
"//third_party/rust/vendor/syn/src/verbatim.rs",
"//third_party/rust/vendor/syn/src/custom_keyword.rs",
"//third_party/rust/vendor/syn/src/lifetime.rs",
"//third_party/rust/vendor/syn/src/thread.rs",
"//third_party/rust/vendor/syn/src/custom_punctuation.rs",
"//third_party/rust/vendor/syn/src/span.rs",
"//third_party/rust/vendor/syn/src/item.rs",
"//third_party/rust/vendor/syn/src/whitespace.rs",
"//third_party/rust/vendor/syn/src/mac.rs",
"//third_party/rust/vendor/syn/src/lookahead.rs",
"//third_party/rust/vendor/syn/src/ext.rs",
"//third_party/rust/vendor/syn/src/generics.rs",
"//third_party/rust/vendor/syn/src/token.rs",
"//third_party/rust/vendor/syn/src/parse.rs",
"//third_party/rust/vendor/syn/src/tt.rs",
"//third_party/rust/vendor/syn/src/pat.rs",
"//third_party/rust/vendor/syn/src/group.rs",
"//third_party/rust/vendor/syn/src/discouraged.rs",
"//third_party/rust/vendor/syn/src/ident.rs",
"//third_party/rust/vendor/syn/src/stmt.rs",
"//third_party/rust/vendor/syn/src/lit.rs",
"//third_party/rust/vendor/syn/src/derive.rs",
"//third_party/rust/vendor/syn/src/path.rs",
"//third_party/rust/vendor/syn/src/gen/debug.rs",
"//third_party/rust/vendor/syn/src/gen/eq.rs",
"//third_party/rust/vendor/syn/src/gen/hash.rs",
"//third_party/rust/vendor/syn/src/gen/visit.rs",
"//third_party/rust/vendor/syn/src/gen/clone.rs",
"//third_party/rust/vendor/syn/src/gen/fold.rs",
"//third_party/rust/vendor/syn/src/gen/visit_mut.rs",
"//third_party/rust/vendor/syn/src/classify.rs",
"//third_party/rust/vendor/syn/src/bigint.rs",
"//third_party/rust/vendor/syn/src/ty.rs",
"//third_party/rust/vendor/syn/src/precedence.rs",
"//third_party/rust/vendor/syn/src/scan_expr.rs",
"//third_party/rust/vendor/syn/src/sealed.rs",
"//third_party/rust/vendor/syn/src/parse_quote.rs",
"//third_party/rust/vendor/syn/src/error.rs",
"//third_party/rust/vendor/syn/src/expr.rs"
]
crate_root = "//third_party/rust/vendor/syn/src/lib.rs"
crate_edition = "2021"
deps = [
"//third_party/rust/proc_macro2",
"//third_party/rust/quote",
"//third_party/rust/unicode_ident"
]
configs = [ ":syn_config" ]
}