seferize_core 1.4.5

Core of the proc-macro seferize.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[allow(unused)]
#[seferize_base::stringify("ORIGINAL_STRUCT_MOD_SAMPLE")]
pub mod original {
    pub struct MyStruct {
        pub field_1: usize,
        pub field_2: String,
    }
}
#[allow(unused)]
#[seferize_base::stringify("EXPECTED_STRUCT_MOD_SAMPLE")]
pub mod expected {
    pub const MY_STRUCT: &'static str = "pub struct MyStruct{pub field_1:usize,pub field_2:String,}";
    pub struct MyStruct {
        pub field_1: usize,
        pub field_2: String,
    }
}