blob: 61a28047597b5bf0a57f346482cec1108e1e53fd [file] [log] [blame] [edit]
// This file is generated by cargo_embargo.
// Do not modify this file after the first "rust_*" or "genrule" module
// because the changes will be overridden on upgrade.
// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: ["external_rust_crates_libhttp_body_license"],
}
license {
name: "external_rust_crates_libhttp_body_license",
visibility: [":__subpackages__"],
license_kinds: ["SPDX-license-identifier-MIT"],
license_text: ["LICENSE"],
}
rust_test {
name: "http-body_test_src_lib",
host_supported: true,
crate_name: "http_body",
cargo_env_compat: true,
cargo_pkg_version: "0.4.6",
crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
edition: "2018",
rustlibs: [
"libbytes",
"libhttp",
"libpin_project_lite",
"libtokio",
],
}
rust_test {
name: "http-body_test_tests_is_end_stream",
host_supported: true,
crate_name: "is_end_stream",
cargo_env_compat: true,
cargo_pkg_version: "0.4.6",
crate_root: "tests/is_end_stream.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
unit_test: true,
},
edition: "2018",
rustlibs: [
"libbytes",
"libhttp",
"libhttp_body",
"libpin_project_lite",
"libtokio",
],
}
rust_library {
name: "libhttp_body",
host_supported: true,
crate_name: "http_body",
cargo_env_compat: true,
cargo_pkg_version: "0.4.6",
crate_root: "src/lib.rs",
edition: "2018",
rustlibs: [
"libbytes",
"libhttp",
"libpin_project_lite",
],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,
}