Stub binaries' code when features binaries is not set

Allows running `cargo build` in monero-serai and message-queue without
erroring, since it'd automatically try to build the binaries which require
additional features.

While we could make those features not optional, it'd increase time to build
and disk space required, which is why the features exist for monero-serai and
message-queue in the first place (since both are frequently used as libs).
This commit is contained in:
Luke Parker
2023-08-02 14:43:49 -04:00
parent 38ad1d4bc4
commit 376b36974f
3 changed files with 323 additions and 297 deletions

1
Cargo.lock generated
View File

@@ -2439,6 +2439,7 @@ name = "ff-group-tests"
version = "0.13.0"
dependencies = [
"bls12_381",
"ff",
"group",
"k256",
"p256",