From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- third_party/rust/peeking_take_while/Cargo.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 third_party/rust/peeking_take_while/Cargo.toml (limited to 'third_party/rust/peeking_take_while/Cargo.toml') diff --git a/third_party/rust/peeking_take_while/Cargo.toml b/third_party/rust/peeking_take_while/Cargo.toml new file mode 100644 index 0000000000..40aeef2d79 --- /dev/null +++ b/third_party/rust/peeking_take_while/Cargo.toml @@ -0,0 +1,14 @@ +[package] +authors = ["Nick Fitzgerald "] +description = "Like `Iterator::take_while`, but calls the predicate on a peeked value. This allows you to use `Iterator::by_ref` and `Iterator::take_while` together, and still get the first value for which the `take_while` predicate returned false after dropping the `by_ref`." +categories = ["rust-patterns"] +keywords = ["iterator", "take_while", "peek", "by_ref"] +license = "Apache-2.0/MIT" +name = "peeking_take_while" +readme = "./README.md" +repository = "https://github.com/fitzgen/peeking_take_while" +version = "0.1.2" + +[badges] +[badges.travis-ci] +repository = "fitzgen/peeking_take_while" -- cgit v1.2.3