Skip to content

Commit aa0b522

Browse files
committed
fix(build): adjust build with newer dependencies
1 parent 3291d4c commit aa0b522

4 files changed

Lines changed: 86 additions & 20 deletions

File tree

Cargo.lock

Lines changed: 81 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ tokio = { version = "1.40.0", default-features = false, features = [
3535
] }
3636
tokio-stream = "0.1.17"
3737
tonic = { version = "0.14.0", features = ["tls-ring"] }
38-
tonic-build = "0.14.0"
38+
tonic-prost = "0.14.0"
39+
tonic-prost-build = "0.14.0"
3940
uuid = { version = "1.17.0", features = ["v4"] }
4041
which = { version = "8.0.0", default-features = false }
4142
bindgen = "0.72.0"

fact-api/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ license.workspace = true
99

1010
[dependencies]
1111
tonic = { workspace = true }
12+
tonic-prost = { workspace = true }
1213
tokio = { workspace = true }
1314
prost = { workspace = true }
1415
prost-types = { workspace = true }
1516

1617
[build-dependencies]
1718
anyhow = { workspace = true }
18-
tonic-build = { workspace = true }
19+
tonic-prost-build = { workspace = true }

fact-api/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use anyhow::Context;
22

33
fn main() -> anyhow::Result<()> {
4-
tonic_build::configure()
4+
tonic_prost_build::configure()
55
.build_server(false)
66
.compile_protos(
77
&["../third_party/stackrox/proto/internalapi/sensor/sfa_iservice.proto"],

0 commit comments

Comments
 (0)