From d26da39955b55c6f73e67a7a6e23373acb3edce1 Mon Sep 17 00:00:00 2001 From: naskya Date: Tue, 25 Jun 2024 16:30:52 +0900 Subject: [PATCH] add macros crate --- Cargo.lock | 4 ++++ Cargo.toml | 2 +- macros/Cargo.toml | 9 +++++++++ macros/src/lib.rs | 0 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 macros/Cargo.toml create mode 100644 macros/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 671748b..07ff39c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -883,6 +883,10 @@ version = "0.4.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +[[package]] +name = "macros" +version = "0.1.0" + [[package]] name = "md-5" version = "0.10.6" diff --git a/Cargo.toml b/Cargo.toml index 3f61d12..75d5f1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,3 @@ [workspace] -members = ["fishctl"] +members = ["fishctl", "macros"] resolver = "2" diff --git a/macros/Cargo.toml b/macros/Cargo.toml new file mode 100644 index 0000000..037231c --- /dev/null +++ b/macros/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "macros" +version = "0.1.0" +edition = "2021" +license = "MIT" +publish = false + +[lib] +proc-macro = true \ No newline at end of file diff --git a/macros/src/lib.rs b/macros/src/lib.rs new file mode 100644 index 0000000..e69de29