• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by cargo_embargo.
2// Do not modify this file after the first "rust_*" or "genrule" module
3// because the changes will be overridden on upgrade.
4// Content before the first "rust_*" or "genrule" module is preserved.
5
6package {
7    default_team: "trendy_team_android_rust",
8    default_applicable_licenses: ["external_rust_crates_strum_macros_license"],
9}
10
11license {
12    name: "external_rust_crates_strum_macros_license",
13    visibility: [":__subpackages__"],
14    license_kinds: ["SPDX-license-identifier-MIT"],
15    license_text: ["LICENSE"],
16}
17
18rust_proc_macro {
19    name: "libstrum_macros",
20    crate_name: "strum_macros",
21    cargo_env_compat: true,
22    cargo_pkg_version: "0.25.3",
23    crate_root: "src/lib.rs",
24    edition: "2018",
25    rustlibs: [
26        "libheck",
27        "libproc_macro2",
28        "libquote",
29        "libsyn",
30    ],
31    proc_macros: ["librustversion"],
32}
33
34rust_test_host {
35    name: "strum_macros_test_src_lib",
36    crate_name: "strum_macros",
37    cargo_env_compat: true,
38    cargo_pkg_version: "0.25.3",
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: "2018",
46    rustlibs: [
47        "libheck",
48        "libproc_macro2",
49        "libquote",
50        "libstrum",
51        "libsyn",
52    ],
53    proc_macros: ["librustversion"],
54}
55