refactor: uniformize project naming
This commit is contained in:
parent
3b134cdb6c
commit
3977e08084
13 changed files with 40 additions and 30 deletions
10
lib/sqlxgentools_attrs/Cargo.toml
Normal file
10
lib/sqlxgentools_attrs/Cargo.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[package]
|
||||
name = "sqlxgentools_attrs"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
attribute-derive = "0.10.3"
|
||||
proc-macro2 = "1.0.92"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
13
lib/sqlxgentools_attrs/src/lib.rs
Normal file
13
lib/sqlxgentools_attrs/src/lib.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use proc_macro::TokenStream;
|
||||
|
||||
#[proc_macro_attribute]
|
||||
pub fn sql_generator_model(_attr: TokenStream, item: TokenStream) -> TokenStream {
|
||||
item
|
||||
}
|
||||
|
||||
#[proc_macro_derive(SqlGeneratorDerive, attributes(sql_generator_field))]
|
||||
pub fn sql_generator_field(_item: TokenStream) -> TokenStream {
|
||||
TokenStream::new()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue