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_twox-hash_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_twox-hash_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-MIT"], 13 license_text: ["LICENSE"], 14} 15 16rust_library { 17 name: "libtwox_hash", 18 host_supported: true, 19 crate_name: "twox_hash", 20 cargo_env_compat: true, 21 cargo_pkg_version: "1.6.3", 22 crate_root: "src/lib.rs", 23 edition: "2018", 24 features: [ 25 "default", 26 "rand", 27 "std", 28 ], 29 rustlibs: [ 30 "libcfg_if", 31 "librand", 32 "libstatic_assertions", 33 ], 34 apex_available: [ 35 "//apex_available:platform", 36 "//apex_available:anyapex", 37 ], 38 product_available: true, 39 vendor_available: true, 40} 41 42rust_test { 43 name: "twox-hash_test_src_lib", 44 host_supported: true, 45 crate_name: "twox_hash", 46 cargo_env_compat: true, 47 cargo_pkg_version: "1.6.3", 48 crate_root: "src/lib.rs", 49 test_suites: ["general-tests"], 50 auto_gen_config: true, 51 test_options: { 52 unit_test: true, 53 }, 54 edition: "2018", 55 features: [ 56 "default", 57 "rand", 58 "std", 59 ], 60 rustlibs: [ 61 "libcfg_if", 62 "librand", 63 "libserde_json", 64 "libstatic_assertions", 65 ], 66} 67