#boilerplate #server #http #instance

comprehensive_http

A harness for creating consistently-shaped servers will less boilerplate

1 unstable release

Uses new Rust 2024

new 0.1.0 May 3, 2025

#748 in HTTP server


Used in comprehensive_grpc

MIT license

240KB
5K SLoC

comprehensive Resource types for HTTP server.

This crate provides Resource types for use in a comprehensive Assembly. To use it, build an Assembly and include resources from this crate in the dependency graph.

HTTP (and HTTPS) Server

One or more HTTP servers can be run by including a Resource of type HttpServer<FooServer> where FooServer has derived HttpServingInstance. See the server module docs.

Diagnostics Instance

The diag module implements a HttpServingInstance specifically intended to serve content for diagnostics and other internal functions like metrics serving. The idea is that the endpoint for this server is not exposed to end users.

Dependencies

~12–41MB
~637K SLoC