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

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