Patch quinn to work on android

This commit is contained in:
link2xt
2023-03-15 12:45:58 +00:00
parent cbc18ee5a4
commit 56f6d6849e
2 changed files with 5 additions and 5 deletions

8
Cargo.lock generated
View File

@@ -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]]

View File

@@ -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" }