From 01c4403fc7453146800778bf036e275959ae9c5b Mon Sep 17 00:00:00 2001 From: larry <26318510+larry0x@users.noreply.github.com> Date: Mon, 19 Sep 2022 01:36:12 +0100 Subject: [PATCH] use library feature when importing sg721-base --- contracts/nft/Cargo.toml | 2 +- packages/badges/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/nft/Cargo.toml b/contracts/nft/Cargo.toml index d9dca71..5f88147 100644 --- a/contracts/nft/Cargo.toml +++ b/contracts/nft/Cargo.toml @@ -25,7 +25,7 @@ cw2 = "0.13" cw721 = "0.13" sg721 = "0.14" # TODO: update once published on crates.io -sg721-base = { git = "https://github.com/public-awesome/launchpad", rev = "4183957" } +sg721-base = { git = "https://github.com/public-awesome/launchpad", rev = "4183957", features = ["library"] } # TODO: update once published on crates.io sg-metadata = { git = "https://github.com/public-awesome/launchpad", rev = "4183957" } sg-std = "0.14" diff --git a/packages/badges/Cargo.toml b/packages/badges/Cargo.toml index 46f15f5..5a6b5a0 100644 --- a/packages/badges/Cargo.toml +++ b/packages/badges/Cargo.toml @@ -21,6 +21,6 @@ schemars = "0.8" serde = { version = "1.0", default-features = false, features = ["derive"] } sg721 = "0.14" # TODO: update once published on crates.io -sg721-base = { git = "https://github.com/public-awesome/launchpad", rev = "4183957" } +sg721-base = { git = "https://github.com/public-awesome/launchpad", rev = "4183957", features = ["library"] } # TODO: update once published on crates.io sg-metadata = { git = "https://github.com/public-awesome/launchpad", rev = "4183957" }