From 58a2c77dace3091fda4ba3903f700b8e928f90c1 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 6 Oct 2025 17:20:31 +0800 Subject: feat: add examples demonstrating action system usage - Create examples workspace member - Add example_action_system binary showcasing macro usage - Demonstrate action registration and processing workflow --- examples/Cargo.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 examples/Cargo.toml (limited to 'examples/Cargo.toml') diff --git a/examples/Cargo.toml b/examples/Cargo.toml new file mode 100644 index 0000000..3a6cee2 --- /dev/null +++ b/examples/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "examples" +edition = "2024" +version.workspace = true + +[[bin]] +name = "example_action_system" +path = "src/bin/example_action_system.rs" + +[dependencies] + +# Utils +tcp_connection = { path = "../crates/utils/tcp_connection" } +cfg_file = { path = "../crates/utils/cfg_file", features = ["default"] } +string_proc = { path = "../crates/utils/string_proc" } + +# Core +action_system = { path = "../crates/system_action" } + +# Async & Networking +tokio = { version = "1.46.1", features = ["full"] } -- cgit