caelix 0.0.37

Public Caelix framework crate.
Documentation
# 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 = "2024"
name = "caelix"
version = "0.0.37"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public Caelix framework crate."
homepage = "https://ohanronnie.github.io/caelix/"
documentation = "https://docs.rs/caelix"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Ohanronnie/caelix"

[features]
actix = [
    "dep:caelix-actix",
    "caelix-macros/actix",
]
axum = [
    "dep:caelix-axum",
    "caelix-macros/axum",
]
config = [
    "caelix-core/config",
    "caelix-macros/config",
    "dep:serde",
    "dep:validator",
]
default = ["actix"]
microservices-nats = [
    "dep:caelix-microservices",
    "caelix-microservices/nats",
    "dep:tokio",
    "caelix-macros/microservices",
    "caelix-macros/tokio",
]
microservices-redis = [
    "dep:caelix-microservices",
    "caelix-microservices/redis",
    "dep:tokio",
    "caelix-macros/microservices",
    "caelix-macros/tokio",
]
openapi = [
    "caelix-core/openapi",
    "caelix-macros/openapi",
    "caelix-actix?/openapi",
    "caelix-axum?/openapi",
]
socketio = [
    "axum",
    "caelix-axum/socketio",
    "dep:caelix-socketio",
]
sqlx = ["caelix-core/sqlx"]
uploads = [
    "caelix-core/uploads",
    "caelix-macros/uploads",
    "caelix-actix?/uploads",
    "caelix-axum?/uploads",
]
validator = ["caelix-core/validator"]

[lib]
name = "caelix"
path = "src/lib.rs"

[[example]]
name = "anyhow_error_server"
path = "examples/anyhow_error_server.rs"

[[example]]
name = "jetstream_event_probe"
path = "examples/jetstream_event_probe.rs"
required-features = ["microservices-nats"]

[[example]]
name = "redis_event_probe"
path = "examples/redis_event_probe.rs"
required-features = ["microservices-redis"]

[[example]]
name = "upload_validation_server"
path = "examples/upload_validation_server.rs"
required-features = [
    "actix",
    "uploads",
]

[[test]]
name = "actix_main"
path = "tests/actix_main.rs"

[[test]]
name = "axum_application"
path = "tests/axum_application.rs"

[[test]]
name = "config"
path = "tests/config.rs"

[[test]]
name = "cookies"
path = "tests/cookies.rs"

[[test]]
name = "correlation_headers"
path = "tests/correlation_headers.rs"

[[test]]
name = "guard_visibility"
path = "tests/guard_visibility.rs"

[[test]]
name = "microservices"
path = "tests/microservices.rs"

[[test]]
name = "openapi"
path = "tests/openapi.rs"

[[test]]
name = "prelude"
path = "tests/prelude.rs"

[[test]]
name = "socketio"
path = "tests/socketio.rs"

[[test]]
name = "test_application"
path = "tests/test_application.rs"

[[test]]
name = "throttle"
path = "tests/throttle.rs"

[[test]]
name = "uploads"
path = "tests/uploads.rs"

[[test]]
name = "validation"
path = "tests/validation.rs"

[[test]]
name = "websocket_gateway"
path = "tests/websocket_gateway.rs"

[dependencies.caelix-actix]
version = "0.0.37"
optional = true
default-features = false

[dependencies.caelix-axum]
version = "0.0.37"
optional = true
default-features = false

[dependencies.caelix-core]
version = "0.0.37"
default-features = false

[dependencies.caelix-macros]
version = "0.0.37"
default-features = false

[dependencies.caelix-microservices]
version = "0.0.37"
optional = true
default-features = false

[dependencies.caelix-socketio]
version = "0.0.37"
optional = true

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

[dependencies.tokio]
version = "1.53.1"
features = ["rt-multi-thread"]
optional = true
default-features = false

[dependencies.validator]
version = "0.21.0"
features = ["derive"]
optional = true

[dev-dependencies.actix-web]
version = "4.14.0"
features = [
    "macros",
    "ws",
]
default-features = false

[dev-dependencies.anyhow]
version = "1.0.104"

[dev-dependencies.futures]
version = "0.3.32"

[dev-dependencies.futures-util]
version = "0.3.33"
features = ["sink"]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1.4"

[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.151"

[dev-dependencies.tokio-tungstenite]
version = "0.30.0"

[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]

[dev-dependencies.validator]
version = "0.21.0"
features = ["derive"]