1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_team: "trendy_team_android_rust", 8 default_applicable_licenses: ["external_rust_crates_twox-hash_license"], 9} 10 11license { 12 name: "external_rust_crates_twox-hash_license", 13 visibility: [":__subpackages__"], 14 license_kinds: [ 15 "SPDX-license-identifier-MIT", 16 ], 17 license_text: [ 18 "LICENSE", 19 ], 20} 21 22rust_library { 23 name: "libtwox_hash", 24 host_supported: true, 25 crate_name: "twox_hash", 26 cargo_env_compat: true, 27 cargo_pkg_version: "1.6.3", 28 crate_root: "src/lib.rs", 29 edition: "2018", 30 features: [ 31 "default", 32 "rand", 33 "std", 34 ], 35 rustlibs: [ 36 "libcfg_if", 37 "librand", 38 "libstatic_assertions", 39 ], 40 apex_available: [ 41 "//apex_available:platform", 42 "//apex_available:anyapex", 43 ], 44 product_available: true, 45 vendor_available: true, 46} 47 48rust_test { 49 name: "twox-hash_test_src_lib", 50 host_supported: true, 51 crate_name: "twox_hash", 52 cargo_env_compat: true, 53 cargo_pkg_version: "1.6.3", 54 crate_root: "src/lib.rs", 55 test_suites: ["general-tests"], 56 auto_gen_config: true, 57 test_options: { 58 unit_test: true, 59 }, 60 edition: "2018", 61 features: [ 62 "default", 63 "rand", 64 "std", 65 ], 66 rustlibs: [ 67 "libcfg_if", 68 "librand", 69 "libserde_json", 70 "libstatic_assertions", 71 ], 72} 73