From 9d1f22fbe7b44c081cff0f7bc82088c9fe3027ed Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 12 Oct 2025 18:16:53 +0800 Subject: chore: Update Cargo.lock with new dependencies --- Cargo.lock | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index bad00f8..247815e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9,6 +9,7 @@ dependencies = [ "action_system_macros", "serde", "tcp_connection", + "tokio", ] [[package]] @@ -1387,8 +1388,13 @@ version = "0.1.0" dependencies = [ "action_system", "cfg_file", + "log", + "serde", + "serde_json", "string_proc", "tcp_connection", + "thiserror 1.0.69", + "tokio", "vcs_data", ] -- cgit From 860fb317bca61ce66a2c98df933aa666dae0a43f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 13 Oct 2025 11:17:00 +0800 Subject: feat: Add JSON-based action invocation to ActionPool - Extend action_gen macro to generate JSON serialization logic - Implement generic action processing using JSON text for type-agnostic calls - Add callback mechanism with action name and arguments in ActionPool - Update client and server registries to use new callback system - Improve action system flexibility at the cost of serialization overhead --- Cargo.lock | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 247815e..b7911b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8,6 +8,7 @@ version = "0.1.0" dependencies = [ "action_system_macros", "serde", + "serde_json", "tcp_connection", "tokio", ] @@ -18,6 +19,8 @@ version = "0.1.0" dependencies = [ "proc-macro2", "quote", + "serde", + "serde_json", "string_proc", "syn", "tcp_connection", @@ -419,6 +422,8 @@ version = "0.1.0" dependencies = [ "action_system", "cfg_file", + "serde", + "serde_json", "string_proc", "tcp_connection", "tokio", -- cgit