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_libtokio_io_timeout_license"], 8} 9 10license { 11 name: "external_rust_crates_libtokio_io_timeout_license", 12 visibility: [":__subpackages__"], 13 license_kinds: [ 14 "SPDX-license-identifier-Apache-2.0", 15 "SPDX-license-identifier-MIT", 16 ], 17 license_text: [ 18 "LICENSE-APACHE", 19 "LICENSE-MIT", 20 ], 21} 22 23rust_library { 24 name: "libtokio_io_timeout", 25 host_supported: true, 26 crate_name: "tokio_io_timeout", 27 cargo_env_compat: true, 28 cargo_pkg_version: "1.2.0", 29 crate_root: "src/lib.rs", 30 edition: "2018", 31 rustlibs: [ 32 "libpin_project_lite", 33 "libtokio", 34 ], 35 apex_available: [ 36 "//apex_available:platform", 37 "//apex_available:anyapex", 38 ], 39 product_available: true, 40 vendor_available: true, 41} 42 43rust_test { 44 name: "tokio-io-timeout_test_src_lib", 45 host_supported: true, 46 crate_name: "tokio_io_timeout", 47 cargo_env_compat: true, 48 cargo_pkg_version: "1.2.0", 49 crate_root: "src/lib.rs", 50 test_suites: ["general-tests"], 51 auto_gen_config: true, 52 test_options: { 53 unit_test: true, 54 }, 55 edition: "2018", 56 rustlibs: [ 57 "libpin_project_lite", 58 "libtokio", 59 ], 60} 61