Update serde_json to 1.0.79
Test: cd external/rust/crates && atest --host -c
Change-Id: Ic547cf00640b27bac6afe4f77c3c546d472c3d6e
diff --git a/build.rs b/build.rs
index 04ff4a0..e9ec7d5 100644
--- a/build.rs
+++ b/build.rs
@@ -31,6 +31,12 @@
if minor < 45 {
println!("cargo:rustc-cfg=no_btreemap_remove_entry");
}
+
+ // BTreeMap::retain
+ // https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html#stabilized-apis
+ if minor < 53 {
+ println!("cargo:rustc-cfg=no_btreemap_retain");
+ }
}
fn rustc_minor_version() -> Option<u32> {