dent_cloud 0.1.1

API for dent instruments' dentcloud.io
Documentation
{
  inputs = {
    nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
    systems.url = "github:nix-systems/default";
    devenv.url = "github:cachix/devenv";
    devenv.inputs.nixpkgs.follows = "nixpkgs";
  };

  nixConfig = {
    extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
    extra-substituters = "https://devenv.cachix.org";
  };

  outputs =
    {
      self,
      nixpkgs,
      devenv,
      systems,
      ...
    }@inputs:
    let
      forEachSystem = nixpkgs.lib.genAttrs (import systems);
    in
    {
      devShells = forEachSystem (
        system:
        let
          pkgs = nixpkgs.legacyPackages.${system};
          lib = pkgs.lib;
        in
        {
          default = devenv.lib.mkShell {
            inherit inputs pkgs;
            modules = [
              {
                dotenv.enable = true;
                languages.rust = {
                  enable = true;
                  mold.enable = true;
                };

                # https://devenv.sh/reference/options/
                packages = with pkgs; [ openssl ];

                env = {
                  LD_LIBRARY_PATH = lib.makeLibraryPath (with pkgs; [ ]);
                  RUST_LOG = "info";
                };

              }
            ];
          };
        }
      );
    };
}