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_libhyper_license"], 8} 9 10license { 11 name: "external_rust_crates_libhyper_license", 12 visibility: [":__subpackages__"], 13 license_kinds: ["SPDX-license-identifier-MIT"], 14 license_text: ["LICENSE"], 15} 16 17rust_library { 18 name: "libhyper", 19 host_supported: true, 20 crate_name: "hyper", 21 cargo_env_compat: true, 22 cargo_pkg_version: "0.14.28", 23 crate_root: "src/lib.rs", 24 edition: "2018", 25 features: [ 26 "client", 27 "default", 28 "full", 29 "h2", 30 "http1", 31 "http2", 32 "runtime", 33 "server", 34 "socket2", 35 "stream", 36 "tcp", 37 ], 38 rustlibs: [ 39 "libbytes", 40 "libfutures_channel", 41 "libfutures_core", 42 "libfutures_util", 43 "libh2", 44 "libhttp", 45 "libhttp_body", 46 "libhttparse", 47 "libhttpdate", 48 "libitoa", 49 "libpin_project_lite", 50 "libsocket2", 51 "libtokio", 52 "libtower_service", 53 "libtracing", 54 "libwant", 55 ], 56 apex_available: [ 57 "//apex_available:platform", 58 "//apex_available:anyapex", 59 ], 60 product_available: true, 61 vendor_available: true, 62} 63