keylime-agent-rust/rust-keylime-fix-metadata.diff
Sergio Correia 9ab97f2b94 Add keylime-agent-rust to RHEL 9
Resolves: rhbz#2084552
2022-06-23 12:42:09 -03:00

34 lines
1.2 KiB
Diff

diff --git a/Cargo.toml b/Cargo.toml
index 95bbfab..200fbc7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,25 +39,16 @@ serde_json = { version = "1.0", features = ["raw_value"] }
static_assertions = "1"
tempfile = "3.0.4"
tokio = {version = "1", features = ["full"]}
-tss-esapi = "7.0.0"
+tss-esapi = {version = "7.0.0", features = ["generate-bindings"]}
thiserror = "1.0"
uuid = {version = "0.8", features = ["v4"]}
-zmq = {version = "0.9.2", optional = true}
[dev-dependencies]
actix-rt = "2"
-wiremock = "0.5"
[features]
# The features enabled by default
-default = ["with-zmq", "legacy-python-actions"]
+# Removed default features to drop ZeroMQ and the need for the python shim
+default = []
# this should change to dev-dependencies when we have integration testing
testing = []
-# Whether the agent should be compiled with support to listen for notification
-# messages on ZeroMQ
-with-zmq = ["zmq"]
-# Whether the agent should be compiled with support for python revocation
-# actions loaded as modules, which is the only kind supported by the python
-# agent (unless the enhancement-55 is implemented). See:
-# https://github.com/keylime/enhancements/blob/master/55_revocation_actions_without_python.md
-legacy-python-actions = []