Skip to content

Commit ebfa785

Browse files
committed
migrate 03 step of rust tutorial from using workspaces to sandbox
1 parent b3ed1a0 commit ebfa785

2 files changed

Lines changed: 337 additions & 223 deletions

File tree

contract-rs/03-bid-with-fts/Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ crate-type = ["cdylib", "rlib"]
99

1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111
[dependencies]
12-
near-sdk = "5.23.0"
12+
near-sdk = "5.24.0"
1313

1414
[dev-dependencies]
15-
near-sdk = { version = "5.23.0", features = ["unit-testing"] }
16-
near-workspaces = { version = "0.22.0", features = ["unstable"] }
15+
near-sdk = { version = "5.24.0", features = ["unit-testing"] }
16+
near-sandbox = "0.3"
17+
near-api = "0.8"
18+
cargo-near-build = "0.10"
1719
tokio = { version = "1.12.0", features = ["full"] }
1820
serde_json = "1"
19-
chrono = "0.4.38"
21+
testresult = "0.4.1"
22+
# This is temporary fix for the build error since those crates with a higher version require a higher version of Rust compiler (1.88.0)
23+
cargo-platform = "=0.3.1"
24+
darling = "=0.20.11"
25+
bon = "=3.8.1"
2026

2127
[profile.release]
2228
codegen-units = 1

0 commit comments

Comments
 (0)