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
+1 -1
View File
@@ -16,7 +16,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rerun-if-changed={}", proto_dir.display());
println!("cargo:rerun-if-changed=build.rs");
tonic_build::configure()
tonic_prost_build::configure()
.build_client(true)
.build_server(true)
.emit_rerun_if_changed(false)