rustio rustio.net
52

peeking_take_while

v1.0.0 Growing

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`.

MIT OR Apache-2.0 Edition 2018
Rust patternsNo standard library #iterator#peek#take_while#by_ref

Quick Verdict

  • Not updated for 4+ years
  • Stable API (1.x for 9+ years)
  • Trusted by 206 crates
  • Tiny footprint (8KB, 0 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
123.8M
Dependents
206
Releases
4
Size
8KB

Deep Insights

📉
Download decline

2.6M downloads in the last 30 days, down 27% from the previous period. May indicate migration to alternatives.

🔗
Moderate adoption

206 crates depend on peeking_take_while. Reasonable ecosystem adoption, though not yet a core dependency.

👤
Prolific maintainer

The primary maintainer publishes 101 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

Stable for 9+ years

The API has been stable (1.x) for over 9 years with 4 releases. This level of maturity means you can depend on it without worrying about breaking changes.

🪶
Zero dependencies

peeking_take_while has no external dependencies — minimal supply chain risk and fast compile times.

📐
Compact crate

At 8KB, peeking_take_while is lightweight. Small crate size correlates with focused, well-scoped functionality.

🌟
Used by top crates

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

Maintenance 2/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 9/15

Docs, repo, license, metadata

Download Trend

Daily downloads · last 90 days
87K/day avg-57%
050K100K150K200K4/275/156/26/207/87/25

Top Dependents

Version Adoption

v0.1.2
93%
v1.0.0
7%
v0.1.1
0%
v0.1.0
0%

Release Timeline

4 releasessince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
3
2018
2019
2020
2021
1
2022
2023
2024
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
0
direct dependencies
Dependents
206
crates depend on peeking_take_while

Similar Crates