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_p9_wire_format_derive_license"], 9} 10 11license { 12 name: "external_rust_crates_p9_wire_format_derive_license", 13 visibility: [":__subpackages__"], 14 license_kinds: [ 15 "SPDX-license-identifier-BSD-3-Clause", 16 ], 17 license_text: [ 18 "LICENSE", 19 ], 20} 21 22rust_proc_macro { 23 name: "libp9_wire_format_derive", 24 crate_name: "p9_wire_format_derive", 25 cargo_env_compat: true, 26 cargo_pkg_version: "0.2.3", 27 crate_root: "src/lib.rs", 28 edition: "2015", 29 rustlibs: [ 30 "libproc_macro2", 31 "libquote", 32 "libsyn", 33 ], 34} 35 36rust_test_host { 37 name: "p9_wire_format_derive_test_src_lib", 38 crate_name: "p9_wire_format_derive", 39 cargo_env_compat: true, 40 cargo_pkg_version: "0.2.3", 41 crate_root: "src/lib.rs", 42 test_suites: ["general-tests"], 43 auto_gen_config: true, 44 test_options: { 45 unit_test: true, 46 }, 47 edition: "2015", 48 rustlibs: [ 49 "libproc_macro2", 50 "libquote", 51 "libsyn", 52 ], 53} 54