1// This file is generated by cargo_embargo. 2// Do not modify this file because the changes will be overridden on upgrade. 3 4package { 5 default_applicable_licenses: ["external_rust_crates_mockall_derive_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_mockall_derive_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_proc_macro { 17 name: "libmockall_derive", 18 crate_name: "mockall_derive", 19 cargo_env_compat: true, 20 cargo_pkg_version: "0.12.1", 21 crate_root: "src/lib.rs", 22 edition: "2021", 23 rustlibs: [ 24 "libcfg_if", 25 "libproc_macro2", 26 "libquote", 27 "libsyn", 28 ], 29} 30 31rust_test_host { 32 name: "mockall_derive_test_src_lib", 33 host_cross_supported: false, 34 crate_name: "mockall_derive", 35 cargo_env_compat: true, 36 cargo_pkg_version: "0.12.1", 37 crate_root: "src/lib.rs", 38 test_suites: ["general-tests"], 39 auto_gen_config: true, 40 test_options: { 41 unit_test: true, 42 }, 43 edition: "2021", 44 rustlibs: [ 45 "libcfg_if", 46 "libproc_macro2", 47 "libquote", 48 "libsyn", 49 ], 50} 51