mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
feat: move client decode library into a feature
breaking change: Client features must be be built specificially and are not included by default.
This commit is contained in:
@@ -66,6 +66,9 @@ serde = ["dep:serde"]
|
||||
#/// Adds otsu binarizer support using imageproc
|
||||
otsu_level = ["image"]
|
||||
|
||||
#/// Adds "client" features do decode many common data formats found in barcodes
|
||||
client_support = []
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
"crates/one-d-proc-derive",
|
||||
|
||||
@@ -2,12 +2,15 @@
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
pub mod aztec;
|
||||
pub mod client;
|
||||
|
||||
pub mod common;
|
||||
mod exceptions;
|
||||
pub mod maxicode;
|
||||
pub mod qrcode;
|
||||
|
||||
#[cfg(feature = "client_support")]
|
||||
pub mod client;
|
||||
|
||||
use std::{collections::HashMap, rc::Rc};
|
||||
|
||||
pub use exceptions::Exceptions;
|
||||
|
||||
Reference in New Issue
Block a user