chore(deps): update dependencies and migrate to tonic-prost

- Replace tonic-build with tonic-prost-build in build dependencies
- Update clru from 0.6.3 to 0.6
- Update serde from 1.0.228 to 1.0
- Update gix from 0.84.0 to 0.84
- Update gix-archive from 0.33.0 to 0.33
- Update duct from 1.1.1 to 1.0
- Update tracing from 0.1.32 to 0.1
- Update tokio-stream from 0.1.18 to 0.1
- Update thiserror from 2.0.18 to 2.0
- Update prost from 0.13 to 0.14
- Update prost-types from 0.13 to 0.14
- Update tonic from 0.12 to 0.14 with transport feature
- Add tonic-prost dependency at version 0.14
- Update tonic-prost-build in build dependencies from 0.12 to 0.14
- Remove async-stream and async-stream-impl dependencies
- Update axum from 0.7.9 to 0.8.9
- Update various other transitive dependencies including getrandom, indexmap, hashbrown, socket2, log, matchit, petgraph, tower, and windows-sys related packages
This commit is contained in:
zhenyi
2026-06-04 18:07:17 +08:00
parent a815f63927
commit 5b740eecd7
3 changed files with 122 additions and 284 deletions
+13 -12
View File
@@ -16,18 +16,19 @@ documentation = ""
path = "lib.rs"
name = "gitks"
[dependencies]
clru = "0.6.3"
serde = { version = "1.0.228", features = ["derive"] }
gix = { version = "0.84.0", default-features = false, features = ["serde", "blame", "sha256", "sha1", "tracing", "merge", "max-performance-safe", "revision"] }
gix-archive = { version = "0.33.0", features = ["sha256","sha1","document-features"] }
duct = { version = "1.1.1", features = [] }
tracing = { version = "0.1.32", features = ["log"] }
clru = "0.6"
serde = { version = "1", features = ["derive"] }
gix = { version = "0.84", default-features = false, features = ["serde", "blame", "sha256", "sha1", "tracing", "merge", "max-performance-safe", "revision"] }
gix-archive = { version = "0.33", features = ["sha256","sha1","document-features"] }
duct = { version = "1", features = [] }
tracing = { version = "0.1", features = ["log"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "sync", "net"] }
tokio-stream = { version = "0.1.18", features = ["full"] }
thiserror = { version = "2.0.18", features = [] }
prost = "0.13"
prost-types = "0.13"
tonic = { version = "0.12", features = ["transport"] }
tokio-stream = { version = "0.1", features = ["full"] }
thiserror = { version = "2", features = [] }
prost = "0.14"
prost-types = "0.14"
tonic = { version = "0.14", features = ["transport"] }
tonic-prost = "0.14"
tempfile = "3"
dotenvy = "0.15"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
@@ -37,4 +38,4 @@ name = "gitks"
path = "main.rs"
[build-dependencies]
tonic-build = "0.12"
tonic-prost-build = "0.14"