[workspace] members = ["crates/*"] [package] name = "itermore" version = "0.7.1" authors = ["Ross MacArthur "] edition = "2021" rust-version = "1.60" description = "🤸‍♀️ More iterator adaptors" repository = "https://github.com/rossmacarthur/itermore" license = "MIT OR Apache-2.0" keywords = ["iterator", "chunks", "windows"] categories = ["algorithms", "rust-patterns"] [package.metadata.docs.rs] features = ["full"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] arrays = { version = "0.2.0", path = "crates/arrays", optional = true } [dev-dependencies] rand = "0.8.5" [features] # Nothing is enabled by default default = [] # Support for no_std environments in a backwards compatible way # # This feature currently just enables `alloc` but in the future it may be used # to enable features that rely on `std` that don't exist in `alloc`. std = ["alloc"] alloc = [] # Enable everything full = [ "std", "array_chunks", "array_combinations_with_reps", "array_combinations", "array_windows", "cartesian_product", "circular_array_windows", "collect_array", "combinations_with_reps", "combinations", "min_max", "next_chunk", "sorted", ] # Enables the `.array_chunks()` adaptor for iterators array_chunks = ["dep:arrays"] # Enables the `.array_combinations()` adaptor for iterators array_combinations = ["alloc", "dep:arrays"] # Enables the `.array_combinations_with_reps()` adaptor for iterators array_combinations_with_reps = ["alloc", "dep:arrays"] # Enables the `.array_windows()` adaptor for iterators array_windows = ["dep:arrays"] # Enables the `.cartesian_product()` adaptor for iterators cartesian_product = [] # Enables the `.circular_array_windows()` adaptor for iterators circular_array_windows = ["array_windows"] # Enables the `.collect_array()` method on iterators collect_array = ["dep:arrays"] # Enables the `.combinations()` adaptor for iterators combinations = ["alloc"] # Enables the `.combinations_with_reps()` adaptor for iterators combinations_with_reps = ["alloc"] # Enables the `.min_max()` and friends methods on iterators min_max = [] # Enables the `.next_chunk()` method on iterators next_chunk = ["dep:arrays"] # Enables the `.sorted()` and friends methods on iterators sorted = ["alloc"]