reorganized the directories

This commit is contained in:
Unisko PENG
2023-04-11 17:17:17 +08:00
parent a957d08fd7
commit 2aaae6f4d2
180 changed files with 3325 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
[package]
name = "derive_macro_comsumer"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hello_macro = { path = "../hello_macro" }
hello_macro_derive = { path = "../hello_macro/hello_macro_derive" }

View File

@@ -0,0 +1,9 @@
use hello_macro::HelloMacro;
use hello_macro_derive::HelloMacro;
#[derive(HelloMacro)]
struct Pancakes;
fn main() {
Pancakes::hello_macro();
}