summaryrefslogtreecommitdiff
path: root/rust-keylime-adjust-features.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rust-keylime-adjust-features.patch')
-rw-r--r--rust-keylime-adjust-features.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/rust-keylime-adjust-features.patch b/rust-keylime-adjust-features.patch
new file mode 100644
index 0000000..6822950
--- /dev/null
+++ b/rust-keylime-adjust-features.patch
@@ -0,0 +1,35 @@
+--- a/keylime-agent/Cargo.toml 2023-05-25 11:34:50.849496112 +0200
++++ b/keylime-agent/Cargo.toml 2023-05-25 11:35:38.163793600 +0200
+@@ -34,11 +34,6 @@
+ tss-esapi = {version = "7.2.0", features = ["generate-bindings"]}
+ thiserror = "1.0"
+ uuid = {version = "1.3", features = ["v4"]}
+-zmq = {version = "0.9.2", optional = true}
+-# wiremock was moved to be a regular dependency because optional
+-# dev-dependencies are not supported
+-# see: https://github.com/rust-lang/cargo/issues/1596
+-wiremock = {version = "0.5", optional = true}
+
+ [dev-dependencies]
+ actix-rt = "2"
+@@ -46,20 +41,6 @@
+ [features]
+ # The features enabled by default
+ default = []
+-# this should change to dev-dependencies when we have integration testing
+-testing = ["wiremock"]
+-# Whether the agent should be compiled with support to listen for notification
+-# messages on ZeroMQ
+-#
+-# This feature is deprecated and will be removed on next major release
+-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
+-#
+-# This feature is deprecated and will be removed on next major release
+-legacy-python-actions = []
+
+ [package.metadata.deb]
+ section = "net"