• 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_applicable_licenses: ["external_rust_crates_ciborium-io_license"],
8}
9
10// Added automatically by a large-scale-change
11// See: http://go/android-license-faq
12license {
13    name: "external_rust_crates_ciborium-io_license",
14    visibility: [":__subpackages__"],
15    license_kinds: [
16        "SPDX-license-identifier-Apache-2.0",
17    ],
18    license_text: [
19        "LICENSE",
20    ],
21}
22
23rust_library {
24    name: "libciborium_io",
25    host_supported: true,
26    crate_name: "ciborium_io",
27    cargo_env_compat: true,
28    cargo_pkg_version: "0.2.2",
29    crate_root: "src/lib.rs",
30    edition: "2021",
31    features: [
32        "alloc",
33        "std",
34    ],
35    apex_available: [
36        "//apex_available:platform",
37        "//apex_available:anyapex",
38    ],
39    product_available: true,
40    vendor_available: true,
41}
42
43rust_library_rlib {
44    name: "libciborium_io_nostd",
45    crate_name: "ciborium_io",
46    cargo_env_compat: true,
47    cargo_pkg_version: "0.2.2",
48    crate_root: "src/lib.rs",
49    edition: "2021",
50    features: ["alloc"],
51    apex_available: [
52        "//apex_available:platform",
53        "//apex_available:anyapex",
54    ],
55    prefer_rlib: true,
56    no_stdlibs: true,
57    stdlibs: [
58        "liballoc.rust_sysroot",
59        "libcompiler_builtins.rust_sysroot",
60        "libcore.rust_sysroot",
61    ],
62    product_available: true,
63    vendor_available: true,
64}
65