test: refactor test

This commit is contained in:
Vincent Herlemont
2023-10-29 09:44:24 +01:00
parent 2f68d495c1
commit 1b3ae4f5f1
17 changed files with 138 additions and 481 deletions
+14 -1
View File
@@ -15,13 +15,26 @@
//!
//! See examples in the [README.md](https://github.com/vincent-herlemont/native_model) file.
#[cfg(any(
feature = "serde",
feature = "bincode_1_3",
feature = "bincode_2_rc",
feature = "postcard_1_0"
))]
mod codec;
#[cfg(any(
feature = "serde",
feature = "bincode_1_3",
feature = "bincode_2_rc",
feature = "postcard_1_0"
))]
pub use codec::*;
mod header;
mod model;
pub mod wrapper;
pub use codec::*;
pub use model::*;
/// Macro to generate a [`native_model`] implementation for a struct.