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_anes_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_anes_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "anes_test_src_lib", 18 host_supported: true, 19 crate_name: "anes", 20 cargo_env_compat: true, 21 cargo_pkg_version: "0.2.0", 22 crate_root: "src/lib.rs", 23 test_suites: ["general-tests"], 24 auto_gen_config: true, 25 test_options: { 26 unit_test: true, 27 }, 28 edition: "2021", 29 features: [ 30 "bitflags", 31 "parser", 32 ], 33 rustlibs: [ 34 "libbitflags", 35 "libcriterion", 36 "liblibc", 37 ], 38} 39 40rust_test { 41 name: "anes_test_tests_tests", 42 host_supported: true, 43 crate_name: "tests", 44 cargo_env_compat: true, 45 cargo_pkg_version: "0.2.0", 46 crate_root: "tests/tests.rs", 47 test_suites: ["general-tests"], 48 auto_gen_config: true, 49 test_options: { 50 unit_test: true, 51 }, 52 edition: "2021", 53 features: [ 54 "bitflags", 55 "parser", 56 ], 57 rustlibs: [ 58 "libanes", 59 "libbitflags", 60 "libcriterion", 61 "liblibc", 62 ], 63} 64 65rust_library { 66 name: "libanes", 67 host_supported: true, 68 crate_name: "anes", 69 cargo_env_compat: true, 70 cargo_pkg_version: "0.2.0", 71 crate_root: "src/lib.rs", 72 edition: "2021", 73 features: [ 74 "bitflags", 75 "parser", 76 ], 77 rustlibs: ["libbitflags"], 78 apex_available: [ 79 "//apex_available:platform", 80 "//apex_available:anyapex", 81 ], 82 product_available: true, 83 vendor_available: true, 84} 85