Fixes to deal with internet connection drop.

This commit is contained in:
2026-09-26 16:46:23 +02:00
parent ab67f69b21
commit cc9300acfe
3 changed files with 218 additions and 336 deletions
+19 -10
View File
@@ -1,6 +1,6 @@
[package]
name = "nyash_client"
version = "0.2.0"
version = "0.2.1"
edition = "2024"
build = "build.rs"
@@ -9,17 +9,26 @@ name = "nyash-client"
path = "src/client.rs"
[dependencies]
flate2 = "1.1.9"
flate2 = "1"
ocl = { version = "0.19" }
prost = "0.14.3"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.50.0", features = ["rt", "macros", "signal"] }
tonic = "0.14.5"
tonic-prost = "0.14.5"
prost = "0.14"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt", "macros", "signal"] }
tonic = "0.14"
tonic-prost = "0.14"
[build-dependencies]
tonic-prost-build = "0.14.5"
tonic-prost-build = "0.14"
ocl-include = "0.6"
flate2 = "1.1.9"
flate2 = "1"
[profile.release]
lto = true
debug = false
incremental = false
codegen-units = 1
opt-level = 3
strip = true