build: downgrade Tokio to 1.38 to fix Android compilation

This commit is contained in:
link2xt
2024-08-05 14:55:59 +00:00
parent 3c688360fb
commit 17eb85b9cd
2 changed files with 17 additions and 10 deletions

View File

@@ -177,7 +177,14 @@ serde_json = "1"
serde = "1.0"
tempfile = "3.10.1"
thiserror = "1"
tokio = "1.39.2"
# 1.38 is the latest version before `mio` dependency update
# that broke compilation with Android NDK r23c and r24.
# Version 1.39.0 cannot be compiled using these NDKs,
# see issue <https://github.com/tokio-rs/tokio/issues/6748>
# for details.
tokio = "~1.38.1"
tokio-util = "0.7.11"
tracing-subscriber = "0.3"
yerpc = "0.6.2"