From 23b26bb8e6db88ed53ed4108ae2ed52514504d51 Mon Sep 17 00:00:00 2001 From: Rano | Ranadeep Date: Wed, 24 Apr 2024 16:18:25 -0400 Subject: [PATCH] fix(ibc-app-nft-transfer): compile without default features (#1195) * enable cargo feature check * fix no default compile * nit --- .github/workflows/rust.yaml | 1 - ibc-apps/ics721-nft-transfer/types/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index a653aabbc..8e2a0a008 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -35,7 +35,6 @@ env: jobs: check-features: - if: ${{ github.event_name != 'pull_request' }} name: Check features runs-on: ubuntu-latest timeout-minutes: 60 diff --git a/ibc-apps/ics721-nft-transfer/types/Cargo.toml b/ibc-apps/ics721-nft-transfer/types/Cargo.toml index 9deb1a361..3b5189b92 100644 --- a/ibc-apps/ics721-nft-transfer/types/Cargo.toml +++ b/ibc-apps/ics721-nft-transfer/types/Cargo.toml @@ -20,11 +20,11 @@ all-features = true [dependencies] # external dependencies borsh = { workspace = true, optional = true } -base64 = { workspace = true } +base64 = { workspace = true, features = ["alloc"] } derive_more = { workspace = true } displaydoc = { workspace = true } -http = "1.0.0" -mime = "0.3.17" +http = { version = "1.0.0" } +mime = { version = "0.3.17" } schemars = { workspace = true, optional = true } serde = { workspace = true, optional = true } serde_json = { workspace = true }