[package]
edition = "2024"
rust-version = "1.94"
name = "mads-core"
version = "0.9.2"
authors = ["MADS.rs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-neutral dependency injection, configuration, and lifecycle core for MADS.rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Adriannathan89/mads"
[features]
default = []
runtime-tokio = ["dep:tokio"]
[lib]
name = "mads_core"
path = "src/lib.rs"
[[test]]
name = "architecture"
path = "tests/architecture.rs"
[[test]]
name = "auto_configuration_builder"
path = "tests/auto_configuration_builder.rs"
[[test]]
name = "auto_configuration_report"
path = "tests/auto_configuration_report.rs"
[[test]]
name = "builder"
path = "tests/builder.rs"
[[test]]
name = "catalog"
path = "tests/catalog.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "configuration"
path = "tests/configuration.rs"
[[test]]
name = "construction_failure"
path = "tests/construction_failure.rs"
[[test]]
name = "cycle_validation"
path = "tests/cycle_validation.rs"
[[test]]
name = "descriptor"
path = "tests/descriptor.rs"
[[test]]
name = "diagnostic"
path = "tests/diagnostic.rs"
[[test]]
name = "focused_selection"
path = "tests/focused_selection.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "inspection_snapshot"
path = "tests/inspection_snapshot.rs"
[[test]]
name = "invalid_graph"
path = "tests/invalid_graph.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "module_graph"
path = "tests/module_graph.rs"
[[test]]
name = "module_scope"
path = "tests/module_scope.rs"
[[test]]
name = "provider_lifecycle"
path = "tests/provider_lifecycle.rs"
[[test]]
name = "registry"
path = "tests/registry.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
[dependencies.dotenvy]
version = "=0.15.7"
[dependencies.inventory]
version = "0.3"
[dependencies.mads-core-macros]
version = "=0.9.2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
optional = true
[dependencies.toml]
version = "=0.8.23"
[dependencies.toml_edit]
version = "=0.22.27"
[dev-dependencies.cargo_metadata]
version = "=0.19.2"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"signal",
"sync",
"time",
]
[lints.clippy]
all = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"