Make the output distribution cache only available under a feature

Enables a mode with reduced memory usage *and* increased safety given current
unsafety of the cache.

Relevant to https://github.com/serai-dex/serai/issues/415.
This commit is contained in:
Luke Parker
2023-11-13 00:17:58 -05:00
parent 351436a258
commit 3f7bdaa64b
2 changed files with 16 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ std = [
"monero-generators/std",
"futures/std",
"futures?/std",
"hex/std",
"serde/std",
@@ -100,6 +100,7 @@ std = [
"base58-monero/std",
]
cache-distribution = ["futures"]
http-rpc = ["digest_auth", "simple-request", "tokio"]
multisig = ["transcript", "frost", "dleq", "std"]
binaries = ["tokio/rt-multi-thread", "tokio/macros", "http-rpc"]