• 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_thiserror_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_thiserror_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libthiserror",
18    host_supported: true,
19    crate_name: "thiserror",
20    cargo_env_compat: true,
21    cargo_pkg_version: "2.0.11",
22    crate_root: "src/lib.rs",
23    edition: "2021",
24    features: [
25        "default",
26        "std",
27    ],
28    proc_macros: ["libthiserror_impl"],
29    apex_available: [
30        "//apex_available:anyapex",
31        "//apex_available:platform",
32    ],
33    product_available: true,
34    vendor_available: true,
35    min_sdk_version: "29",
36}
37
38rust_library_rlib {
39    name: "libthiserror_nostd",
40    crate_name: "thiserror",
41    cargo_env_compat: true,
42    cargo_pkg_version: "2.0.11",
43    crate_root: "src/lib.rs",
44    edition: "2021",
45    proc_macros: ["libthiserror_impl"],
46    apex_available: [
47        "//apex_available:anyapex",
48        "//apex_available:platform",
49    ],
50    prefer_rlib: true,
51    no_stdlibs: true,
52    stdlibs: [
53        "libcompiler_builtins.rust_sysroot",
54        "libcore.rust_sysroot",
55    ],
56    product_available: true,
57    vendor_available: true,
58    min_sdk_version: "29",
59}
60
61dirgroup {
62    name: "trusty_dirgroup_external_rust_crates_thiserror",
63    visibility: ["//trusty/vendor/google/aosp/scripts"],
64    dirs: ["."],
65}
66