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_predicates_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_predicates_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libpredicates",
18    host_supported: true,
19    crate_name: "predicates",
20    cargo_env_compat: true,
21    cargo_pkg_version: "3.0.4",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "color",
26        "regex",
27    ],
28    rustlibs: [
29        "libitertools",
30        "libpredicates_core",
31        "libregex",
32        "libtermcolor",
33    ],
34    apex_available: [
35        "//apex_available:platform",
36        "//apex_available:anyapex",
37    ],
38    product_available: true,
39    vendor_available: true,
40}
41
42rust_test {
43    name: "predicates_test_src_lib",
44    host_supported: true,
45    crate_name: "predicates",
46    cargo_env_compat: true,
47    cargo_pkg_version: "3.0.4",
48    crate_root: "src/lib.rs",
49    test_suites: ["general-tests"],
50    auto_gen_config: true,
51    test_options: {
52        unit_test: true,
53    },
54    edition: "2021",
55    features: [
56        "color",
57        "regex",
58    ],
59    rustlibs: [
60        "libitertools",
61        "libpredicates_core",
62        "libpredicates_tree",
63        "libregex",
64        "libtermcolor",
65    ],
66}
67