diff --git a/examples/adder/Cargo.toml b/examples/adder/Cargo.toml index d9c32d2df..adb000042 100644 --- a/examples/adder/Cargo.toml +++ b/examples/adder/Cargo.toml @@ -16,6 +16,7 @@ tokio = { version = "1.14", features = ["full"] } anyhow = "1.0" near-abi = "0.4.0" zstd = "0.13" +near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } [profile.release] codegen-units = 1 diff --git a/examples/fungible-token/ft/Cargo.toml b/examples/fungible-token/ft/Cargo.toml index 664d923b0..923da013b 100644 --- a/examples/fungible-token/ft/Cargo.toml +++ b/examples/fungible-token/ft/Cargo.toml @@ -10,3 +10,6 @@ crate-type = ["cdylib"] [dependencies] near-sdk = { path = "../../../near-sdk" } near-contract-standards = { path = "../../../near-contract-standards" } + +[dev-dependencies] +near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } \ No newline at end of file diff --git a/examples/non-fungible-token/nft/Cargo.toml b/examples/non-fungible-token/nft/Cargo.toml index 16fd40d50..b424d7dca 100644 --- a/examples/non-fungible-token/nft/Cargo.toml +++ b/examples/non-fungible-token/nft/Cargo.toml @@ -10,3 +10,6 @@ crate-type = ["cdylib"] [dependencies] near-sdk = { path = "../../../near-sdk" } near-contract-standards = { path = "../../../near-contract-standards" } + +[dev-dependencies] +near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } \ No newline at end of file diff --git a/examples/test-contract/Cargo.toml b/examples/test-contract/Cargo.toml index c9bda7458..423588334 100644 --- a/examples/test-contract/Cargo.toml +++ b/examples/test-contract/Cargo.toml @@ -17,3 +17,6 @@ opt-level = "z" lto = true debug = false panic = "abort" + +[dev-dependencies] +near-sdk = { path = "../../near-sdk", features = ["unit-testing"] }