From 6f3802fd9f39c4e5847d130b4417b5cdfb66972d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 22:53:09 +0900 Subject: refactor(console): add console_format! proc macro and migrate all commands Introduce a Symfony Console-style tag macro that replaces verbose patterns like `console::info(&format!("text {name}"))` with `console_format!("text {name}")`. Supports all 6 tag types (info, comment, error, question, highlight, warning) with format argument distribution across multiple tagged segments. Co-Authored-By: Claude Opus 4.6 --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index c2e7cc6..e17f8ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,12 +27,15 @@ filetime = "0.2.27" flate2 = "1.1.9" md5 = "0.7.0" predicates = "3.1.4" +proc-macro2 = "1.0.106" +quote = "1.0.44" regex = "1.12.3" reqwest = { version = "0.13.2", features = ["json"] } self-replace = "1.5.0" serde = { version = "1.0.228", features = ["derive"] } serde_json = "1.0.149" sha1 = "0.10.6" +syn = { version = "2.0.117", features = ["full", "parsing"] } tar = "0.4.44" tempfile = "3.25.0" tokio = { version = "1.49.0", features = ["full"] } -- cgit v1.3.1