Blame SOURCES/rust-keylime-adjust-features.patch

13f0f6
--- a/Cargo.toml	2022-08-25 12:16:51.789234342 +0200
13f0f6
+++ b/Cargo.toml	2022-08-25 12:21:45.451435220 +0200
13f0f6
@@ -39,28 +39,13 @@
13f0f6
 static_assertions = "1"
13f0f6
 tempfile = "3.0.4"
13f0f6
 tokio = {version = "1.13.1", features = ["full"]}
13f0f6
-tss-esapi = "7.1.0"
13f0f6
+tss-esapi = {version="7.1.0", features = ["generate-bindings"]}
13f0f6
 thiserror = "1.0"
13f0f6
 uuid = {version = "0.8", features = ["v4"]}
13f0f6
-zmq = {version = "0.9.2", optional = true}
13f0f6
-# wiremock was moved to be a regular dependency because optional
13f0f6
-# dev-dependencies are not supported
13f0f6
-# see: https://github.com/rust-lang/cargo/issues/1596
13f0f6
-wiremock = {version = "0.5", optional = true}
13f0f6
 
13f0f6
 [dev-dependencies]
13f0f6
 actix-rt = "2"
13f0f6
 
13f0f6
 [features]
13f0f6
-# The features enabled by default
13f0f6
-default = ["with-zmq", "legacy-python-actions"]
13f0f6
-# this should change to dev-dependencies when we have integration testing
13f0f6
-testing = ["wiremock"]
13f0f6
-# Whether the agent should be compiled with support to listen for notification
13f0f6
-# messages on ZeroMQ
13f0f6
-with-zmq = ["zmq"]
13f0f6
-# Whether the agent should be compiled with support for python revocation
13f0f6
-# actions loaded as modules, which is the only kind supported by the python
13f0f6
-# agent (unless the enhancement-55 is implemented). See:
13f0f6
-# https://github.com/keylime/enhancements/blob/master/55_revocation_actions_without_python.md
13f0f6
-legacy-python-actions = []
13f0f6
+# Removed default features to drop ZeroMQ and the need for the python shim
13f0f6
+default = []