actix_cloud/
lib.rs

1//! Actix Cloud is an all-in-one web framework based on [Actix Web](https://crates.io/crates/actix-web).
2//!
3//! Please refer to our [crate.io](https://crates.io/crates/actix-cloud) and [Github](https://github.com/MXWXZ/actix-cloud) for more documents.
4#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5
6#[cfg(feature = "macros")]
7pub mod macros {
8    pub use actix_cloud_codegen::*;
9}
10#[cfg(feature = "actix-web")]
11pub use actix_web;
12#[cfg(feature = "anyhow")]
13pub use anyhow;
14#[cfg(feature = "anyhow")]
15pub use anyhow::bail;
16#[cfg(feature = "anyhow")]
17pub use anyhow::Error;
18#[cfg(feature = "anyhow")]
19pub use anyhow::Result;
20#[cfg(feature = "async-trait")]
21pub use async_trait::async_trait;
22#[cfg(feature = "chrono")]
23pub use chrono;
24#[cfg(feature = "config")]
25pub use config;
26#[cfg(feature = "macros")]
27pub use macros::main;
28#[cfg(feature = "router")]
29pub use router::build_router;
30#[cfg(feature = "tokio")]
31pub use tokio;
32#[cfg(feature = "logger")]
33pub use tracing;
34
35#[cfg(feature = "csrf")]
36pub mod csrf;
37#[cfg(feature = "i18n")]
38pub mod i18n;
39#[cfg(feature = "logger")]
40pub mod logger;
41#[cfg(feature = "memorydb")]
42pub mod memorydb;
43#[cfg(feature = "request")]
44pub mod request;
45#[cfg(feature = "response")]
46pub mod response;
47#[cfg(feature = "router")]
48pub mod router;
49#[cfg(feature = "security")]
50pub mod security;
51#[cfg(feature = "session")]
52pub mod session;
53#[cfg(feature = "state")]
54pub mod state;
55#[cfg(feature = "traceid")]
56pub use tracing_actix_web;
57#[cfg(feature = "response-build")]
58pub mod response_build;
59#[cfg(feature = "utils")]
60pub mod utils;