mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-25 20:02: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
|
#/// Adds otsu binarizer support using imageproc
|
||||||
otsu_level = ["image"]
|
otsu_level = ["image"]
|
||||||
|
|
||||||
|
#/// Adds "client" features do decode many common data formats found in barcodes
|
||||||
|
client_support = []
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"crates/one-d-proc-derive",
|
"crates/one-d-proc-derive",
|
||||||
|
|||||||
@@ -2,12 +2,15 @@
|
|||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
|
||||||
pub mod aztec;
|
pub mod aztec;
|
||||||
pub mod client;
|
|
||||||
pub mod common;
|
pub mod common;
|
||||||
mod exceptions;
|
mod exceptions;
|
||||||
pub mod maxicode;
|
pub mod maxicode;
|
||||||
pub mod qrcode;
|
pub mod qrcode;
|
||||||
|
|
||||||
|
#[cfg(feature = "client_support")]
|
||||||
|
pub mod client;
|
||||||
|
|
||||||
use std::{collections::HashMap, rc::Rc};
|
use std::{collections::HashMap, rc::Rc};
|
||||||
|
|
||||||
pub use exceptions::Exceptions;
|
pub use exceptions::Exceptions;
|
||||||
|
|||||||
Reference in New Issue
Block a user