rust-web-server 18.8.1

Single-binary web server and reverse proxy: automatic HTTPS (Let's Encrypt), HTTP/1.1, HTTP/2 and HTTP/3, load balancing, auth and rate limiting, configured in one TOML file. Also a Rust library: routing, middleware, MCP server, ORM, background jobs. No hyper, no Tower; HTTP/2 and HTTP/3 framing via h2 and quinn.
Documentation
[
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "Gateway",
  "metadata": {
   "name": "gateway-with-one-attached-route",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "gatewayClassName": "rws",
   "listeners": [
    {
     "allowedRoutes": {
      "kinds": [
       {
        "kind": "HTTPRoute"
       }
      ],
      "namespaces": {
       "from": "Selector",
       "selector": {
        "matchLabels": {
         "kubernetes.io/metadata.name": "gateway-conformance-infra"
        }
       }
      }
     },
     "name": "http",
     "port": 80,
     "protocol": "HTTP"
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "HTTPRoute",
  "metadata": {
   "name": "http-route-1",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "parentRefs": [
    {
     "kind": "Gateway",
     "name": "gateway-with-one-attached-route",
     "namespace": "gateway-conformance-infra"
    }
   ],
   "rules": [
    {
     "backendRefs": [
      {
       "name": "infra-backend-v1",
       "port": 8080
      }
     ]
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "Gateway",
  "metadata": {
   "name": "gateway-with-two-attached-routes",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "gatewayClassName": "rws",
   "listeners": [
    {
     "allowedRoutes": {
      "kinds": [
       {
        "kind": "HTTPRoute"
       }
      ],
      "namespaces": {
       "from": "Selector",
       "selector": {
        "matchLabels": {
         "kubernetes.io/metadata.name": "gateway-conformance-infra"
        }
       }
      }
     },
     "hostname": "foo.example.com",
     "name": "http",
     "port": 80,
     "protocol": "HTTP"
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "HTTPRoute",
  "metadata": {
   "name": "http-route-2",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "parentRefs": [
    {
     "kind": "Gateway",
     "name": "gateway-with-two-attached-routes",
     "namespace": "gateway-conformance-infra"
    }
   ],
   "rules": [
    {
     "backendRefs": [
      {
       "name": "infra-backend-v1",
       "port": 8080
      }
     ]
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "HTTPRoute",
  "metadata": {
   "name": "http-route-3",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "parentRefs": [
    {
     "kind": "Gateway",
     "name": "gateway-with-two-attached-routes",
     "namespace": "gateway-conformance-infra"
    }
   ],
   "rules": [
    {
     "backendRefs": [
      {
       "name": "infra-backend-v1",
       "port": 8080
      }
     ]
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "HTTPRoute",
  "metadata": {
   "name": "http-route-not-accepted",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "hostnames": [
    "not-accepted.test.com"
   ],
   "parentRefs": [
    {
     "kind": "Gateway",
     "name": "gateway-with-two-attached-routes",
     "namespace": "gateway-conformance-infra"
    }
   ],
   "rules": [
    {
     "backendRefs": [
      {
       "name": "infra-backend-v1",
       "port": 8080
      }
     ]
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "Gateway",
  "metadata": {
   "annotations": {
    "gateway-api/skip-this-for-readiness": "true"
   },
   "name": "unresolved-gateway-with-one-attached-unresolved-route",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "gatewayClassName": "rws",
   "listeners": [
    {
     "allowedRoutes": {
      "kinds": [
       {
        "kind": "HTTPRoute"
       }
      ],
      "namespaces": {
       "from": "Selector",
       "selector": {
        "matchLabels": {
         "kubernetes.io/metadata.name": "gateway-conformance-infra"
        }
       }
      }
     },
     "name": "tls",
     "port": 443,
     "protocol": "HTTPS",
     "tls": {
      "certificateRefs": [
       {
        "group": "",
        "kind": "Secret",
        "name": "does-not-exist"
       }
      ],
      "mode": "Terminate"
     }
    }
   ]
  }
 },
 {
  "apiVersion": "gateway.networking.k8s.io/v1",
  "kind": "HTTPRoute",
  "metadata": {
   "name": "http-route-4",
   "namespace": "gateway-conformance-infra"
  },
  "spec": {
   "parentRefs": [
    {
     "kind": "Gateway",
     "name": "unresolved-gateway-with-one-attached-unresolved-route",
     "namespace": "gateway-conformance-infra",
     "sectionName": "tls"
    }
   ],
   "rules": [
    {
     "backendRefs": [
      {
       "name": "does-not-exist",
       "port": 8080
      }
     ]
    }
   ]
  }
 }
]