[package]
edition = "2024"
name = "caelix-core"
version = "0.0.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core primitives for the Caelix framework."
homepage = "https://ohanronnie.github.io/caelix/"
documentation = "https://docs.rs/caelix-core"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Ohanronnie/caelix"
[features]
default = []
openapi = ["dep:utoipa"]
sqlx = ["dep:sqlx"]
uploads = [
"dep:infer",
"dep:multer",
]
validator = ["dep:validator"]
[lib]
name = "caelix_core"
path = "src/lib.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "module_graph_regressions"
path = "tests/module_graph_regressions.rs"
[[test]]
name = "module_validation"
path = "tests/module_validation.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[dependencies.anyhow]
version = "1.0.103"
[dependencies.bytes]
version = "1.10.1"
[dependencies.cookie]
version = "0.18.1"
features = ["percent-encode"]
[dependencies.crossbeam-channel]
version = "0.5.16"
[dependencies.futures-core]
version = "0.3.31"
[dependencies.futures-util]
version = "0.3.31"
features = ["std"]
default-features = false
[dependencies.http]
version = "1.4.2"
[dependencies.infer]
version = "0.19.0"
optional = true
[dependencies.multer]
version = "3.1.0"
optional = true
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_html_form]
version = "0.2.7"
[dependencies.serde_json]
version = "1.0.150"
[dependencies.sqlx]
version = "0.8.6"
optional = true
default-features = false
[dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"io-util",
"sync",
]
[dependencies.tokio-stream]
version = "0.1.17"
features = ["sync"]
[dependencies.tokio-util]
version = "0.7.16"
features = [
"io",
"rt",
]
[dependencies.tracing]
version = "0.1.44"
[dependencies.tracing-subscriber]
version = "0.3.22"
[dependencies.url]
version = "2.5.8"
[dependencies.utoipa]
version = "5.5.0"
optional = true
[dependencies.validator]
version = "0.20"
optional = true
[dev-dependencies.tokio]
version = "1.47.1"
features = [
"fs",
"io-util",
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
]
[dev-dependencies.trybuild]
version = "1.0.117"