aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/Cargo.toml
blob: f7f7c00085e0997b61d072b87135576acdb089de (plain) (blame)
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 = "mingling_core"
version = "0.1.4"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "Core of the mingling library"
repository = "https://github.com/catilgrass/mingling"

[features]
default = []
full = ["comp", "general_renderer"]
comp = ["dep:just_template"]
debug = ["dep:log", "dep:env_logger"]
general_renderer = [
    "dep:serde",
    "dep:ron",
    "dep:serde_json",
    "dep:serde_yaml",
    "dep:toml",
]

[dependencies]
just_fmt = "0.1.2"
just_template = { version = "0.1.3", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
thiserror = "2"
tokio = { version = "1", features = ["io-std", "io-util"] }

once_cell = "1.21.4"

ron = { version = "0.12.1", optional = true }
serde_json = { version = "1", optional = true }
serde_yaml = { version = "0.9", optional = true }
toml = { version = "0.9.8", optional = true }

log = { version = "0.4", optional = true }
env_logger = { version = "0.11", optional = true }