musli/macros/
mod.rs

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
//! Helper macros for use with Musli.

#[cfg(any(
    feature = "storage",
    feature = "wire",
    feature = "descriptive",
    feature = "value"
))]
mod internal;
#[cfg(any(
    feature = "storage",
    feature = "wire",
    feature = "descriptive",
    feature = "value"
))]
pub(crate) use self::internal::{bare_encoding, encoding_impls};

#[cfg(all(
    feature = "test",
    any(
        feature = "storage",
        feature = "wire",
        feature = "descriptive",
        feature = "value"
    )
))]
mod test;
#[cfg(feature = "test")]
pub use self::test::{__test_extra, __test_matrix, assert_decode_eq, assert_roundtrip_eq, support};
#[cfg(feature = "test")]
pub(crate) use self::test::{test_fns, test_include_if};