diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-15 22:02:51 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-15 22:06:13 +0800 |
| commit | a2eefa6abb7b7b86ab78466bf5abc4877d255d79 (patch) | |
| tree | 56cf44b58fe929a4e1e6444ecafe3fe8912b0653 /Cargo.toml | |
| parent | 18c5c3fd34ceb8a1631f7766b69e407cf92e1a09 (diff) | |
Add workspace Cargo.toml and centralize crate metadata
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..916fc3b --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,49 @@ +[workspace] +resolver = "2" +members = ["mingling", "mingling_core", "mingling_macros", "mling"] +exclude = [ + "examples/example-async", + "examples/example-basic", + "examples/example-completion", + "examples/example-dispatch-tree", + "examples/example-exit-code", + "examples/example-general-renderer", + "examples/example-picker", + "dev_tools", +] + +[workspace.dependencies] +just_fmt = "0.1.2" +once_cell = "1.21.4" +thiserror = "2" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1" +serde_yaml = "0.9" +toml = "1.1.2" +ron = "0.12.1" +dirs = "6" +syn = { version = "2.0", features = ["full", "visit-mut"] } +quote = "1.0" +proc-macro2 = "1.0" +colored = "3.1.1" +tokio = { version = "1", features = ["full"] } +just_template = "0.1.3" +log = "0.4" +env_logger = "0.11" + +[workspace.package] +version = "0.1.8" +edition = "2024" +license = "MIT OR Apache-2.0" +repository = "https://github.com/catilgrass/mingling" + +[profile.dev] +opt-level = 0 +debug = true + +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 +panic = "abort" +strip = true |
