Skip to content

Commit

Permalink
bump tonic,prost
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Oct 3, 2024
1 parent 64f4807 commit afcd053
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ documentation = "https://docs.rs/crate/k8s-cri"
readme = "README.md"

[dependencies]
tonic = { version = "0.11"}
prost = "0.12"
tonic = { version = "0.12"}
prost = "0.13"
serde = { version = "1.0", features = ["derive"] }

[build-dependencies.tonic-build]
version = "0.11"
version = "0.12"
default-features = false
features = ["prost", "transport"]

Expand Down
4 changes: 2 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
fn main() {
tonic_build::configure()
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.compile(&["proto/v1.proto"], &["proto/"])
.compile_protos(&["proto/v1.proto"], &["proto/"])
.unwrap();

tonic_build::configure()
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
.compile(&["proto/v1alpha2.proto"], &["proto/"])
.compile_protos(&["proto/v1alpha2.proto"], &["proto/"])
.unwrap();
}

0 comments on commit afcd053

Please sign in to comment.