fluent-iterable 1.0.1

Fluent extension trait for std Iterator, port of @codibre/fluent-iterable vocabulary: joins, grouping, distinctness, cardinality checks
Documentation
//! Crate documentation lives in README.md — one source of truth for
//! crates.io, docs.rs and this page.
#![doc = include_str!("../README.md")]

use std::cmp::Ordering;
use std::collections::{HashMap, HashSet};
use std::fmt::Display;
use std::hash::Hash;

pub mod ops;

pub use ops::combining::Combine;
pub use ops::distinct::{Distinct, DistinctBy};
use ops::fallback::WhenEmptyPhase;
pub use ops::fallback::{Repeat, WhenEmpty};

include!("fluent_iter.rs");

impl<I: Iterator> FluentIter for I {}

#[cfg(test)]
mod tests {
    use super::*;

    include!("tests_src/support.rs");

    include!("tests_src/grouping.rs");
    include!("tests_src/combining.rs");
    include!("tests_src/distinct.rs");
    include!("tests_src/fallback.rs");
    include!("tests_src/sorting.rs");
    include!("tests_src/statistics.rs");
    include!("tests_src/strings.rs");
    include!("tests_src/cardinality.rs");
    include!("tests_src/folds.rs");
    include!("tests_src/integration.rs");
}