-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implementing dependencies for cargo toml
- Loading branch information
1 parent
d5e24ca
commit 4a931f1
Showing
9 changed files
with
279 additions
and
7 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
contracts/examples/multisig/wasm-multisig-full/test-Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "multisig-full-wasm" | ||
version = "0.0.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = "cdylib" | ||
|
||
[workspace] | ||
members = [ | ||
".", | ||
"meta", | ||
] | ||
|
||
["contracts.multisig-full.profile"] | ||
codegen-units = 1 | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" |
21 changes: 21 additions & 0 deletions
21
contracts/examples/multisig/wasm-multisig-view/test-Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "multisig-view-wasm" | ||
version = "0.0.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = "cdylib" | ||
|
||
[workspace] | ||
members = [ | ||
".", | ||
"meta", | ||
] | ||
|
||
["contracts.multisig-view.profile"] | ||
codegen-units = 1 | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "multisig-wasm" | ||
version = "0.0.0" | ||
edition = "2021" | ||
publish = false | ||
|
||
[lib] | ||
crate-type = "cdylib" | ||
|
||
[workspace] | ||
members = [ | ||
".", | ||
"meta", | ||
] | ||
|
||
["contracts.multisig.profile"] | ||
codegen-units = 1 | ||
opt-level = "z" | ||
lto = true | ||
debug = false | ||
panic = "abort" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "{contract variant name}-wasm" # ok | ||
version = "0.0.0" | ||
edition = "{sc-crate.edition}" # from sc Cargo.toml | ||
publish = false | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[profile.release] | ||
... from sc-config.toml | ||
|
||
[dependencies.{sc-crate.name}] # from sc Cargo.toml | ||
path = ".." | ||
|
||
[dependencies.multiversx-sc-wasm-adapter] | ||
version = "{sc-crate.dependencies.multiversx-sc.version}" | ||
path = "{sc-crate.dependencies.multiversx-sc.path - "base" + "wasm-adapter"}" | ||
|
||
[workspace] | ||
members = ["."] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.