Skip to content

Commit

Permalink
Merge branch 'main' of github.com-fuzious:BakaOtaku/wise-wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzious committed Aug 31, 2023
2 parents d651309 + 9a24d43 commit 32133b2
Show file tree
Hide file tree
Showing 19 changed files with 806 additions and 250 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Build results
/target
/schema
artifacts
/out
script.sh

# Cargo+Git helper file (https://github.com/rust-lang/cargo/blob/0.44.1/src/cargo/sources/git/utils.rs#L320-L327)
.cargo-ok
Expand Down
193 changes: 175 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 27 additions & 40 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,53 +1,40 @@
[package]
name = "wise-wallet"
version = "0.1.0"
authors = ["fuzious <arpit@unizen.io>"]
edition = "2021"

exclude = [
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication.
"contract.wasm",
"hash.txt",
[workspace]
members = [
"contracts/limit",
"contracts/entrypoint"
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib", "rlib"]

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

[features]
# for more explicit tests, cargo test --features=backtraces
backtraces = ["cosmwasm-std/backtraces"]
# use library feature to disable all instantiate/execute/query exports
library = []
# [workspace.package]
# version = "0.0.1"
# license = "GPL-3.0-or-later"
# edition = "2021"

[package.metadata.scripts]
[workspace.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
cosmwasm/workspace-optimizer:0.12.10
"""

[dependencies]
[workspace.dependencies]
cosmwasm-schema = "1.1.3"
cosmwasm-std = "1.1.3"
cosmwasm-std = "1.2.1"
cosmwasm-storage = "1.1.3"
cw-storage-plus = "1.0.1"
cw2 = "1.0.1"
schemars = "0.8.10"
serde = { version = "1.0.145", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.31" }
cw-utils = "1.0.1"
anyhow = "1.0.70"
thiserror = "1.0.40"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
semver = "1"

[dev-dependencies]
cw-multi-test = "0.16.2"
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
incremental = false
lto = true
overflow-checks = true
opt-level = 3
panic = "abort"
rpath = false
Loading

0 comments on commit 32133b2

Please sign in to comment.