# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "actix-cloud"
version = "0.1.0"
authors = ["MXWXZ <matrixwxz@gmail.com>"]
description = "Actix Cloud is an all-in-one web framework based on Actix Web."
readme = "README.md"
keywords = [
    "http",
    "web",
    "framework",
    "async",
    "actix",
]
categories = [
    "network-programming",
    "asynchronous",
    "web-programming::http-server",
    "web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/MXWXZ/actix-cloud"

[dependencies.actix-cloud-codegen]
version = "0.1.0"

[dependencies.actix-utils]
version = "3.0.1"
optional = true

[dependencies.actix-web]
version = "4.8.0"
features = ["secure-cookies"]

[dependencies.async-trait]
version = "0.1.81"

[dependencies.chrono]
version = "0.4.38"

[dependencies.colored]
version = "2.1.0"
optional = true

[dependencies.futures]
version = "0.3.30"

[dependencies.parking_lot]
version = "0.12.3"

[dependencies.rand]
version = "0.8.5"
optional = true

[dependencies.redis]
version = "0.26.1"
features = [
    "tokio-rustls-comp",
    "connection-manager",
]
optional = true

[dependencies.rustls]
version = "0.23.12"
optional = true

[dependencies.rustls-pemfile]
version = "2.1.3"
optional = true

[dependencies.serde]
version = "1.0.205"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.122"
optional = true

[dependencies.serde_with]
version = "3.9.0"
optional = true

[dependencies.thiserror]
version = "1.0.63"

[dependencies.tokio]
version = "1.39.2"
features = ["full"]

[dependencies.tracing]
version = "0.1.40"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.18"
features = [
    "json",
    "parking_lot",
]
optional = true

[features]
default = ["logger"]
i18n = ["actix-cloud-codegen/i18n"]
logger = [
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:colored",
    "serde",
]
redis = ["dep:redis"]
rustls = [
    "actix-web/rustls-0_23",
    "dep:rustls",
    "dep:rustls-pemfile",
]
serde = [
    "dep:serde",
    "dep:serde_json",
    "dep:serde_with",
]
session = [
    "dep:actix-utils",
    "serde",
    "dep:rand",
]
