From 97fcb76618ae4acc7e75cbab7c121ca9c2b28909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hermann=20H=C3=B6hne?= Date: Mon, 16 Dec 2024 02:25:46 +0100 Subject: [PATCH] Work around https://github.com/jgraef/reqwest-websocket/issues/32. --- src/rust/Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index a49daf6..b48a159 100755 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -11,17 +11,19 @@ crate-type = ["staticlib"] # presage needs this, taken from https://github.com/whisperfish/presage/blob/8b9af8e/Cargo.toml [patch.crates-io] curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.3' } +reqwest-websocket = { git = 'https://github.com/jgraef/reqwest-websocket ', tag = 'v0.4.4'} # https://github.com/jgraef/reqwest-websocket/issues/32 [dependencies] presage = { git = "https://github.com/whisperfish/presage", rev = "8b9af8e" } presage-store-sled = { git = "https://github.com/whisperfish/presage", rev = "8b9af8e" } mime-sniffer = { git = "https://github.com/kamadorueda/rust-mime-sniffer"} -hex = "*" -chrono = "*" -mime_guess = "2.0" -#stdint = "0.2" +#stdint = "0.2" # TODO: find out how to use this for more reliable type widths +# these are taken from https://github.com/whisperfish/presage/blob/8b9af8e/presage-cli/Cargo.toml +chrono = { version = "0.4", default-features = false, features = ["serde", "clock"] } futures = "0.3" -tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "io-std", "io-util"] } +mime_guess = "2.0" +hex = "0.4" +tokio = { version = "1.35", features = ["macros", "rt-multi-thread", "io-std", "io-util"] } # https://github.com/johnthagen/min-sized-rust [profile.release]