Skip to content

Commit 6e43737

Browse files
author
Juliette Pretot
authored
Remove tonic dep from remote_attestation crate by natively including protos (#2559)
This makes sense conceptually, as the remote_attestation crate is not tied to a specific protocol, whereas tonic is
1 parent 018b19a commit 6e43737

File tree

4 files changed

+7
-55
lines changed

4 files changed

+7
-55
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

oak_functions/loader/fuzz/Cargo.lock

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

remote_attestation/rust/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ring = "*"
1414
serde = { version = "*", features = ["derive"] }
1515
serde-big-array = { version = "*", features = ["const-generics"] }
1616
sha2 = "*"
17-
tonic = { version = "*", features = ["tls"] }
1817

1918
[build-dependencies]
2019
prost-build = "*"

remote_attestation/rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
pub mod proto {
1818
#![allow(clippy::return_self_not_must_use)]
19-
tonic::include_proto!("oak.remote_attestation");
19+
include!(concat!(env!("OUT_DIR"), "/oak.remote_attestation.rs"));
2020
}
2121

2222
pub mod crypto;

0 commit comments

Comments
 (0)