diff --git a/projects/catculator/Cargo.lock b/projects/catculator/Cargo.lock index 40fa396..ba3329a 100644 --- a/projects/catculator/Cargo.lock +++ b/projects/catculator/Cargo.lock @@ -32,6 +32,19 @@ dependencies = [ "memchr", ] +[[package]] +name = "async-compression" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa" +dependencies = [ + "flate2", + "futures-core", + "memchr", + "pin-project-lite", + "tokio", +] + [[package]] name = "async-stream" version = "0.3.5" @@ -1249,6 +1262,7 @@ version = "0.12.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63" dependencies = [ + "async-compression", "base64", "bytes", "futures-channel", @@ -1275,6 +1289,7 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-native-tls", + "tokio-util", "tower-service", "url", "wasm-bindgen", diff --git a/projects/catculator/Cargo.toml b/projects/catculator/Cargo.toml index 60eb178..d493dbc 100644 --- a/projects/catculator/Cargo.toml +++ b/projects/catculator/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] jni = "0.21.1" lofty = "0.21.1" -reqwest = { version = "0.12.7", features = ["blocking", "native-tls-vendored"], default-features = false } +reqwest = { version = "0.12.7", features = ["blocking", "gzip", "json", "native-tls-alpn", "native-tls-vendored"], default-features = false } rocket = "0.5.1" tokio = "1.40.0"