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_http-body_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_http-body_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-MIT"],
13    license_text: ["LICENSE"],
14}
15
16rust_test {
17    name: "http-body_test_src_lib",
18    host_supported: true,
19    crate_name: "http_body",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.4.6",
22    crate_root: "src/lib.rs",
23    test_suites: ["general-tests"],
24    auto_gen_config: true,
25    test_options: {
26        unit_test: true,
27    },
28    edition: "2018",
29    rustlibs: [
30        "libbytes",
31        "libhttp",
32        "libpin_project_lite",
33        "libtokio",
34    ],
35}
36
37rust_test {
38    name: "http-body_test_tests_is_end_stream",
39    host_supported: true,
40    crate_name: "is_end_stream",
41    cargo_env_compat: true,
42    cargo_pkg_version: "0.4.6",
43    crate_root: "tests/is_end_stream.rs",
44    test_suites: ["general-tests"],
45    auto_gen_config: true,
46    test_options: {
47        unit_test: true,
48    },
49    edition: "2018",
50    rustlibs: [
51        "libbytes",
52        "libhttp",
53        "libhttp_body",
54        "libpin_project_lite",
55        "libtokio",
56    ],
57}
58
59rust_library {
60    name: "libhttp_body",
61    host_supported: true,
62    crate_name: "http_body",
63    cargo_env_compat: true,
64    cargo_pkg_version: "0.4.6",
65    crate_root: "src/lib.rs",
66    edition: "2018",
67    rustlibs: [
68        "libbytes",
69        "libhttp",
70        "libpin_project_lite",
71    ],
72    apex_available: [
73        "//apex_available:platform",
74        "//apex_available:anyapex",
75    ],
76    product_available: true,
77    vendor_available: true,
78    min_sdk_version: "29",
79}
80