Cargo Features

shell-wallet-nft has no features set by default.

[dependencies]
shell-wallet-nft = { version = "0.17.0", features = ["backtraces", "library"] }

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true

backtraces

for more explicit tests, cargo test --features=backtraces

Enables backtraces of cosmwasm-std ^1.2.1

library

use library feature to disable all instantiate/execute/query exports

Features from optional dependencies

[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.10
"""