Crates.io | comprehensive |
lib.rs | comprehensive |
version | 0.5.0 |
source | src |
created_at | 2024-10-02 21:27:11.688832 |
updated_at | 2024-10-27 22:01:27.311488 |
description | A harness for creating consistently-shaped servers will less boilerplate |
homepage | https://github.com/vandry/comprehensive |
repository | https://github.com/vandry/comprehensive.git |
max_upload_size | |
id | 1394660 |
size | 102,054 |
A harness for creating consistently-shaped servers will less boilerplate.
Production-ready servers require a comprehensive collection of basic features to enable easy deployment, integration, diagnostics, monitoring, lifecycle management, and so forth. Individual features may be available in the ecosystem, but each requires its own boilerplate to add and configure. Especially when operating with a microservices paradigm, the effort to bootstrap a basic batteries-included server may even outweigh the application logic.
Comprehensive's goal is that it should be easy to create a server with a number of important basic features included by default, including:
This framework is opinionated, not because its decisions are considered better than alternatives but because it's important for consistency. Deployment, configuration, diagnostics, metrics collection and more should happen in the same way across a whole zoo of different servers in a cluster (or other collective environment).
Comprehensive is still in early development. Many more features are planned.
tls
: Enables secure versions of each protocol (currently gRPC and HTTP).
Requires rustls.Most features, such as HTTP and Prometheus metrics, are always available.