blob: 00e8e2292050ee53cc3382e2203d5b148384e204 [file] [log] [blame]
// This file is generated by cargo_embargo.
// Do not modify this file after the first "rust_*" or "genrule" module
// because the changes will be overridden on upgrade.
// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: ["external_rust_crates_nom_license"],
}
// Added automatically by a large-scale-change
// See: http://go/android-license-faq
license {
name: "external_rust_crates_nom_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE",
],
}
rust_library {
name: "libnom",
host_supported: true,
crate_name: "nom",
cargo_env_compat: true,
cargo_pkg_version: "7.1.3",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
"alloc",
"std",
],
rustlibs: [
"libmemchr",
"libminimal_lexical",
],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
product_available: true,
vendor_available: true,
}