Skip to content

Commit ebe1dac

Browse files
committed
feat: v2.0.17
1 parent b9b6ee7 commit ebe1dac

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
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 = "2.0.16"
3+
version = "2.0.17"
44
readme = "README.md"
55
edition = "2024"
66
authors = ["root@ltpp.vip"]

src/lib.rs

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,29 @@ pub(crate) mod generate;
1111
pub(crate) mod parse;
1212
pub(crate) mod visibility;
1313

14-
pub(crate) use config::*;
15-
pub(crate) use func::*;
16-
pub(crate) use generate::*;
17-
pub(crate) use parse::*;
18-
pub(crate) use visibility::*;
14+
pub(crate) use {config::*, func::*, generate::*, parse::*, visibility::*};
1915

20-
pub(crate) use proc_macro::TokenStream;
21-
pub(crate) use proc_macro2::{
22-
Delimiter, TokenStream as TokenStream2, TokenTree as TokenTree2, token_stream::IntoIter,
16+
pub(crate) use {
17+
proc_macro::TokenStream,
18+
proc_macro2::{
19+
Delimiter, TokenStream as TokenStream2, TokenTree as TokenTree2, token_stream::IntoIter,
20+
},
21+
quote::{ToTokens, format_ident, quote},
22+
syn::{
23+
Data, DeriveInput, Field, Fields, GenericArgument,
24+
GenericParam::{self},
25+
Generics, Ident, Index, Lifetime, PathArguments,
26+
Type::{self},
27+
TypeParam, Variant, WhereClause, parse_macro_input,
28+
},
2329
};
24-
pub(crate) use quote::{ToTokens, format_ident, quote};
30+
2531
pub(crate) use std::{
2632
collections::HashMap,
2733
fmt::{Display, Formatter},
2834
iter::Peekable,
2935
str::FromStr,
3036
};
31-
pub(crate) use syn::{
32-
Data, DeriveInput, Field, Fields, GenericArgument,
33-
GenericParam::{self},
34-
Generics, Ident, Index, Lifetime, PathArguments,
35-
Type::{self},
36-
TypeParam, Variant, WhereClause, parse_macro_input,
37-
};
3837

3938
/// A procedural macro that automatically generates getter methods for struct and enum fields.
4039
///

0 commit comments

Comments
 (0)