Snap for 8191477 from efe0ecca2f77a7cf61f580a6c32945b99a081784 to tm-frc-scheduling-release
Change-Id: I08007488e7b8b2b5a5e8ce38cac72a574453fe5d
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index cfe44cd..2d96982 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "83b852c9bba47359ad33fc5b1f81f29425bc97e8"
+ "sha1": "ef27875e0311786ca5210a734c6288cb5d920614"
}
}
diff --git a/Android.bp b/Android.bp
index 44d059f..6ff242f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --device.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -42,6 +42,8 @@
rust_proc_macro {
name: "libderive_arbitrary",
crate_name: "derive_arbitrary",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.0.2",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -50,9 +52,3 @@
"libsyn",
],
}
-
-// dependent_library ["feature_list"]
-// proc-macro2-1.0.26 "default,proc-macro"
-// quote-1.0.9 "default,proc-macro"
-// syn-1.0.68 "clone-impls,default,derive,parsing,printing,proc-macro,quote"
-// unicode-xid-0.2.1 "default"
diff --git a/Cargo.toml b/Cargo.toml
index 3267e55..0bf12a0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,17 +3,16 @@
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
-# to registry (e.g., crates.io) dependencies
+# to registry (e.g., crates.io) dependencies.
#
-# If you believe there's an error in this file please file an
-# issue against the rust-lang/cargo repository. If you're
-# editing this file be aware that the upstream Cargo.toml
-# will likely look very different (and much more reasonable)
+# If you are reading this file be aware that the original Cargo.toml
+# will likely look very different (and much more reasonable).
+# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "derive_arbitrary"
-version = "1.0.0"
+version = "1.0.2"
authors = ["The Rust-Fuzz Project Developers", "Nick Fitzgerald <[email protected]>", "Manish Goregaokar <[email protected]>", "Andre Bogus <[email protected]>", "Corey Farwell <[email protected]>"]
description = "Derives arbitrary traits"
documentation = "https://docs.rs/arbitrary/"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 95c548e..8b7ce1a 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "derive_arbitrary"
-version = "1.0.0" # Make sure it matches the version of the arbitrary crate itself.
+version = "1.0.2" # Make sure it matches the version of the arbitrary crate itself.
authors = [
"The Rust-Fuzz Project Developers",
"Nick Fitzgerald <[email protected]>",
diff --git a/METADATA b/METADATA
index 710fe50..657b085 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/derive_arbitrary/derive_arbitrary-1.0.0.crate"
+ value: "https://static.crates.io/crates/derive_arbitrary/derive_arbitrary-1.0.2.crate"
}
- version: "1.0.0"
+ version: "1.0.2"
license_type: NOTICE
last_upgrade_date {
year: 2021
- month: 4
- day: 1
+ month: 9
+ day: 22
}
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..d6cefe5
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,8 @@
+// Generated by update_crate_tests.py for tests that depend on this crate.
+{
+ "imports": [
+ {
+ "path": "external/rust/crates/arbitrary"
+ }
+ ]
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..bf78496
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,4 @@
+{
+ "device": true,
+ "run": true
+}
\ No newline at end of file