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

a9875d
--- a/Cargo.toml	2022-09-20 19:02:10.657493126 +0200
a9875d
+++ b/Cargo.toml	2022-09-20 19:04:34.125273430 +0200
a9875d
@@ -42,28 +42,13 @@
13f0f6
 tempfile = "3.0.4"
13f0f6
 tokio = {version = "1.13.1", features = ["full"]}
a9875d
 toml = "0.5"
13f0f6
-tss-esapi = "7.1.0"
a9875d
+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 = []