From 0ce73b208e46cdea247bf244363f669757a717ff Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 24 Feb 2026 12:37:59 +0800 Subject: Replace string_proc with just_fmt in _asset crate --- systems/_asset/macros/Cargo.toml | 2 +- systems/_asset/macros/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'systems/_asset/macros') 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)] -- cgit