mirror of
https://github.com/TECHNOFAB11/aerosol.git
synced 2025-12-11 23:50:07 +01:00
New approach to dependency injection for 1.x
This commit is contained in:
parent
e94a833eaf
commit
f8ebe14790
17 changed files with 840 additions and 822 deletions
21
Cargo.toml
21
Cargo.toml
|
|
@ -1,12 +1,25 @@
|
|||
[package]
|
||||
name = "aerosol"
|
||||
version = "0.3.0"
|
||||
version = "1.0.0-alpha.1"
|
||||
authors = ["Diggory Blake <diggsey@googlemail.com>"]
|
||||
edition = "2018"
|
||||
description = "Dependency injection with compile-time guarantees"
|
||||
description = "Simple dependency injection for Rust"
|
||||
repository = "https://github.com/Diggsey/aerosol"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
async = ["async-trait"]
|
||||
axum = ["dep:axum", "async", "tracing", "thiserror", "anyhow"]
|
||||
|
||||
[dependencies]
|
||||
tt-call = "1.0"
|
||||
anyhow = "1"
|
||||
parking_lot = "0.12.1"
|
||||
anymap = { version = "1.0.0-beta.2", features = ["hashbrown"] }
|
||||
async-trait = { version = "0.1", optional = true }
|
||||
axum = { version = "0.6", optional = true }
|
||||
tracing = { version = "0.1", optional = true }
|
||||
thiserror = { version = "1.0", optional = true }
|
||||
anyhow = { version = "1.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.0", features = ["macros"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue