feat: conditional metrics for engine-montgomery in miner-service cargo

features
This commit is contained in:
rob thijssen
2025-09-10 23:36:56 +08:00
parent 8b758492c1
commit 11839c07b2
+1 -1
View File
@@ -10,7 +10,7 @@ default = ["cpu", "metrics", "montgomery"]
# Enable CPU engine by default.
cpu = ["engine-cpu"]
# Optional metrics/observability (Prometheus endpoint).
metrics = ["dep:metrics", "metrics/http-exporter"]
metrics = ["dep:metrics", "metrics/http-exporter", "engine-montgomery?/metrics"]
# Optional GPU backends (off by default).
cuda = ["engine-gpu-cuda"]
opencl = ["engine-gpu-opencl"]