| // 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_libh2_license"], |
| } |
| |
| license { |
| name: "external_rust_crates_libh2_license", |
| visibility: [":__subpackages__"], |
| license_kinds: ["SPDX-license-identifier-MIT"], |
| license_text: ["LICENSE"], |
| } |
| |
| rust_library { |
| name: "libh2", |
| host_supported: true, |
| crate_name: "h2", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.4.4", |
| crate_root: "src/lib.rs", |
| edition: "2021", |
| rustlibs: [ |
| "libbytes", |
| "libfnv", |
| "libfutures_core", |
| "libfutures_sink", |
| "libfutures_util", |
| "libhttp", |
| "libindexmap", |
| "libslab", |
| "libtokio", |
| "libtokio_util", |
| "libtracing", |
| ], |
| apex_available: [ |
| "//apex_available:platform", |
| "//apex_available:anyapex", |
| ], |
| product_available: true, |
| vendor_available: true, |
| } |