Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions contract-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,27 @@ container_build_command = ["cargo", "near", "build", "non-reproducible-wasm", "-

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

[dev-dependencies]
near-sdk = { version = "5.7", features = ["unit-testing"] }
near-workspaces = { version = "0.16", features = ["unstable"] }
tokio = { version = "1.12.0", features = ["full"] }
near-sdk = { version = "5.24.0", features = ["unit-testing"] }
near-crypto = "0.34.6"
near-sandbox = "0.3"
near-api = "0.8"
cargo-near-build = "0.10"
tokio = { version = "1.48.0", features = ["full"] }
testresult = "0.4.1"
anyhow = "1.0"
serde_json = "1"

# 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)
cargo-platform = "=0.3.1"
darling = "=0.20.11"
bon = "=3.8.1"
home = "=0.5.9"
time = "=0.3.44"
time-core = "=0.1.6"

[profile.release]
codegen-units = 1
# Tell `rustc` to optimize for small code size.
Expand Down
2 changes: 1 addition & 1 deletion contract-rs/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "stable"
channel = "1.86"
components = ["rustfmt"]
targets = ["wasm32-unknown-unknown"]
Loading