[dependencies.anyhow]
version = "1.0.100"
[dependencies.chrono]
optional = true
version = "0.4.42"
[dependencies.const_format]
optional = true
version = "0.2.34"
[dependencies.cron]
features = ["serde"]
optional = true
version = "0.15.0"
[dependencies.either]
features = ["serde"]
version = "1.15.0"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.nexustack_macros]
version = "0.2.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.219"
[dependencies.serde_json]
optional = true
version = "1.0.143"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.tokio]
features = ["macros", "rt", "signal", "time"]
version = "1.47.1"
[dependencies.tokio-util]
version = "0.7.16"
[dependencies.tracing]
version = "0.1.41"
[dependencies.url]
optional = true
version = "2.5.7"
[dependencies.uuid]
optional = true
version = "1.18.1"
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[features]
chrono = ["dep:chrono"]
cron = ["dep:cron", "dep:chrono", "nexustack_macros/cron"]
default = ["derive", "nexustack_macros/inject", "nexustack_macros/module"]
derive = []
openapi = ["serde", "serde_json", "const_format", "nexustack_macros/openapi"]
url = ["dep:url"]
uuid = ["dep:uuid"]
[lib]
name = "nexustack"
path = "src/lib.rs"
[lints.clippy]
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
[lints.clippy.large_stack_frames]
level = "warn"
priority = 1
[lints.clippy.large_types_passed_by_value]
level = "warn"
priority = 1
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 1
[lints.rust]
missing_docs = "warn"
[lints.rustdoc]
missing_crate_level_docs = "warn"
unescaped_backticks = "warn"
[package]
authors = ["Cato Truetschel and contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming"]
description = "Nexustack is a modular Rust framework combining HTTP, WebSockets, MQTT, AMQP, and cron jobs with a unified DI system, enabling scalable, enterprise-ready applications with out-of-the-box API documentation."
edition = "2024"
keywords = ["nexustack", "http", "websocket", "dependency-injection", "modular"]
license = "MIT"
name = "nexustack"
readme = "README.md"
repository = "https://github.com/1ean267/nexustack"
resolver = "2"
rust-version = "1.91.1"
version = "0.2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "tests"
path = "tests/tests.rs"