peeking_take_while
v1.0.0 GrowingLike `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`.
Quick Verdict
- ✕Not updated for 4+ years
- ✓Stable API (1.x for 8+ years)
- ✓Trusted by 202 crates
- ✓Tiny footprint (8KB, 0 deps)
- ✓Permissive license (MIT OR Apache-2.0)
Security
Deep Insights
3.9M downloads in the last 30 days (131.5K/day). Volume is roughly flat compared to the previous period.
202 crates depend on peeking_take_while. Reasonable ecosystem adoption, though not yet a core dependency.
The primary maintainer publishes 101 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.
The API has been stable (1.x) for over 8 years with 4 releases. This level of maturity means you can depend on it without worrying about breaking changes.
peeking_take_while has no external dependencies — minimal supply chain risk and fast compile times.
At 8KB, peeking_take_while is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include vrl, sss_moo, sfw-tools, gradiff, nsga. When high-quality crates choose peeking_take_while, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on peeking_take_while