Skip to content

Commit

Permalink
update to 0.4.10 with #36 and dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hschimke committed Nov 6, 2023
1 parent 2664094 commit 3d8c4f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ exclude = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
regex = "1.9.0"
regex = "1.10"
fancy-regex = "0.11"
once_cell = "1.18"
encoding = "0.2"
urlencoding = "2.1.3"
uriparse = "0.6.4"
chrono = "0.4.26"
chrono = "0.4.31"
chrono-tz = "0.8"
image = {version = "0.24", optional = true}
imageproc = {version = "0.23", optional = true}
unicode-segmentation = "1.10"
codepage-437 = "0.1.0"
rxing-one-d-proc-derive = {version = "0.5", path ="./crates/one-d-proc-derive"}
num = "0.4.0"
svg = {version = "0.13", optional = true}
svg = {version = "0.14", optional = true}
resvg = {version = "0.35", optional = true, default-features=false}
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
thiserror = "1.0.44"
Expand All @@ -40,7 +40,7 @@ rand = "0.8.5"
criterion = "0.5"

[features]
default = ["image"]
default = ["image", "svg_write", "svg_read"]
#/// Enable features required for image manipulation and reading.
image = ["dep:image", "dep:imageproc"]

Expand Down
3 changes: 1 addition & 2 deletions src/datamatrix/encoder/high_level_encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,7 @@ pub fn determineConsecutiveDigitCount(msg: &str, startpos: u32) -> u32 {
let len = msg.chars().count(); //len();
let mut idx = startpos;
// let graphemes = msg.graphemes(true);
while (idx as usize) < len && isDigit(msg.chars().nth(idx as usize).unwrap_or_default())
{
while (idx as usize) < len && isDigit(msg.chars().nth(idx as usize).unwrap_or_default()) {
idx += 1;
}
idx - startpos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
* http://www.piramidepse.com/
*/


use crate::{Reader};
use crate::Reader;

use super::{test_case_util, RSSExpandedReader};

Expand Down

0 comments on commit 3d8c4f9

Please sign in to comment.