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", |
| 11 | srcs = glob(["**/*.rs"]), |
| 12 | compile_data = ["README.md"], |
| 13 | crate_root = "src/lib.rs", |
| 14 | edition = "2021", |
| 15 | proc_macro_deps = [ |
Adam Snaider | 770b97b | 2023-08-04 21:07:48 -0700 | [diff] [blame^] | 16 | "@crate_index//:aquamarine", |
Brian Silverman | c270a4d | 2022-07-23 16:08:06 -0700 | [diff] [blame] | 17 | "//third_party/autocxx/macro:autocxx_macro", |
| 18 | ], |
| 19 | rustc_flags = [ |
| 20 | "--cap-lints=allow", |
| 21 | ], |
| 22 | tags = [ |
| 23 | "cargo-raze", |
| 24 | "crate-name=autocxx", |
| 25 | "manual", |
| 26 | ], |
| 27 | version = "0.16.0", |
| 28 | deps = [ |
Adam Snaider | 770b97b | 2023-08-04 21:07:48 -0700 | [diff] [blame^] | 29 | "@crate_index//:cxx", |
| 30 | "@crate_index//:moveit", |
Brian Silverman | c270a4d | 2022-07-23 16:08:06 -0700 | [diff] [blame] | 31 | ], |
| 32 | ) |