1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

refactor: switch size parsing to bytesize crate

This commit is contained in:
Rob Ede
2025-03-21 06:06:50 +00:00
parent ab18efe0ac
commit 95b6a81f43
9 changed files with 31 additions and 23 deletions

24
Cargo.lock generated
View File

@ -200,11 +200,11 @@ version = "0.7.0"
dependencies = [
"actix-multipart",
"actix-web",
"bytesize",
"darling",
"parse-size",
"proc-macro2",
"quote",
"rustversion",
"rustversion-msrv",
"syn",
"trybuild",
]
@ -437,7 +437,7 @@ dependencies = [
"futures-core",
"proc-macro2",
"quote",
"rustversion",
"rustversion-msrv",
"syn",
"trybuild",
]
@ -793,6 +793,12 @@ version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]]
name = "bytesize"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3c8f83209414aacf0eeae3cf730b18d6981697fba62f200fcfb92b9f082acba"
[[package]]
name = "bytestring"
version = "1.4.0"
@ -2218,12 +2224,6 @@ dependencies = [
"windows-targets 0.52.6",
]
[[package]]
name = "parse-size"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "487f2ccd1e17ce8c1bfab3a65c89525af41cfad4c8659021a1e9a2aacd73b89b"
[[package]]
name = "pem"
version = "3.0.5"
@ -2715,6 +2715,12 @@ version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
[[package]]
name = "rustversion-msrv"
version = "0.100.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6ceb60223ee771fb5dfe462e29e5ee92bca9a7b9c555584f4d361045dae0e12"
[[package]]
name = "ryu"
version = "1.0.20"