haqor-core 0.2.2

Library providing convenient access to bible resources
Documentation
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-utils.url = "github:numtide/flake-utils";
    rust-overlay = {
      url = "github:oxalica/rust-overlay/stable";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = inputs:
    with inputs;
      flake-utils.lib.eachDefaultSystem (
        system: let
          overlays = [ (import rust-overlay) ];
          pkgs = import nixpkgs {
            inherit system overlays;
          };

        in {

          devShells = {
            default = with pkgs; mkShell {
              buildInputs = [
                (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
                cargo-nextest
                cargo-udeps
                cargo-vet
                cargo-about
                cargo-release

                rust-analyzer
                rustfmt

                adrs
                typos

                sqlitebrowser

                # If the dependencies need system libs, you usually need pkg-config + the lib
                pkg-config
                openssl
                sqlite
              ];
            };
          };

          formatter = nixpkgs.legacyPackages.${system}.alejandra;
        }
      );
}