diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-11 18:29:43 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-11 18:29:43 +0800 |
| commit | 0b9d890fd9764fa3ec0b749f4b15610e49e3cb8d (patch) | |
| tree | 7c53525f783c1b969b871cecf3d6a45f97f70ebd /mingling_core/Cargo.toml | |
| parent | 58ef8a8f42a68c7a81118ef9120705730ce3f458 (diff) | |
Add debug logging feature with env_logger integration
Diffstat (limited to 'mingling_core/Cargo.toml')
| -rw-r--r-- | mingling_core/Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mingling_core/Cargo.toml b/mingling_core/Cargo.toml index 0d4baaa..f7f7c00 100644 --- a/mingling_core/Cargo.toml +++ b/mingling_core/Cargo.toml @@ -10,6 +10,7 @@ repository = "https://github.com/catilgrass/mingling" default = [] full = ["comp", "general_renderer"] comp = ["dep:just_template"] +debug = ["dep:log", "dep:env_logger"] general_renderer = [ "dep:serde", "dep:ron", @@ -31,3 +32,6 @@ 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 } |
