Skip to content

Commit

Permalink
rpc: use tonic v0.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Dec 19, 2024
1 parent 324f151 commit caa43e9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ clap = "4.5.20"
opener = "0.7.2"
owo-colors = "4.1.0"
prost = "0.13.2"
tokio = {version = "1.36.0", features = ["full"]}
tonic = "0.12.2"
tonic-reflection = "0.12.2"
tonic-web = "0.12.2"
tokio = { version = "1.36.0", features = ["full"] }
tonic = "0.12.3"
tonic-reflection = "0.12.3"
tonic-web = "0.12.3"

[build-dependencies]
tonic-build = "0.12.2"
tonic-build = "0.12.3"
2 changes: 1 addition & 1 deletion cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.out_dir("src/api")
.file_descriptor_set_path("src/api/rockbox_descriptor.bin")
.compile(
.compile_protos(
&[
"proto/rockbox/v1alpha1/browse.proto",
"proto/rockbox/v1alpha1/library.proto",
Expand Down
6 changes: 3 additions & 3 deletions crates/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ sqlx = { version = "0.8.2", features = [
tantivy = "0.22.0"
tokio = { version = "1.36.0", features = ["full"] }
tokio-stream = "0.1.16"
tonic = "0.12.2"
tonic = "0.12.3"
tonic-reflection = "0.12.2"
tonic-web = "0.12.2"
tonic-web = "0.12.3"

[build-dependencies]
tonic-build = "0.12.2"
tonic-build = "0.12.3"
2 changes: 1 addition & 1 deletion crates/rpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.out_dir("src/api")
.file_descriptor_set_path("src/api/rockbox_descriptor.bin")
.compile(
.compile_protos(
&[
"proto/rockbox/v1alpha1/browse.proto",
"proto/rockbox/v1alpha1/device.proto",
Expand Down

0 comments on commit caa43e9

Please sign in to comment.