mirror of
https://github.com/eigenein/wotbreplay-parser.git
synced 2026-10-24 11:49:48 +02:00
Break: refactor the models
This commit is contained in:
1 parent
583ca024fc
commit
21206737c0
8 files changed
+83
-37
No files matched your search
+24
@@ -1,3 +1,15 @@
|
||||
//! World of Tanks Blitz replay parser.
|
||||
|
||||
#![warn(
|
||||
clippy::all,
|
||||
clippy::missing_const_for_fn,
|
||||
clippy::trivially_copy_pass_by_ref,
|
||||
clippy::map_unwrap_or,
|
||||
clippy::explicit_into_iter_loop,
|
||||
clippy::unused_self,
|
||||
clippy::needless_pass_by_value
|
||||
)]
|
||||
|
||||
mod error;
|
||||
pub mod models;
|
||||
mod replay;
|
||||
@@ -6,3 +18,15 @@ mod result;
|
||||
pub use crate::error::Error;
|
||||
pub use crate::replay::Replay;
|
||||
pub use crate::result::Result;
|
||||
|
||||
#[cfg(doctest)]
|
||||
mod test_readme {
|
||||
macro_rules! external_doc_test {
|
||||
($x:expr) => {
|
||||
#[doc = $x]
|
||||
extern "C" {}
|
||||
};
|
||||
}
|
||||
|
||||
external_doc_test!(include_str!("../README.md"));
|
||||
}
|
||||
Reference in new issue
Block a user