Skip to content

Commit

Permalink
Update Cargo.toml to set workspace resolver to "2" and include members
Browse files Browse the repository at this point in the history
- Add workspace configuration to root Cargo.toml
- Set resolver to "2" to match edition 2021
  • Loading branch information
nninkovicSQA authored Oct 11, 2024
1 parent 7491d93 commit 63a02b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[workspace]
# include a member for each contract
resolver = "2"
members = [
"sputnik-staking",
"sputnikdao2",
"sputnikdao-factory2",
"test-token",
"workspaces-rs-tests",
]
resolver = "2"

[profile.release]
codegen-units = 1
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ cargo +stable build --target wasm32-unknown-unknown --release
cp target/wasm32-unknown-unknown/release/sputnik_staking.wasm ./sputnik-staking/res/
cp target/wasm32-unknown-unknown/release/sputnikdao2.wasm ./sputnikdao2/res/
cp target/wasm32-unknown-unknown/release/sputnikdao_factory2.wasm ./sputnikdao-factory2/res/
cp target/wasm32-unknown-unknown/release/test_token.wasm ./test-token/res/
cp target/wasm32-unknown-unknown/release/test_token.wasm ./test-token/res/
cp target/wasm32-unknown-unknown/release/test_token.wasm ./workspaces-rs-tests/res/

0 comments on commit 63a02b7

Please sign in to comment.