From 6e25b6c8010adc7968a594929795668f1a25814d Mon Sep 17 00:00:00 2001 From: Chirantan Ekbote Date: Mon, 14 Nov 2022 18:33:18 +0900 Subject: [PATCH] sdk/rust: Move profile settings to workspace --- sdk/rust/Cargo.toml | 4 ++++ sdk/rust/core/Cargo.toml | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sdk/rust/Cargo.toml b/sdk/rust/Cargo.toml index ef9068760..101870222 100644 --- a/sdk/rust/Cargo.toml +++ b/sdk/rust/Cargo.toml @@ -3,3 +3,7 @@ members = [ "core", "sdk" ] + +[profile.release] +opt-level = 3 +lto = "thin" diff --git a/sdk/rust/core/Cargo.toml b/sdk/rust/core/Cargo.toml index 391ad0472..26967fc21 100644 --- a/sdk/rust/core/Cargo.toml +++ b/sdk/rust/core/Cargo.toml @@ -6,12 +6,6 @@ edition = "2018" [features] - -[profile.release] -opt-level = 3 -lto = "thin" - - [dependencies] byteorder = "*" hex = "*"