lest 0.2.1

A modular approach to a web server. Based on actix-web.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![crate_type = "lib"]

mod funs;

mod util;

pub mod models;

pub mod types;

pub mod middlewares;

/// This function is a shorthand for `Box::leak(Box::new(value))`.
/// It is useful when you want to create a value with a lifetime
pub fn leaked<T>(value: T) -> &'static T {
    Box::leak(Box::new(value))
}