Chih-Hung Hsieh | 481287d | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 1 | name: "peeking_take_while" |
Chih-Hung Hsieh | 935946a | 2020-10-12 00:51:01 -0700 | [diff] [blame] | 2 | 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`." |
Chih-Hung Hsieh | 481287d | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 3 | third_party { |
| 4 | url { |
| 5 | type: HOMEPAGE |
| 6 | value: "https://crates.io/crates/peeking_take_while" |
| 7 | } |
| 8 | url { |
Chih-Hung Hsieh | 5e24ce8 | 2020-08-25 20:49:22 -0700 | [diff] [blame] | 9 | type: ARCHIVE |
Joel Galenson | 2ad6afb | 2021-09-30 10:30:09 -0700 | [diff] [blame] | 10 | value: "https://static.crates.io/crates/peeking_take_while/peeking_take_while-1.0.0.crate" |
Chih-Hung Hsieh | 481287d | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 11 | } |
Joel Galenson | 2ad6afb | 2021-09-30 10:30:09 -0700 | [diff] [blame] | 12 | version: "1.0.0" |
Chih-Hung Hsieh | 481287d | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 13 | license_type: NOTICE |
| 14 | last_upgrade_date { |
Joel Galenson | 2ad6afb | 2021-09-30 10:30:09 -0700 | [diff] [blame] | 15 | year: 2021 |
| 16 | month: 9 |
| 17 | day: 30 |
Chih-Hung Hsieh | 481287d | 2020-04-16 10:44:21 -0700 | [diff] [blame] | 18 | } |
| 19 | } |