1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2018" 14name = "peeking_take_while" 15version = "1.0.0" 16authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] 17description = "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`." 18readme = "./README.md" 19keywords = ["iterator", "take_while", "peek", "by_ref"] 20categories = ["no-std", "rust-patterns"] 21license = "MIT OR Apache-2.0" 22repository = "https://github.com/fitzgen/peeking_take_while" 23[badges.travis-ci] 24repository = "fitzgen/peeking_take_while" 25