Brian Silverman | c270a4d | 2022-07-23 16:08:06 -0700 | [diff] [blame^] | 1 | load("@rules_rust//rust:defs.bzl", "rust_library") |
| 2 | |
| 3 | package(default_visibility = ["//visibility:public"]) |
| 4 | |
| 5 | licenses([ |
| 6 | "notice", # MIT from expression "MIT OR Apache-2.0" |
| 7 | ]) |
| 8 | |
| 9 | rust_library( |
| 10 | name = "autocxx_parser", |
| 11 | srcs = glob(["**/*.rs"]), |
| 12 | crate_features = [ |
| 13 | "reproduction_case", |
| 14 | ], |
| 15 | crate_root = "src/lib.rs", |
| 16 | edition = "2021", |
| 17 | rustc_flags = [ |
| 18 | "--cap-lints=allow", |
| 19 | ], |
| 20 | tags = [ |
| 21 | "cargo-raze", |
| 22 | "crate-name=autocxx-parser", |
| 23 | "manual", |
| 24 | ], |
| 25 | version = "0.16.0", |
| 26 | deps = [ |
| 27 | "@//third_party/cargo:indexmap", |
| 28 | "@//third_party/cargo:itertools", |
| 29 | "@//third_party/cargo:log", |
| 30 | "@//third_party/cargo:once_cell", |
| 31 | "@//third_party/cargo:proc_macro2", |
| 32 | "@//third_party/cargo:quote", |
| 33 | "@//third_party/cargo:serde", |
| 34 | "@//third_party/cargo:serde_json", |
| 35 | "@//third_party/cargo:syn", |
| 36 | "@//third_party/cargo:thiserror", |
| 37 | ], |
| 38 | ) |