From 68a652ed2f51d366bb8033497e6dfe545895410e Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 23 Jul 2026 08:08:33 +0800 Subject: feat: scaffold crate structure and implement core macros Add the project skeleton, LICENSE files, README, Makefile, doc examples, and the initial implementation of `#[func]`, `invoke!`, and `select!` procedural macros. --- doc/usage/func.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/usage/func.rs (limited to 'doc/usage/func.rs') diff --git a/doc/usage/func.rs b/doc/usage/func.rs new file mode 100644 index 0000000..f407019 --- /dev/null +++ b/doc/usage/func.rs @@ -0,0 +1,4 @@ +#[func] +pub fn greet(name: &str) -> String { + "Hello, {name}!".to_string() +} -- cgit