actix-web 0.7.19

Actix web is a simple, pragmatic and extremely fast web framework for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern crate version_check;

fn main() {
    match version_check::is_min_version("1.26.0") {
        Some((true, _)) => println!("cargo:rustc-cfg=actix_impl_trait"),
        _ => (),
    };
    match version_check::is_nightly() {
        Some(true) => {
            println!("cargo:rustc-cfg=actix_nightly");
            println!("cargo:rustc-cfg=actix_impl_trait");
        }
        Some(false) => (),
        None => (),
    };
}