summaryrefslogtreecommitdiff
path: root/mingling_core/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-05 20:33:57 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-05 20:33:57 +0800
commitb6876f9df6e3119331fac01c0bc954ca9f3c798b (patch)
tree030301c8d434d51fa386e9a5fff77bce5899733b /mingling_core/Cargo.toml
parentb41e201e554c4ba5ad6f1e09ce58dd3d10b6a635 (diff)
Add general renderer support with serialization formats
Diffstat (limited to 'mingling_core/Cargo.toml')
-rw-r--r--mingling_core/Cargo.toml13
1 files changed, 12 insertions, 1 deletions
diff --git a/mingling_core/Cargo.toml b/mingling_core/Cargo.toml
index 4660f78..6f97016 100644
--- a/mingling_core/Cargo.toml
+++ b/mingling_core/Cargo.toml
@@ -9,10 +9,21 @@ repository = "https://github.com/catilgrass/mingling"
[features]
default = []
full = ["general_renderer"]
-general_renderer = ["dep:serde"]
+general_renderer = [
+ "dep:serde",
+ "dep:ron",
+ "dep:serde_json",
+ "dep:serde_yaml",
+ "dep:toml",
+]
[dependencies]
just_fmt = "0.1.2"
serde = { version = "1.0", features = ["derive"], optional = true }
thiserror = "2"
tokio = { version = "1", features = ["io-std", "io-util"] }
+
+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 }