fairly major reorganization and clippy cleanup

This commit is contained in:
Henry
2023-01-10 15:28:36 -06:00
parent 59183a5383
commit a32de48f34
42 changed files with 199 additions and 166 deletions

View File

@@ -1,11 +1,11 @@
mod bit_matrix_parser;
mod data_block;
mod decoder;
mod datamatrix_decoder;
mod version;
pub use bit_matrix_parser::*;
pub use data_block::*;
pub use decoder::*;
pub use datamatrix_decoder::*;
pub use version::*;
pub mod decoded_bit_stream_parser;

View File

@@ -1,4 +1,4 @@
mod datamatrix_detector;
mod datamatrix_result;
mod detector;
pub use datamatrix_detector::*;
pub use datamatrix_result::*;
pub use detector::*;

View File

@@ -1,5 +1,5 @@
mod datamatrix_encoder;
mod default_placement;
mod encoder;
mod encoder_context;
pub mod error_correction;
pub mod high_level_encoder;
@@ -7,8 +7,8 @@ pub mod minimal_encoder;
mod symbol_info;
mod symbol_shape_hint;
pub use datamatrix_encoder::*;
pub use default_placement::*;
pub use encoder::*;
pub use encoder_context::*;
pub use symbol_info::*;
pub use symbol_shape_hint::*;

View File

@@ -93,6 +93,7 @@ impl SymbolInfo {
)
}
#[allow(clippy::too_many_arguments)]
pub fn with_details(
rectangular: bool,
dataCapacity: u32,