Skip to content

Commit

Permalink
chore(deps): Update winnow
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Feb 3, 2025
1 parent 8ec5305 commit f3d94ad
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cached = { version = "0.54.0", features = [
camino = "1.1.9"
cfg-if = "1.0.0"
clap = { version = "4.5.27", features = ["derive"] }
clap_complete = "4.5.42"
clap_complete = "4.5.44"
clap_mangen = "0.2.26"
clru = "0.6.2"
color-eyre = "0.6.3"
Expand Down Expand Up @@ -73,7 +73,7 @@ rust-ini = "0.21.1"
scopeguard = "1.2.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_bytes = "0.11.15"
serde_json = "1.0.137"
serde_json = "1.0.138"
smallvec = { version = "1.13.2", features = [
"const_generics",
"const_new",
Expand All @@ -100,7 +100,7 @@ tracing-subscriber = { version = "0.3.19", features = [
"env-filter",
"parking_lot",
] }
winnow = { version = "0.6.24", features = ["simd"] }
winnow = { version = "0.7.1", features = ["simd"] }
xz2 = "0.1.7"
zstd = "0.13.2"

Expand Down
8 changes: 4 additions & 4 deletions crates/konfigkoll_script/src/plugins/passwd/sysusers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use compact_str::CompactString;
use winnow::ascii::dec_uint;
use winnow::ascii::escaped_transform;
use winnow::ascii::escaped;
use winnow::ascii::newline;
use winnow::ascii::space1;
use winnow::combinator::alt;
Expand Down Expand Up @@ -245,7 +245,7 @@ fn any_string(i: &mut &str) -> ModalResult<CompactString> {
fn single_quoted_string(i: &mut &str) -> ModalResult<CompactString> {
delimited(
'\'',
escaped_transform(take_till(1.., ['\'', '\\']), '\\', escapes),
escaped(take_till(1.., ['\'', '\\']), '\\', escapes),
'\'',
)
.map(|s: CompactStringWrapper| s.0)
Expand All @@ -256,7 +256,7 @@ fn single_quoted_string(i: &mut &str) -> ModalResult<CompactString> {
fn quoted_string(i: &mut &str) -> ModalResult<CompactString> {
delimited(
'"',
escaped_transform(take_till(1.., ['"', '\\']), '\\', escapes),
escaped(take_till(1.., ['"', '\\']), '\\', escapes),
'"',
)
.map(|s: CompactStringWrapper| s.0)
Expand All @@ -265,7 +265,7 @@ fn quoted_string(i: &mut &str) -> ModalResult<CompactString> {

/// Unquoted string value
fn unquoted_string_with_escapes(i: &mut &str) -> ModalResult<CompactString> {
escaped_transform(take_till(1.., [' ', '\t', '\n', '\r', '\\']), '\\', escapes)
escaped(take_till(1.., [' ', '\t', '\n', '\r', '\\']), '\\', escapes)
.map(|s: CompactStringWrapper| s.0)
.parse_next(i)
}
Expand Down
6 changes: 3 additions & 3 deletions crates/systemd_tmpfiles/src/parser/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::Id;
use crate::Mode;
use compact_str::CompactString;
use winnow::ascii::digit1;
use winnow::ascii::escaped_transform;
use winnow::ascii::escaped;
use winnow::ascii::newline;
use winnow::ascii::space1;
use winnow::combinator::alt;
Expand Down Expand Up @@ -172,7 +172,7 @@ fn any_string(i: &mut &str) -> ModalResult<CompactString> {
fn quoted_string(i: &mut &str) -> ModalResult<CompactString> {
delimited(
'"',
escaped_transform(take_till(1.., ['"', '\\']), '\\', escapes),
escaped(take_till(1.., ['"', '\\']), '\\', escapes),
'"',
)
.map(|s: CompactStringWrapper| s.0)
Expand All @@ -181,7 +181,7 @@ fn quoted_string(i: &mut &str) -> ModalResult<CompactString> {

/// Unquoted string value
fn unquoted_string_with_escapes(i: &mut &str) -> ModalResult<CompactString> {
escaped_transform(take_till(1.., [' ', '\t', '\n', '\r', '\\']), '\\', escapes)
escaped(take_till(1.., [' ', '\t', '\n', '\r', '\\']), '\\', escapes)
.map(|s: CompactStringWrapper| s.0)
.parse_next(i)
}
Expand Down

0 comments on commit f3d94ad

Please sign in to comment.