From 31c597f9b0b4d80de624f35d6067249fad91ddc7 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 16 Oct 2023 22:54:55 +0200 Subject: [PATCH] bindings/rust/Cargo.toml: isolate benchmark dependencies. This allows to build the test on systems like x86_64-fortanix-unknown-sgx. --- bindings/rust/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index 7135f022..a6b85a7f 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -54,6 +54,8 @@ threadpool = "^1.8.1" [dev-dependencies] rand = "0.8" rand_chacha = "0.3" + +[target.'cfg(any(unix, windows))'.dev-dependencies] rmp-serde = "1.1.1" criterion = "0.3"