[package]
edition = "2024"
rust-version = "1.96"
name = "nidus-core"
version = "1.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Nidus dependency injection, modules, provider lifetimes, and application lifecycle."
homepage = "https://rustnidus.com/"
documentation = "https://docs.rs/nidus-core"
readme = "README.md"
keywords = [
"framework",
"axum",
"di",
"http",
"backend",
]
categories = [
"web-programming::http-server",
"asynchronous",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vicotrbb/nidus"
resolver = "2"
[lib]
name = "nidus_core"
path = "src/lib.rs"
[[test]]
name = "app"
path = "tests/app.rs"
[[test]]
name = "core_di"
path = "tests/core_di.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "lifecycle_bootstrap"
path = "tests/lifecycle_bootstrap.rs"
[[test]]
name = "module_graph"
path = "tests/module_graph.rs"
[[test]]
name = "module_graph_logging"
path = "tests/module_graph_logging.rs"
[[test]]
name = "request_scope_di"
path = "tests/request_scope_di.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"rt-multi-thread",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tracing-core]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
]