blob: b3335d29e0c0a8ed13cf89015b9fb4d51ebba646 [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_engine",
11 srcs = glob(["**/*.rs"]),
12 crate_features = [
13 "default",
14 "reproduction_case",
15 "serde_json",
16 ],
17 crate_root = "src/lib.rs",
18 edition = "2021",
19 proc_macro_deps = [
20 "//third_party/cargo:indoc",
21 "//third_party/cargo:aquamarine",
22 "//third_party/cargo:strum_macros",
23 ],
24 rustc_flags = [
25 "--cap-lints=allow",
26 ],
27 tags = [
28 "cargo-raze",
29 "crate-name=autocxx-engine",
30 "manual",
31 ],
32 version = "0.16.0",
33 deps = [
34 "//third_party/autocxx/parser:autocxx_parser",
35 "//third_party/cargo:autocxx_bindgen",
36 "//third_party/cargo:cxx_gen",
37 "//third_party/cargo:indexmap",
38 "//third_party/cargo:itertools",
39 "//third_party/cargo:log",
40 "//third_party/cargo:miette",
41 "//third_party/cargo:once_cell",
42 "//third_party/cargo:proc_macro2",
43 "//third_party/cargo:quote",
44 "//third_party/cargo:regex",
45 "//third_party/cargo:serde_json",
46 "//third_party/cargo:syn",
47 "//third_party/cargo:tempfile",
48 "//third_party/cargo:thiserror",
49 "//third_party/cargo:version_check",
50 ],
51)