60 lines
1.7 KiB
Diff
60 lines
1.7 KiB
Diff
From 45401917ccabca38112fb4be23193f5230e90867 Mon Sep 17 00:00:00 2001
|
|
From: Uri Lublin <uril@redhat.com>
|
|
Date: Tue, 10 Dec 2024 01:38:24 +0200
|
|
Subject: [PATCH] Fedora: remove ttrpc dependency
|
|
Content-type: text/plain
|
|
|
|
Not required and not in Fedora
|
|
|
|
Signed-off-by: Uri Lublin <uril@redhat.com>
|
|
---
|
|
Cargo.toml | 2 --
|
|
attestation-agent/kbs_protocol/Cargo.toml | 4 +---
|
|
2 files changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/Cargo.toml b/Cargo.toml
|
|
index db72ef9..e7dc965 100644
|
|
--- a/Cargo.toml
|
|
+++ b/Cargo.toml
|
|
@@ -48,8 +48,6 @@ tokio = "1.42"
|
|
toml = "0.8.19"
|
|
tonic = "0.12"
|
|
tonic-build = "0.12"
|
|
-ttrpc = "0.8.2"
|
|
-ttrpc-codegen = "0.4.2"
|
|
url = "2.5.4"
|
|
uuid = "1"
|
|
zeroize = "1.5.7"
|
|
diff --git a/attestation-agent/kbs_protocol/Cargo.toml b/attestation-agent/kbs_protocol/Cargo.toml
|
|
index d012487..ab86141 100644
|
|
--- a/attestation-agent/kbs_protocol/Cargo.toml
|
|
+++ b/attestation-agent/kbs_protocol/Cargo.toml
|
|
@@ -23,7 +23,6 @@ serde_json.workspace = true
|
|
sha2.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
-ttrpc = { workspace = true, optional = true}
|
|
url.workspace = true
|
|
zeroize.workspace = true
|
|
|
|
@@ -35,7 +34,6 @@ testcontainers.workspace = true
|
|
tokio = { workspace = true, features = [ "rt", "macros", "fs", "process" ]}
|
|
|
|
[build-dependencies]
|
|
-ttrpc-codegen = { workspace = true, optional = true }
|
|
|
|
[[bin]]
|
|
name = "trustee-attester"
|
|
@@ -46,7 +44,7 @@ default = ["background_check", "passport", "rust-crypto", "all-attesters"]
|
|
|
|
passport = []
|
|
# use a client of attestation-agent to get token for kbs
|
|
-aa_token = ["ttrpc-codegen", "passport", "ttrpc/async", "protobuf"]
|
|
+aa_token = []
|
|
|
|
background_check = ["tokio/time"]
|
|
all-attesters = ["attester/all-attesters"]
|
|
--
|
|
2.47.1
|
|
|