| Crates.io | estimate_size |
| lib.rs | estimate_size |
| version | 0.1.2 |
| created_at | 2025-09-13 01:36:10.356895+00 |
| updated_at | 2025-09-14 00:50:23.77644+00 |
| description | Replaces an iterator's `size_hint` with a custom value. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1837130 |
| size | 22,415 |
A library used on iterators which allows adapting a custom size_hint with your estimate, for iterators that do not provide accurate estimates themselves.
use estimate_size::EstimateSize;
(0..10).filter(|x| x % 2 == 0).estimate_exact_size(5)