Skip to content

Commit 6dd8a7b

Browse files
author
Juliette Pretot
committed
Move sessions logic into its own crate
remove unused deps format oak-prefix crate name for consistency fix typo
1 parent 8cc80a6 commit 6dd8a7b

File tree

6 files changed

+3
-100
lines changed

6 files changed

+3
-100
lines changed

Cargo.lock

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

grpc_unary_attestation/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tokio = { version = "*", features = [
2020
"sync",
2121
"rt-multi-thread"
2222
] }
23+
oak_utils = { path = "../oak_utils" }
2324
tonic = "*"
2425
tower = "*"
2526
rand = "*"

grpc_unary_attestation/src/client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
use crate::proto::{unary_session_client::UnarySessionClient, UnaryRequest};
1818
use anyhow::Context;
1919
use oak_functions_abi;
20-
use oak_remote_attestation::{
21-
handshaker::{AttestationBehavior, ClientHandshaker, Encryptor, ServerIdentityVerifier},
22-
sessions::SessionId,
20+
use oak_remote_attestation::handshaker::{
21+
AttestationBehavior, ClientHandshaker, Encryptor, ServerIdentityVerifier,
2322
};
2423
use oak_remote_attestation_sessions::SessionId;
2524
use tonic::transport::Channel;

remote_attestation/rust/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ bytes = { version = "*", default-features = false }
1515
log = "*"
1616
prost = { version = "*", default-features = false, features = ["prost-derive"] }
1717
ring = { path = "../../third_party/ring", default-features = false }
18-
lru = "*"
19-
oak_utils = { path = "../../oak_utils"}
2018

2119
[build-dependencies]
2220
prost-build = "*"

remote_attestation/rust/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ pub mod crypto;
2727
pub mod handshaker;
2828
pub mod message;
2929
pub mod report;
30-
pub mod sessions;
3130
#[cfg(test)]
3231
mod tests;

remote_attestation/rust/src/sessions.rs

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)