• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_libtonic_license"],
8}
9
10license {
11    name: "external_rust_crates_libtonic_license",
12    visibility: [":__subpackages__"],
13    license_kinds: ["SPDX-license-identifier-MIT"],
14    license_text: ["LICENSE"],
15}
16
17rust_library {
18    name: "libtonic",
19    host_supported: true,
20    crate_name: "tonic",
21    cargo_env_compat: true,
22    cargo_pkg_version: "0.11.0",
23    crate_root: "src/lib.rs",
24    edition: "2021",
25    features: [
26        "channel",
27        "transport",
28    ],
29    rustlibs: [
30        "libasync_stream",
31        "libaxum",
32        "libbase64_rust",
33        "libbytes",
34        "libh2",
35        "libhttp",
36        "libhttp_body",
37        "libhyper",
38        "libhyper_timeout",
39        "libpercent_encoding",
40        "libpin_project",
41        "libtokio",
42        "libtokio_stream",
43        "libtower",
44        "libtower_layer",
45        "libtower_service",
46        "libtracing",
47    ],
48    apex_available: [
49        "//apex_available:platform",
50        "//apex_available:anyapex",
51    ],
52    product_available: true,
53    vendor_available: true,
54    visibility: ["//system/software_defined_vehicle:__subpackages__"],
55}
56