| // 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: ["Android-Apache-2.0"], |
| } |
| |
| rust_binary_host { |
| name: "crate_tool", |
| crate_name: "crate_tool", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.1.0", |
| crate_root: "src/main.rs", |
| edition: "2021", |
| rustlibs: [ |
| "libanyhow", |
| "libcargo_toml", |
| "libcfg_expr", |
| "libchecksum", |
| "libchrono", |
| "libclap", |
| "libcrate_config", |
| "libcrate_tool", |
| "libcrates_index", |
| "libcrates_io_util", |
| "libenv_logger", |
| "libglob", |
| "libgoogle_metadata", |
| "libitertools", |
| "liblicense_checker", |
| "liblog_rust", |
| "libname_and_version", |
| "libprotobuf", |
| "librepo_config", |
| "librooted_path", |
| "libsemver", |
| "libserde", |
| "libserde_json", |
| "libspdx", |
| "libsuccess_or_error", |
| "libtest_mapping", |
| "libthiserror", |
| "libwalkdir", |
| ], |
| } |
| |
| rust_test_host { |
| name: "crate_tool_test_src_lib", |
| crate_name: "crate_tool", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.1.0", |
| crate_root: "src/lib.rs", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| test_options: { |
| unit_test: true, |
| }, |
| edition: "2021", |
| rustlibs: [ |
| "libanyhow", |
| "libcargo_toml", |
| "libcfg_expr", |
| "libchecksum", |
| "libchrono", |
| "libclap", |
| "libcrate_config", |
| "libcrates_index", |
| "libcrates_io_util", |
| "libenv_logger", |
| "libglob", |
| "libgoogle_metadata", |
| "libitertools", |
| "liblicense_checker", |
| "liblog_rust", |
| "libname_and_version", |
| "libprotobuf", |
| "librepo_config", |
| "librooted_path", |
| "libsemver", |
| "libserde", |
| "libserde_json", |
| "libspdx", |
| "libsuccess_or_error", |
| "libtempfile", |
| "libtest_mapping", |
| "libthiserror", |
| "libwalkdir", |
| ], |
| } |
| |
| rust_test_host { |
| name: "crate_tool_test_tests_integration_test", |
| crate_name: "integration_test", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.1.0", |
| crate_root: "tests/integration_test.rs", |
| test_suites: ["general-tests"], |
| auto_gen_config: true, |
| test_options: { |
| unit_test: true, |
| }, |
| edition: "2021", |
| rustlibs: [ |
| "libanyhow", |
| "libcargo_toml", |
| "libcfg_expr", |
| "libchecksum", |
| "libchrono", |
| "libclap", |
| "libcrate_config", |
| "libcrate_tool", |
| "libcrates_index", |
| "libcrates_io_util", |
| "libenv_logger", |
| "libglob", |
| "libgoogle_metadata", |
| "libitertools", |
| "liblicense_checker", |
| "liblog_rust", |
| "libname_and_version", |
| "libprotobuf", |
| "librepo_config", |
| "librooted_path", |
| "libsemver", |
| "libserde", |
| "libserde_json", |
| "libspdx", |
| "libsuccess_or_error", |
| "libtempfile", |
| "libtest_mapping", |
| "libthiserror", |
| "libwalkdir", |
| ], |
| } |
| |
| rust_library_host { |
| name: "libcrate_tool", |
| crate_name: "crate_tool", |
| cargo_env_compat: true, |
| cargo_pkg_version: "0.1.0", |
| crate_root: "src/lib.rs", |
| edition: "2021", |
| rustlibs: [ |
| "libanyhow", |
| "libcargo_toml", |
| "libcfg_expr", |
| "libchecksum", |
| "libchrono", |
| "libclap", |
| "libcrate_config", |
| "libcrates_index", |
| "libcrates_io_util", |
| "libenv_logger", |
| "libglob", |
| "libgoogle_metadata", |
| "libitertools", |
| "liblicense_checker", |
| "liblog_rust", |
| "libname_and_version", |
| "libprotobuf", |
| "librepo_config", |
| "librooted_path", |
| "libsemver", |
| "libserde", |
| "libserde_json", |
| "libspdx", |
| "libsuccess_or_error", |
| "libtest_mapping", |
| "libthiserror", |
| "libwalkdir", |
| ], |
| } |