From 56f6d6849e355216982a6356db971a6b93347dad Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 15 Mar 2023 12:45:58 +0000 Subject: [PATCH] Patch quinn to work on android --- Cargo.lock | 8 +++----- Cargo.toml | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5af501a89..b2c2e3f5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3558,8 +3558,7 @@ dependencies = [ [[package]] name = "quinn-proto" version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4ced82a24bb281af338b9e8f94429b6eca01b4e66d899f40031f074e74c9" +source = "git+https://github.com/link2xt/quinn?branch=android-no-tos#e67136966a4010564bd85861177029765a9ea811" dependencies = [ "bytes", "rand 0.8.5", @@ -3577,14 +3576,13 @@ dependencies = [ [[package]] name = "quinn-udp" version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +source = "git+https://github.com/link2xt/quinn?branch=android-no-tos#e67136966a4010564bd85861177029765a9ea811" dependencies = [ "libc", "quinn-proto", "socket2", "tracing", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 41cae54b5..2cdf1b08c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,8 @@ opt-level = "z" [patch.crates-io] default-net = { git = "https://github.com/dignifiedquire/default-net.git", branch="feat-android" } +quinn-udp = { git = "https://github.com/link2xt/quinn", branch="android-no-tos" } +quinn-proto = { git = "https://github.com/link2xt/quinn", branch="android-no-tos" } [dependencies] deltachat_derive = { path = "./deltachat_derive" }