axum-reverse-proxy 1.1.1

A flexible and efficient reverse proxy implementation for Axum web applications
Documentation
{
  description = "axum-reverse-proxy development environment";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    rust-overlay.url = "github:oxalica/rust-overlay";
    flake-utils.url = "github:numtide/flake-utils";
  };

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

        # Use nightly Rust for edition 2024 support
        rustToolchain = pkgs.rust-bin.nightly."2025-11-26".default.override {
          extensions = [ "rust-src" "rust-analyzer" "clippy" "rustfmt" ];
        };
      in
      {
        devShells.default = pkgs.mkShell {
          buildInputs = [
            rustToolchain
            pkgs.pkg-config
            pkgs.openssl
            pkgs.gh
          ];

          shellHook = ''
            echo "axum-reverse-proxy dev shell"
            echo "Rust: $(rustc --version)"
          '';
        };
      }
    );
}