Update itertools dependency from v0_9 to v0_10
Among other things this will allow writing
assert!(ir.top_level_item_ids().contains(&record.id));
instead of
assert!(ir.top_level_item_ids().find(|&&id| id == record.id).is_some());
in ir_from_cc_test.rs (in a follow-up CL). (`Itertools::contains` method
is not provided in the older version of the itertools crate.)
PiperOrigin-RevId: 441852466
diff --git a/rs_bindings_from_cc/BUILD b/rs_bindings_from_cc/BUILD
index 347a04e..67974b2 100644
--- a/rs_bindings_from_cc/BUILD
+++ b/rs_bindings_from_cc/BUILD
@@ -199,7 +199,7 @@
crate_name = "ir",
deps = [
"@crates_io//anyhow/v1:anyhow",
- "@crates_io//itertools/v0_9:itertools",
+ "@crates_io//itertools/v0_10:itertools",
"@crates_io//proc_macro2/v1:proc_macro2",
"@crates_io//quote/v1:quote",
"@crates_io//serde/v1:serde",
@@ -221,7 +221,7 @@
":rs_ir",
"//common:rs_ffi_types",
"@crates_io//anyhow/v1:anyhow",
- "@crates_io//itertools/v0_9:itertools",
+ "@crates_io//itertools/v0_10:itertools",
],
)
@@ -267,7 +267,7 @@
":rs_ir",
":token_stream_matchers",
"@crates_io//anyhow/v1:anyhow",
- "@crates_io//itertools/v0_9:itertools",
+ "@crates_io//itertools/v0_10:itertools",
"@crates_io//quote/v1:quote",
"@rust//support:rust_okay_here",
],
@@ -294,7 +294,7 @@
"//common:rs_ffi_types",
"//common:token_stream_printer",
"@crates_io//anyhow/v1:anyhow",
- "@crates_io//itertools/v0_9:itertools",
+ "@crates_io//itertools/v0_10:itertools",
"@crates_io//proc_macro2/v1:proc_macro2",
"@crates_io//quote/v1:quote",
"@crates_io//serde_json/v1:serde_json",
@@ -337,7 +337,7 @@
":rs_ir",
"//common:token_stream_printer",
"@crates_io//anyhow/v1:anyhow",
- "@crates_io//itertools/v0_9:itertools",
+ "@crates_io//itertools/v0_10:itertools",
"@crates_io//proc_macro2/v1:proc_macro2",
"@crates_io//quote/v1:quote",
],