breadth-first-zip 0.3.0

Breadth-first `zip` guaranteeing a monotonically increasing sum of indices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  description = "Breadth-first exhaustive `zip` for repeatable iterators."
  inputs = {
    flake-utils.url = "github:numtide/flake-utils";
    naersk.url = "github:nmattia/naersk";
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
  };
  outputs = { flake-utils, naersk, nixpkgs, self }: flake-utils.lib.eachDefaultSystem (system:
    let
      pkgs = (import nixpkgs) { inherit system; };
      naersk' = pkgs.callPackage naersk {};
    in {
      defaultPackage = naersk'.buildPackage { src = ./.; };
      devShell = pkgs.mkShell { nativeBuildInputs = with pkgs; [ rustc cargo ]; };
    }
  );
}