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