Skip to content

Commit

Permalink
extract transmuter math as package
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk committed Aug 12, 2024
1 parent b7f0f76 commit 630ead2
Show file tree
Hide file tree
Showing 8 changed files with 1,303 additions and 11 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ resolver = "2"

members = [
'contracts/*',
'packages/*',
]

[workspace.dependencies]
cosmwasm-schema = "1.3.1"
cosmwasm-std = {version = "1.5.4"}

[profile.release]
codegen-units = 1
debug = false
Expand Down
14 changes: 7 additions & 7 deletions contracts/transmuter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name = "transmuter"
version = "3.2.0"

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",
# 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",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down Expand Up @@ -42,16 +42,16 @@ optimize = """docker run --rm -v "$(pwd)":/code \
"""

[dependencies]
cosmwasm-schema = "1.3.1"
cosmwasm-std = { version = "1.5.4", features = ["cosmwasm_1_1"] }
cosmwasm-schema = {workspace = true}
cosmwasm-std = {workspace = true, features = ["cosmwasm_1_1"]}
cosmwasm-storage = "1.3.1"
cw-storage-plus = "1.1.0"
cw2 = "1.1.0"
osmosis-std = "0.22.0"
schemars = "0.8.12"
serde = { version = "1.0.183", default-features = false, features = ["derive"] }
serde = {version = "1.0.183", default-features = false, features = ["derive"]}
sylvia = "0.10.1"
thiserror = { version = "1.0.44" }
thiserror = {version = "1.0.44"}

[dev-dependencies]
itertools = "0.12.0"
Expand Down
13 changes: 13 additions & 0 deletions packages/transmuter_math/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
description = "Math utilities for Transmuter"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "transmuter_math"
version = "1.0.0"

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

[dependencies]
cosmwasm-schema = {workspace = true}
cosmwasm-std = {workspace = true}
thiserror = "1.0.63"
Loading

0 comments on commit 630ead2

Please sign in to comment.