• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_protobuf-codegen_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_protobuf-codegen_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_library_host {
17    name: "libprotobuf_codegen",
18    crate_name: "protobuf_codegen",
19    cargo_env_compat: true,
20    cargo_pkg_version: "3.2.0",
21    crate_root: "src/lib.rs",
22    edition: "2021",
23    rustlibs: [
24        "libanyhow",
25        "libonce_cell",
26        "libprotobuf",
27        "libprotobuf_parse",
28        "libregex",
29        "libtempfile",
30        "libthiserror",
31    ],
32}
33
34rust_test_host {
35    name: "protobuf-codegen_test_src_lib",
36    crate_name: "protobuf_codegen",
37    cargo_env_compat: true,
38    cargo_pkg_version: "3.2.0",
39    crate_root: "src/lib.rs",
40    test_suites: ["general-tests"],
41    auto_gen_config: true,
42    test_options: {
43        unit_test: true,
44    },
45    edition: "2021",
46    rustlibs: [
47        "libanyhow",
48        "libonce_cell",
49        "libprotobuf",
50        "libprotobuf_parse",
51        "libregex",
52        "libtempfile",
53        "libthiserror",
54    ],
55}
56
57rust_binary_host {
58    name: "protoc-gen-rust",
59    crate_name: "protoc_gen_rust",
60    cargo_env_compat: true,
61    cargo_pkg_version: "3.2.0",
62    crate_root: "src/bin/protoc-gen-rust.rs",
63    edition: "2021",
64    rustlibs: [
65        "libanyhow",
66        "libonce_cell",
67        "libprotobuf",
68        "libprotobuf_codegen",
69        "libprotobuf_parse",
70        "libregex",
71        "libtempfile",
72        "libthiserror",
73    ],
74}
75