From 1f1790a188db58b01e50804566d86265b919138b Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Thu, 15 Feb 2024 21:09:47 +0900 Subject: [PATCH] fix: update winnow to fix broken integer parsing Version 0.6 introduced a bug that caused the literal `0` not to be parsed as valid integer anymore. This was fixed with 0.6.1. --- Cargo.lock | 8 ++++---- crates/mabo-parser/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e831abb..00647a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -875,9 +875,9 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "num_threads" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" dependencies = [ "libc", ] @@ -1861,9 +1861,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1dbce9e90e5404c5a52ed82b1d13fc8cfbdad85033b6f57546ffd1265f8451" +checksum = "d90f4e0f530c4c69f62b80d839e9ef3855edc9cba471a160c4d692deed62b401" dependencies = [ "memchr", ] diff --git a/crates/mabo-parser/Cargo.toml b/crates/mabo-parser/Cargo.toml index c200bc7..1bac50a 100644 --- a/crates/mabo-parser/Cargo.toml +++ b/crates/mabo-parser/Cargo.toml @@ -17,7 +17,7 @@ anstream.workspace = true anstyle.workspace = true mabo-derive = { path = "../mabo-derive" } miette = { workspace = true, features = ["derive"] } -winnow = "0.6.0" +winnow = "0.6.1" [dev-dependencies] indoc.workspace = true