Skip to content

Commit

Permalink
Refactoring cargo.toml + adding minimum support rust version as `1.…
Browse files Browse the repository at this point in the history
…74.1`
  • Loading branch information
dusterbloom committed Jul 9, 2024
1 parent 177b46f commit f83023a
Show file tree
Hide file tree
Showing 7 changed files with 192 additions and 68 deletions.
123 changes: 120 additions & 3 deletions Cargo.lock

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

27 changes: 17 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
[workspace]
resolver = "2"
members = [
# "apps/transfers/contracts",
# "apps/transfers/enclave",

# "apps/mtcs/contracts/cw-tee-mtcs",
# "apps/mtcs/contracts/enclave",
members = [
"apps/mtcs/enclave",
"apps/transfers/enclave",
"core/light-client-proofs/*",
"core/quartz",
"cosmwasm/packages/*",
"utils/*",
]
exclude = ["apps/mtcs/contracts/cw-tee-mtcs", "apps/mtcs/enclave", "apps/transfers", "apps/transfers/enclave"]
exclude = ["apps/mtcs/contracts/cw-tee-mtcs", "apps/transfers/contracts"]

[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.78.0"
rust-version = "1.74.1"
license = ""
readme = "README.md"
repository = "https://github.com/informalsystems/cycles-quartz"
Expand All @@ -26,7 +23,6 @@ authors = ["Informal Systems <[email protected]>"]


[workspace.dependencies]

# external
async-trait = { version = "0.1.79", default-features = false }
bip32 = { version = "0.5.1", default-features = false, features = ["alloc", "secp256k1", "bip39"] }
Expand Down Expand Up @@ -104,4 +100,15 @@ quartz-cw = { path = "cosmwasm/packages/quartz-cw", default-features = false }
quartz-proto = { path = "core/quartz-proto", default-features = false }
quartz-relayer = { path = "relayer", default-features = false }
quartz-tee-ra = { path = "cosmwasm/packages/quartz-tee-ra", default-features = false }
tm-stateless-verifier = { path = "core/light-client-proofs/tm-stateless-verifier", default-features = false }
tm-stateless-verifier = { path = "core/light-client-proofs/tm-stateless-verifier", default-features = false }

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = 'abort'
incremental = false
overflow-checks = true
1 change: 1 addition & 0 deletions apps/mtcs/contracts/cw-tee-mtcs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "cw-tee-mtcs"
version = "0.1.0"
edition = "2021"
authors = ["Informal Systems <[email protected]>"]

exclude = ["contract.wasm", "hash.txt"]

Expand Down
27 changes: 15 additions & 12 deletions apps/mtcs/enclave/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
[package]
name = "enclave"
name = "quartz-app-mtcs-enclave"
version = "0.1.0"
edition = "2021"
authors = ["Informal Systems <[email protected]>"]

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

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

[dependencies]
# external
Expand Down Expand Up @@ -47,7 +49,8 @@ cycles-sync.workspace = true
mtcs.workspace = true

# local
mtcs_contracts = { path = "../contracts" }
# mtcs_contracts = { path = "../contracts/cw-tee-mtcs" }
# cw-tee-mtcs = { workspace = true }

# quartz
quartz-cw = { path = "../../../cosmwasm/packages/quartz-cw" }
Expand Down
2 changes: 2 additions & 0 deletions apps/transfers/contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name = "transfers_contracts"
version = "0.1.0"
edition = "2021"
authors = ["Informal Systems <[email protected]>"]


exclude = ["contract.wasm", "hash.txt"]

Expand Down
64 changes: 32 additions & 32 deletions apps/transfers/enclave/Cargo.lock

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

Loading

0 comments on commit f83023a

Please sign in to comment.