Skip to content

Commit 0f44e0b

Browse files
authored
chore: make cargo-near-build optional in manifest (#383)
1 parent 10a6c1a commit 0f44e0b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

workspaces/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ Library for automating workflows and testing NEAR smart contracts.
1313
async-trait = "0.1"
1414
base64 = "0.22"
1515
bs58 = "0.5"
16-
cargo_metadata = { version = "0.18", optional = true }
17-
cargo-near-build = { version = "0.2.0" }
16+
cargo-near-build = { version = "0.2.0", optional = true }
1817
chrono = "0.4.19"
1918
fs2 = "0.4"
2019
rand = "0.8.4"
@@ -57,9 +56,9 @@ tracing-subscriber = { version = "0.3.5", features = ["env-filter"] }
5756

5857
[features]
5958
default = ["install"]
60-
install = [] # Install the sandbox binary during compile time
59+
install = [] # Install the sandbox binary during compile time
6160
interop_sdk = ["near-sdk"]
62-
unstable = ["cargo_metadata"]
61+
unstable = ["dep:cargo-near-build"]
6362
experimental = ["near-chain-configs"]
6463

6564
[package.metadata.docs.rs]

0 commit comments

Comments
 (0)