comprehensive_traits 0.1.0

A harness for creating consistently-shaped servers will less boilerplate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared trait definitions for common [`comprehensive`] resources
//!
//! This crate defines traits that are designed to be implemented and exported
//! by one [`Resource`] and consumed by another, so that the implementor and
//! consumer do not depend on one another.
//!
//! The only current trait is [`http_diag::HttpDiagHandler`] for exposing
//! various diagnostic information on a shared HTTP server.
//!
//! [`comprehensive`]: https://docs.rs/comprehensive/latest/comprehensive/
//! [`Resource`]: https://docs.rs/comprehensive/latest/comprehensive/v1/trait.Resource.html

#![warn(missing_docs)]

#[cfg(feature = "http_diag")]
pub mod http_diag;