| // 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_libtonic_license"], |
| } |
| |
| license { |
| name: "external_rust_crates_libtonic_license", |
| visibility: [":__subpackages__"], |
| license_kinds: ["SPDX-license-identifier-MIT"], |
| license_text: ["LICENSE"], |
| } |
| |
| rust_library { |
| name: "libtonic", |
| host_supported: true, |
| crate_name: "tonic", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.11.0", |
| crate_root: "src/lib.rs", |
| edition: "2021", |
| features: [ |
| "channel", |
| "transport", |
| ], |
| rustlibs: [ |
| "libasync_stream", |
| "libaxum", |
| "libbase64_rust", |
| "libbytes", |
| "libh2", |
| "libhttp", |
| "libhttp_body", |
| "libhyper", |
| "libhyper_timeout", |
| "libpercent_encoding", |
| "libpin_project", |
| "libtokio", |
| "libtokio_stream", |
| "libtower", |
| "libtower_layer", |
| "libtower_service", |
| "libtracing", |
| ], |
| apex_available: [ |
| "//apex_available:platform", |
| "//apex_available:anyapex", |
| ], |
| product_available: true, |
| vendor_available: true, |
| visibility: ["//system/software_defined_vehicle:__subpackages__"], |
| } |