Skip to content

Commit

Permalink
chore: bumped up the version of near-workspaces in examples (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn authored Jul 9, 2024
1 parent 5c9eaea commit 8e705d2
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 25 deletions.
4 changes: 2 additions & 2 deletions examples/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ crate-type = ["cdylib"]
near-sdk = { path = "../../near-sdk" }

[dev-dependencies]
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"
tokio = { version = "1.14", features = ["full"] }
anyhow = "1.0"
near-abi = "0.4.0"
zstd = "0.11"
zstd = "0.13"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/callback-results/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
near-sdk = { path = "../../near-sdk" }

[dev-dependencies]
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"
tokio = { version = "1.14", features = ["full"] }
anyhow = "1.0"

Expand Down
7 changes: 2 additions & 5 deletions examples/cross-contract-calls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyhow = "1.0"
near-sdk = { path = "../../near-sdk" }
test-case = "2.0"
tokio = { version = "1.14", features = ["full"] }
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"

cross-contract-high-level = { path = "./high-level" }
cross-contract-low-level = { path = "./low-level" }
Expand All @@ -23,7 +23,4 @@ debug = false
panic = "abort"

[workspace]
members = [
"high-level",
"low-level",
]
members = ["high-level", "low-level"]
7 changes: 2 additions & 5 deletions examples/factory-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
anyhow = "1.0"
test-case = "2.0"
tokio = { version = "1.14", features = ["full"] }
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"

[profile.release]
codegen-units = 1
Expand All @@ -19,7 +19,4 @@ debug = false
panic = "abort"

[workspace]
members = [
"high-level",
"low-level",
]
members = ["high-level", "low-level"]
7 changes: 2 additions & 5 deletions examples/fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
anyhow = "1.0"
near-sdk = { path = "../../near-sdk", features = ["unit-testing"] }
tokio = { version = "1.14", features = ["full"] }
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"

[profile.release]
codegen-units = 1
Expand All @@ -21,7 +21,4 @@ overflow-checks = true

[workspace]
# remember to include a member for each contract
members = [
"ft",
"test-contract-defi",
]
members = ["ft", "test-contract-defi"]
2 changes: 1 addition & 1 deletion examples/lockable-fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ near-sdk = { path = "../../near-sdk", features = ["legacy"] }
anyhow = "1.0"
tokio = { version = "1.14", features = ["full"] }
near-sdk = { path = "../../near-sdk", features = ["unit-testing"] }
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"

[profile.release]
codegen-units = 1
Expand Down
8 changes: 2 additions & 6 deletions examples/non-fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyhow = "1.0"
near-contract-standards = { path = "../../near-contract-standards" }
near-sdk = { path = "../../near-sdk" }
tokio = { version = "1.14", features = ["full"] }
near-workspaces = "0.10.1"
near-workspaces = "0.11.0"

[profile.release]
codegen-units = 1
Expand All @@ -22,8 +22,4 @@ overflow-checks = true

[workspace]
# remember to include a member for each contract
members = [
"nft",
"test-approval-receiver",
"test-token-receiver",
]
members = ["nft", "test-approval-receiver", "test-token-receiver"]

0 comments on commit 8e705d2

Please sign in to comment.