Skip to content

Commit 21afac9

Browse files
committed
feat: v1.10.1
1 parent 2652038 commit 21afac9

File tree

12 files changed

+25
-13
lines changed

12 files changed

+25
-13
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lombok-macros"
3-
version = "1.10.0"
3+
version = "1.10.1"
44
edition = "2024"
55
authors = ["ltpp-universe <root@ltpp.vip>"]
66
license = "MIT"

src/cfg/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
pub(crate) mod r#impl;
2-
pub(crate) mod r#type;
2+
pub(crate) mod r#struct;
3+
4+
pub(crate) use r#struct::*;

src/cfg/type.rs renamed to src/cfg/struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{func::r#type::FuncType, visibility::r#type::Visibility};
1+
use crate::{func::*, visibility::*};
22

33
/// Represents the configuration for function types, visibility, and skipping behavior.
44
///
File renamed without changes.

src/func/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
pub(crate) mod r#enum;
12
pub(crate) mod r#impl;
2-
pub(crate) mod r#type;
3+
4+
pub(crate) use r#enum::*;
File renamed without changes.

src/generate/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
pub(crate) mod r#const;
2-
pub(crate) mod func;
2+
pub(crate) mod r#fn;
3+
4+
pub(crate) use r#const::*;
5+
pub(crate) use r#fn::*;

src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ pub(crate) mod generate;
55
pub(crate) mod parse;
66
pub(crate) mod visibility;
77

8-
pub(crate) use cfg::r#type::*;
9-
pub(crate) use func::r#type::*;
10-
pub(crate) use generate::r#const::*;
11-
pub(crate) use generate::func::*;
12-
pub(crate) use parse::{r#const::*, func::*};
8+
pub(crate) use cfg::*;
9+
pub(crate) use func::*;
10+
pub(crate) use generate::*;
11+
pub(crate) use parse::*;
12+
pub(crate) use visibility::*;
13+
1314
pub(crate) use proc_macro::TokenStream as OldTokenStream;
1415
pub(crate) use proc_macro2::{TokenStream as NewTokenStream, TokenTree as NewTokenTree};
1516
pub(crate) use quote::{ToTokens, format_ident, quote};
@@ -22,7 +23,6 @@ pub(crate) use syn::{
2223
Type::{self},
2324
TypeParam, parse_macro_input,
2425
};
25-
pub(crate) use visibility::r#type::*;
2626

2727
/// This is an example of how to use the `Lombok` procedural macro with `get` and `set` attributes.
2828
///
File renamed without changes.

src/parse/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
pub(crate) mod r#const;
2-
pub(crate) mod func;
2+
pub(crate) mod r#fn;
3+
4+
pub(crate) use r#const::*;
5+
pub(crate) use r#fn::*;

0 commit comments

Comments
 (0)