blob: 0346cddb529f8ecfcfb76d198d1c7ad2e58e0c3f [file] [log] [blame]
// 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_team: "trendy_team_android_rust",
default_applicable_licenses: ["external_rust_crates_tokio_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_rust_crates_tokio_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE",
],
}
rust_library {
name: "libtokio",
host_supported: true,
crate_name: "tokio",
cargo_env_compat: true,
cargo_pkg_version: "1.32.0",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"bytes",
"fs",
"io-util",
"libc",
"macros",
"mio",
"net",
"num_cpus",
"rt",
"rt-multi-thread",
"socket2",
"sync",
"time",
"tokio-macros",
],
rustlibs: [
"libbytes",
"liblibc",
"libmio",
"libnum_cpus",
"libpin_project_lite",
"libsocket2",
],
proc_macros: ["libtokio_macros"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,
min_sdk_version: "29",
}
rust_library {
name: "libtokio_for_test",
host_supported: true,
crate_name: "tokio",
cargo_env_compat: true,
cargo_pkg_version: "1.32.0",
crate_root: "src/lib.rs",
edition: "2021",
features: [
"bytes",
"fs",
"io-util",
"libc",
"macros",
"mio",
"net",
"num_cpus",
"rt",
"rt-multi-thread",
"socket2",
"sync",
"test-util",
"time",
"tokio-macros",
],
rustlibs: [
"libbytes",
"liblibc",
"libmio",
"libnum_cpus",
"libpin_project_lite",
"libsocket2",
],
proc_macros: ["libtokio_macros"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,
min_sdk_version: "29",
}
rust_defaults {
name: "tokio_defaults_tests",
crate_name: "tokio",
cargo_env_compat: true,
test_suites: ["general-tests"],
auto_gen_config: true,
edition: "2021",
features: [
"bytes",
"fs",
"full",
"io-util",
"libc",
"macros",
"memchr",
"mio",
"net",
"num_cpus",
"rt",
"rt-multi-thread",
"sync",
"time",
"tokio-macros",
],
cfgs: ["tokio_track_caller"],
rustlibs: [
"libasync_stream",
"libbytes",
"libfutures",
"liblibc",
"libmemchr",
"libmio",
"libnix",
"libnum_cpus",
"libpin_project_lite",
"librand",
"libtokio",
"libtokio_stream",
"libtokio_test",
],
proc_macros: ["libtokio_macros"],
}
rust_test {
name: "tokio_test_tests__require_full",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/_require_full.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_buffered",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/buffered.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_async_fd",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_async_fd.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_async_read",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_async_read.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_chain",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_chain.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_copy",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_copy.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_copy_bidirectional",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_copy_bidirectional.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_driver",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_driver.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_driver_drop",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_driver_drop.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_lines",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_lines.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_mem_stream",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_mem_stream.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_buf",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_buf.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_exact",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_exact.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_line",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_line.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_to_end",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_to_end.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_to_string",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_to_string.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_read_until",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_read_until.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_split",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_split.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_take",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_take.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_write",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_write.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_write_all",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_write_all.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_write_buf",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_write_buf.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_io_write_int",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/io_write_int.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_macros_join",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/macros_join.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_macros_pin",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/macros_pin.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_macros_select",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/macros_select.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_macros_test",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/macros_test.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_macros_try_join",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/macros_try_join.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_net_bind_resource",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/net_bind_resource.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_net_lookup_host",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/net_lookup_host.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_no_rt",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/no_rt.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_process_kill_on_drop",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/process_kill_on_drop.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_rt_basic",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/rt_basic.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_rt_common",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/rt_common.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_rt_threaded",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/rt_threaded.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_barrier",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_barrier.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_broadcast",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_broadcast.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_errors",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_errors.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_mutex",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_mutex.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_mutex_owned",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_mutex_owned.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_notify",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_notify.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_oneshot",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_oneshot.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_rwlock",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_rwlock.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_semaphore",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_semaphore.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_semaphore_owned",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_semaphore_owned.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_sync_watch",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/sync_watch.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_task_abort",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/task_abort.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_task_blocking",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/task_blocking.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_task_local",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/task_local.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_task_local_set",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/task_local_set.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_accept",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_accept.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_connect",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_connect.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_echo",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_echo.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_into_split",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_into_split.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_into_std",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_into_std.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_peek",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_peek.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_shutdown",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_shutdown.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_socket",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_socket.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_tcp_split",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/tcp_split.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_time_rt",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/time_rt.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_udp",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/udp.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_uds_cred",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/uds_cred.rs"],
test_options: {
unit_test: true,
},
}
rust_test {
name: "tokio_test_tests_uds_split",
defaults: ["tokio_defaults_tests"],
host_supported: true,
srcs: ["tests/uds_split.rs"],
test_options: {
unit_test: true,
},
}