lest 0.2.1

A modular approach to a web server. Based on actix-web.
Documentation
1
2
3
4
5
6
7
8
use super::descriptor::Descriptor;

#[allow(dead_code)]
/// A `Fragment` is a module that separates routes into smaller, more manageable pieces.
pub trait Fragment {
    /// This function describes the fragment and returns a `Descriptor`.
    fn describe(&self) -> Descriptor;
}