From a2576cefc4601074179b885e4d10559f158decd2 Mon Sep 17 00:00:00 2001 From: Stephen Leitnick Date: Thu, 28 Mar 2024 14:52:41 -0400 Subject: [PATCH] Add charset feature --- Cargo.lock | 10 ++++++++++ Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 7f7a238..a2c5b8d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,6 +209,15 @@ dependencies = [ "crypto-common", ] +[[package]] +name = "encoding_rs" +version = "0.8.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" +dependencies = [ + "cfg-if", +] + [[package]] name = "equivalent" version = "1.0.1" @@ -680,6 +689,7 @@ checksum = "2d66674f2b6fb864665eea7a3c1ac4e3dfacd2fda83cf6f935a612e01b0e3338" dependencies = [ "base64 0.21.7", "bytes", + "encoding_rs", "futures-core", "futures-util", "h2", diff --git a/Cargo.toml b/Cargo.toml index bdfbcd9..622b3aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1.0.81" base64 = "0.22.0" clap = { version = "4.5.4", features = ["derive", "env"] } md-5 = "0.10.6" -reqwest = { version = "0.12.2", default-features = false, features = ["rustls-tls", "http2", "json", "multipart"] } +reqwest = { version = "0.12.2", default-features = false, features = ["rustls-tls", "http2", "charset", "json", "multipart"] } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" tokio = { version = "1.36.0", features = ["full"] }