[package]
edition = "2024"
rust-version = "1.85"
name = "hosting"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dependency injection and application hosting modeled on Microsoft.Extensions.Hosting"
readme = "README.md"
keywords = [
"dependency-injection",
"di",
"ioc",
"hosting",
"container",
]
categories = [
"rust-patterns",
"development-tools",
]
license = "MIT"
repository = "https://github.com/aaxxios/host-rs"
[features]
logging = ["hosting-di/logging"]
[lib]
name = "hosting"
path = "src/lib.rs"
[[test]]
name = "abstraction"
path = "tests/abstraction.rs"
[[test]]
name = "derive_constructor"
path = "tests/derive_constructor.rs"
[[test]]
name = "derive_fields"
path = "tests/derive_fields.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.hosting-core]
version = "0.1.0"
[dependencies.hosting-di]
version = "0.1.0"
[dependencies.hosting-macros]
version = "0.1.0"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "deny"