From dfc83a802c0be2d8b33988f4f4748b850c31ed7d Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Mon, 2 Dec 2024 22:25:08 +0100 Subject: [PATCH] Disable building some unnecessary features --- Cargo.lock | 3 +++ Cargo.toml | 26 +++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1996c13..0a80d30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -920,6 +920,7 @@ name = "ibc-client-tendermint-types" version = "0.54.0" source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38489943c4e75206eaffeeeec6153c039c2499d1#38489943c4e75206eaffeeeec6153c039c2499d1" dependencies = [ + "borsh", "displaydoc", "ibc-core-client-types", "ibc-core-commitment-types", @@ -1174,6 +1175,7 @@ name = "ibc-core-host-cosmos" version = "0.54.0" source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38489943c4e75206eaffeeeec6153c039c2499d1#38489943c4e75206eaffeeeec6153c039c2499d1" dependencies = [ + "borsh", "derive_more 0.99.18", "displaydoc", "ibc-app-transfer-types", @@ -1326,6 +1328,7 @@ version = "0.54.0" source = "git+https://github.com/heliaxdev/cosmos-ibc-rs?rev=38489943c4e75206eaffeeeec6153c039c2499d1#38489943c4e75206eaffeeeec6153c039c2499d1" dependencies = [ "basecoin-store", + "borsh", "derive_more 0.99.18", "displaydoc", "ibc", diff --git a/Cargo.toml b/Cargo.toml index 46b0f1b..fc3f089 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,9 +12,13 @@ license = "MIT" readme = "README.md" repository = "https://github.com/heliaxdev/ibc-middleware" -[workspace.dependencies] -dur = "0.5.3" -serde_json = "1.0" +[workspace.dependencies.dur] +version = "0.5.3" +default-features = false + +[workspace.dependencies.serde_json] +version = "1.0" +default-features = false [workspace.dependencies.borsh] version = "1.2.0" @@ -33,31 +37,47 @@ features = ["alloc", "derive"] [workspace.dependencies.ibc-core-router] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-core-router-types] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-core-host-types] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-core-channel-types] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-core-channel] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-primitives] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-app-transfer-types] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"] [workspace.dependencies.ibc-testkit] git = "https://github.com/heliaxdev/cosmos-ibc-rs" rev = "38489943c4e75206eaffeeeec6153c039c2499d1" +default-features = false +features = ["borsh", "serde"]