1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#[cfg(any(feature = "derive", feature = "full"))]
mod attribute;
mod ident;
#[cfg(feature = "full")]
mod item;
#[cfg(any(feature = "derive", feature = "full"))]
mod meta;
mod path;
mod punctuated;
mod shared;
#[cfg(test)]
#[macro_use]
mod test;
pub mod ext {
mod basic {
pub use crate::ident::GetIdent;
pub use crate::punctuated::PunctuatedExt;
}
#[cfg(any(feature = "derive", feature = "full"))]
mod derive {
#[cfg(any(feature = "parsing"))]
pub use crate::attribute::{AttributeExt, AttributeIteratorExt};
#[cfg(any(feature = "parsing"))]
pub use crate::meta::MetaAttributeExt;
pub use crate::meta::{
MetaExt, MetaIteratorExt, NestedMetaIteratorExt, NestedMetaRefIteratorExt,
};
pub use crate::path::GetPath;
}
#[cfg(feature = "full")]
mod full {
pub use crate::item::{ItemAttrExt, ItemLike, ItemModExt};
}
pub use basic::*;
#[cfg(any(feature = "derive", feature = "full"))]
pub use derive::*;
#[cfg(feature = "full")]
pub use full::*;
}
pub mod types {
#[cfg(any(feature = "derive", feature = "full"))]
pub use crate::meta::PunctuatedNestedMeta;
}