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 8+ years)
  • Trusted by 202 crates
  • Tiny footprint (8KB, 0 deps)
  • Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
113.3M
Dependents
202
Releases
4
Size
8KB

Deep Insights

📊
Stable downloads

3.9M downloads in the last 30 days (131.5K/day). Volume is roughly flat compared to the previous period.

🔗
Moderate adoption

202 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 8+ years

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.

🪶
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
129K/day avg+4%
0100K200K300K12/291/162/32/213/113/28

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
202
crates depend on peeking_take_while

Similar Crates