summaryrefslogtreecommitdiff
path: root/systems/_asset/macros
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-02-24 12:37:59 +0800
committer魏曹先生 <1992414357@qq.com>2026-02-24 12:37:59 +0800
commit0ce73b208e46cdea247bf244363f669757a717ff (patch)
tree2df2d717288d90a509123caa5bc73434932448d7 /systems/_asset/macros
parent4e783771f6f728d75c83cf08836cb370389e0ff8 (diff)
Replace string_proc with just_fmt in _asset crate
Diffstat (limited to 'systems/_asset/macros')
-rw-r--r--systems/_asset/macros/Cargo.toml2
-rw-r--r--systems/_asset/macros/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/systems/_asset/macros/Cargo.toml b/systems/_asset/macros/Cargo.toml
index d4142f2..e096958 100644
--- a/systems/_asset/macros/Cargo.toml
+++ b/systems/_asset/macros/Cargo.toml
@@ -7,7 +7,7 @@ edition = "2024"
proc-macro = true
[dependencies]
-string_proc = { path = "../../../utils/string_proc" }
+just_fmt = "0.1"
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
diff --git a/systems/_asset/macros/src/lib.rs b/systems/_asset/macros/src/lib.rs
index 1535af0..e33c0f5 100644
--- a/systems/_asset/macros/src/lib.rs
+++ b/systems/_asset/macros/src/lib.rs
@@ -1,6 +1,6 @@
+use just_fmt::snake_case;
use proc_macro::TokenStream;
use quote::quote;
-use string_proc::snake_case;
use syn::parse_macro_input;
#[proc_macro_derive(RWDataTest)]