mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-11-10 14:09:49 -05:00
bump versions of blake3, nom, tokio-tungstenite
This commit is contained in:
@@ -18,7 +18,7 @@ lazy_static = "1.0"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
parking_lot = { version = "0.11.1", features = [] }
|
||||
nom = "6.0.0"
|
||||
nom = "7.0.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
time = "0.1"
|
||||
|
||||
@@ -53,9 +53,11 @@ fn decode_sizepart(input: &str) -> IResult<&str, i64> {
|
||||
}
|
||||
|
||||
fn decode_size_internal(input: &str) -> IResult<&str, i64> {
|
||||
nom::multi::fold_many1(delimited(space0, decode_sizepart, space0), 0, |sum, i| {
|
||||
sum + i
|
||||
})(input)
|
||||
nom::multi::fold_many1(
|
||||
delimited(space0, decode_sizepart, space0),
|
||||
|| 0,
|
||||
|sum, i| sum + i,
|
||||
)(input)
|
||||
}
|
||||
|
||||
/// Decodes a human-readable size as output by encode_size.
|
||||
|
||||
Reference in New Issue
Block a user