blob: 8a26c115af6b91dfd96e286bda8eb93726398b80 [file] [log] [blame]
Brian Silvermanc270a4d2022-07-23 16:08:06 -07001load("@rules_rust//rust:defs.bzl", "rust_library")
2
3package(default_visibility = ["//visibility:public"])
4
5licenses([
6 "notice", # MIT from expression "MIT OR Apache-2.0"
7])
8
9rust_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 = [
16 "//third_party/cargo:aquamarine",
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 = [
29 "//third_party/cargo:cxx",
30 "//third_party/cargo:moveit",
31 ],
32)