logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Salvo is a powerful and simplest web server framework in Rust world.
//! Read more: <https://salvo.rs>

#![doc(html_favicon_url = "https://salvo.rs/images/favicon-32x32.png")]
#![doc(html_logo_url = "https://salvo.rs/images/logo.svg")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(private_in_public, unreachable_pub)]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
pub use salvo_core as core;
#[doc(inline)]
pub use salvo_core::*;

#[cfg(any(
    feature = "extra",
    feature = "basic_auth",
    feature = "compression",
    feature = "cors",
    feature = "csrf",
    feature = "jwt-auth",
    feature = "logging",
    feature = "proxy",
    feature = "serve-static",
    feature = "session",
    feature = "size-limiter",
    feature = "sse",
    feature = "timeout",
    feature = "ws"
))]
#[cfg_attr(
    docsrs,
    doc(cfg(any(
        feature = "extra",
        feature = "basic_auth",
        feature = "compression",
        feature = "cors",
        feature = "csrf",
        feature = "jwt-auth",
        feature = "logging",
        feature = "proxy",
        feature = "serve-static",
        feature = "session",
        feature = "size-limiter",
        feature = "sse",
        feature = "timeout",
        feature = "ws"
    )))
)]
pub use salvo_extra as extra;