blob: 7f72ea0bd8d67f79de8510281f614852e0c1e803 [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 = [
Austin Schuh0a77dc92023-08-06 22:02:36 -070020 "@crate_index//:rustversion",
Adam Snaider770b97b2023-08-04 21:07:48 -070021 "@crate_index//:indoc",
22 "@crate_index//:aquamarine",
Brian Silvermanc270a4d2022-07-23 16:08:06 -070023 ],
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",
Adam Snaider770b97b2023-08-04 21:07:48 -070035 "@crate_index//:autocxx-bindgen",
36 "@crate_index//:cxx-gen",
37 "@crate_index//:indexmap",
38 "@crate_index//:itertools",
39 "@crate_index//:log",
40 "@crate_index//:miette",
41 "@crate_index//:once_cell",
Austin Schuh0a77dc92023-08-06 22:02:36 -070042 "@crate_index//:prettyplease",
Adam Snaider770b97b2023-08-04 21:07:48 -070043 "@crate_index//:proc-macro2",
44 "@crate_index//:quote",
45 "@crate_index//:regex",
46 "@crate_index//:serde_json",
Austin Schuh0a77dc92023-08-06 22:02:36 -070047 "@crate_index//:syn-2.0.28",
Adam Snaider770b97b2023-08-04 21:07:48 -070048 "@crate_index//:tempfile",
49 "@crate_index//:thiserror",
Brian Silvermanc270a4d2022-07-23 16:08:06 -070050 ],
51)