// 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_oneshot_uniffi_license"], } // See: http://go/android-license-faq license { name: "external_rust_crates_oneshot_uniffi_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-Apache-2.0", "SPDX-license-identifier-MIT", ], license_text: [ "LICENSE-APACHE", "LICENSE-MIT", ], } rust_library { name: "liboneshot_uniffi", host_supported: true, crate_name: "oneshot", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "src/lib.rs", edition: "2021", features: [ "async", "default", "std", ], apex_available: [ "//apex_available:platform", "//apex_available:anyapex", ], product_available: true, vendor_available: true, visibility: ["//external/rust/crates/uniffi_core"], } rust_test { name: "oneshot-uniffi_test_src_lib", host_supported: true, crate_name: "oneshot_uniffi", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_assert_mem", host_supported: true, crate_name: "assert_mem", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/assert_mem.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_async", host_supported: true, crate_name: "async", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/async.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_future", host_supported: true, crate_name: "future", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/future.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_loom", host_supported: true, crate_name: "loom", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/loom.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_raw", host_supported: true, crate_name: "raw", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/raw.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], } rust_test { name: "oneshot-uniffi_test_tests_sync", host_supported: true, crate_name: "sync", cargo_env_compat: true, cargo_pkg_version: "0.1.6", crate_root: "tests/sync.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { unit_test: true, }, edition: "2021", features: [ "async", "default", "std", ], rustlibs: [ "libcriterion", "liboneshot_uniffi", "libtokio", ], }