Use patched reqwest with multipart-headers support

This commit is contained in:
bitfl0wer 2023-11-13 17:34:16 +01:00
parent 1b7450366f
commit 641abe8ba6
2 changed files with 7 additions and 5 deletions

7
Cargo.lock generated
View File

@ -815,9 +815,9 @@ dependencies = [
[[package]] [[package]]
name = "http" name = "http"
version = "0.2.10" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f95b9abcae896730d42b78e09c155ed4ddf82c07b4de772c64aee5b2d8b7c150" checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb"
dependencies = [ dependencies = [
"bytes", "bytes",
"fnv", "fnv",
@ -1532,8 +1532,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]] [[package]]
name = "reqwest" name = "reqwest"
version = "0.11.22" version = "0.11.22"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/bitfl0wer/reqwest.git?branch=wasm-headers#4ab344a7a074ee2cebc3b0c1a9bee6f0337b8f1c"
checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b"
dependencies = [ dependencies = [
"base64 0.21.5", "base64 0.21.5",
"bytes", "bytes",

View File

@ -24,7 +24,10 @@ serde_json = { version = "1.0.105", features = ["raw_value"] }
serde-aux = "4.2.0" serde-aux = "4.2.0"
serde_with = "3.3.0" serde_with = "3.3.0"
serde_repr = "0.1.16" serde_repr = "0.1.16"
reqwest = { version = "0.11.20", features = ["multipart", "json"] } reqwest = { git = "https://github.com/bitfl0wer/reqwest.git", branch = "wasm-headers", features = [
"multipart",
"json",
] }
url = "2.4.0" url = "2.4.0"
chrono = { version = "0.4.26", features = ["serde"] } chrono = { version = "0.4.26", features = ["serde"] }
regex = "1.9.4" regex = "1.9.4"