From d1632ccbd510e2fa6e952e0735d3b73b76169b9e Mon Sep 17 00:00:00 2001 From: ccamel Date: Tue, 2 Apr 2024 15:30:09 +0200 Subject: [PATCH] build(project): get rid of warning messages from Cargo --- Cargo.toml | 12 ++++++++++++ contracts/okp4-cognitarium/Cargo.toml | 11 ----------- contracts/okp4-dataverse/Cargo.toml | 11 ----------- contracts/okp4-law-stone/Cargo.toml | 11 ----------- contracts/okp4-objectarium/Cargo.toml | 11 ----------- 5 files changed, 12 insertions(+), 44 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0276d7f0..7013009d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,17 @@ [workspace] members = ["contracts/*", "packages/*"] +resolver = "2" + +[profile.release] +codegen-units = 1 +debug = false +debug-assertions = false +incremental = false +lto = true +opt-level = 3 +overflow-checks = true +panic = 'abort' +rpath = false [workspace.dependencies] cosmwasm-schema = "1.5.3" diff --git a/contracts/okp4-cognitarium/Cargo.toml b/contracts/okp4-cognitarium/Cargo.toml index 31ae0e58..539e9c9d 100644 --- a/contracts/okp4-cognitarium/Cargo.toml +++ b/contracts/okp4-cognitarium/Cargo.toml @@ -16,17 +16,6 @@ exclude = [ [lib] crate-type = ["cdylib", "rlib"] -[profile.release] -codegen-units = 1 -debug = false -debug-assertions = false -incremental = false -lto = true -opt-level = 3 -overflow-checks = true -panic = 'abort' -rpath = false - [dependencies] blake3 = "1.5.1" cosmwasm-schema.workspace = true diff --git a/contracts/okp4-dataverse/Cargo.toml b/contracts/okp4-dataverse/Cargo.toml index 6ef84737..aaed063f 100644 --- a/contracts/okp4-dataverse/Cargo.toml +++ b/contracts/okp4-dataverse/Cargo.toml @@ -16,17 +16,6 @@ exclude = [ [lib] crate-type = ["cdylib", "rlib"] -[profile.release] -codegen-units = 1 -debug = false -debug-assertions = false -incremental = false -lto = true -opt-level = 3 -overflow-checks = true -panic = 'abort' -rpath = false - [dependencies] base64 = "0.22.0" bs58 = "0.5.1" diff --git a/contracts/okp4-law-stone/Cargo.toml b/contracts/okp4-law-stone/Cargo.toml index f3e1a173..0b0b365a 100644 --- a/contracts/okp4-law-stone/Cargo.toml +++ b/contracts/okp4-law-stone/Cargo.toml @@ -16,17 +16,6 @@ exclude = [ [lib] crate-type = ["cdylib", "rlib"] -[profile.release] -codegen-units = 1 -debug = false -debug-assertions = false -incremental = false -lto = true -opt-level = 3 -overflow-checks = true -panic = 'abort' -rpath = false - [dependencies] cosmwasm-schema.workspace = true cosmwasm-std.workspace = true diff --git a/contracts/okp4-objectarium/Cargo.toml b/contracts/okp4-objectarium/Cargo.toml index 2d8901d8..fa96a42f 100644 --- a/contracts/okp4-objectarium/Cargo.toml +++ b/contracts/okp4-objectarium/Cargo.toml @@ -16,17 +16,6 @@ exclude = [ [lib] crate-type = ["cdylib", "rlib"] -[profile.release] -codegen-units = 1 -debug = false -debug-assertions = false -incremental = false -lto = true -opt-level = 3 -overflow-checks = true -panic = 'abort' -rpath = false - [dependencies] base16ct = { version = "0.2.0", features = ["alloc"] } bs58 = "0.5.1"