| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # 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. |
| # |
| # 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 = "peeking_take_while" |
| version = "1.0.0" |
| authors = ["Nick Fitzgerald <[email protected]>"] |
| 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`." |
| readme = "./README.md" |
| keywords = ["iterator", "take_while", "peek", "by_ref"] |
| categories = ["no-std", "rust-patterns"] |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/fitzgen/peeking_take_while" |
| [badges.travis-ci] |
| repository = "fitzgen/peeking_take_while" |