From 100b08bd00025c791a8ce165b020b3e0ecc7f761 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 10 Mar 2025 15:31:24 +0100 Subject: [PATCH] Speedup RSA key generation --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 5c40f42..d7a74dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,3 +108,8 @@ path = "examples/local_federation/main.rs" [[example]] name = "live_federation" path = "examples/live_federation/main.rs" + +# Speedup RSA key generation +# https://github.com/RustCrypto/RSA/blob/master/README.md#example +[profile.dev.package.num-bigint-dig] +opt-level = 3