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_httparse_license"], 6 default_team: "trendy_team_android_rust", 7} 8 9license { 10 name: "external_rust_crates_httparse_license", 11 visibility: [":__subpackages__"], 12 license_kinds: ["SPDX-license-identifier-Apache-2.0"], 13 license_text: ["LICENSE"], 14} 15 16rust_test { 17 name: "httparse_test_src_lib", 18 host_supported: true, 19 crate_name: "httparse", 20 cargo_env_compat: true, 21 cargo_pkg_version: "1.9.5", 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: "2018", 29 features: [ 30 "default", 31 "std", 32 ], 33 cfgs: [ 34 "httparse_simd", 35 "httparse_simd_neon_intrinsics", 36 ], 37 rustlibs: ["libcriterion"], 38} 39 40rust_test { 41 name: "httparse_test_tests_uri", 42 host_supported: true, 43 crate_name: "uri", 44 cargo_env_compat: true, 45 cargo_pkg_version: "1.9.5", 46 crate_root: "tests/uri.rs", 47 test_suites: ["general-tests"], 48 auto_gen_config: true, 49 test_options: { 50 unit_test: true, 51 }, 52 edition: "2018", 53 features: [ 54 "default", 55 "std", 56 ], 57 cfgs: [ 58 "httparse_simd", 59 "httparse_simd_neon_intrinsics", 60 ], 61 rustlibs: [ 62 "libcriterion", 63 "libhttparse", 64 ], 65} 66 67rust_library { 68 name: "libhttparse", 69 host_supported: true, 70 crate_name: "httparse", 71 cargo_env_compat: true, 72 cargo_pkg_version: "1.9.5", 73 crate_root: "src/lib.rs", 74 edition: "2018", 75 features: [ 76 "default", 77 "std", 78 ], 79 cfgs: [ 80 "httparse_simd", 81 "httparse_simd_neon_intrinsics", 82 ], 83 apex_available: [ 84 "//apex_available:platform", 85 "//apex_available:anyapex", 86 ], 87 product_available: true, 88 vendor_available: true, 89 min_sdk_version: "29", 90} 91