unia 0.1.0

A pragmatic, provider-agnostic Rust LLM client.
Documentation
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    flake-parts.url = "github:hercules-ci/flake-parts";
    devenv.url = "github:cachix/devenv";
    devenv.inputs.nixpkgs.follows = "nixpkgs";
    rust-overlay.url = "github:oxalica/rust-overlay";
    rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = inputs@{ self, nixpkgs, flake-parts, devenv, ... }:
    flake-parts.lib.mkFlake { inherit inputs; } {
      imports = [ devenv.flakeModule ];

      systems = [ "x86_64-linux" "aarch64-linux" ];
      perSystem = { config, system, pkgs, ... }: {
        devenv.shells.default = rec {
          packages = with pkgs; [
            openssl
          ];

          languages.rust = {
            enable = true;
            channel = "nightly";
            rustflags = "-Z macro-backtrace";
          };
        };
      };
    };
}