aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 3fd751aa1d0f1120fba00cc402e984c5242541df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "syrette"
version = "0.2.1"
license = "MIT OR Apache-2.0"
authors = ["HampusM <hampus@hampusmat.com>"]
description = "The convenient dependency injection library"
repository = "https://git.hampusmat.com/syrette"
keywords = ["DI", "dependency-injection", "ioc", "inversion-of-control"]
edition = "2021"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["prevent-circular"]
factory = ["syrette_macros/factory"]
prevent-circular = ["syrette_macros/prevent-circular"]

[[example]]
name = "factory"
required-features = ["factory"]

[dependencies]
syrette_macros = { path = "./macros", version = "0.2.1" }
linkme = "0.3.0"
once_cell = "1.4"
error-stack = "0.1.1"
ahash = "0.7.6"

[dev_dependencies]
mockall = "0.11.1"

[workspace]
members = [
	"macros",
]