diff --git a/examples/fungible-token/Cargo.toml b/examples/fungible-token/Cargo.toml index 535e8f49b..b62008b0f 100644 --- a/examples/fungible-token/Cargo.toml +++ b/examples/fungible-token/Cargo.toml @@ -9,7 +9,6 @@ anyhow = "1.0" near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } tokio = { version = "1.14", features = ["full"] } near-workspaces = { version = "0.15", features = ["unstable"] } -cargo-near-build = "0.3.1" rstest = "0.23.0" [profile.release] diff --git a/examples/fungible-token/tests/workspaces.rs b/examples/fungible-token/tests/workspaces.rs index e8f19d673..c3731540f 100644 --- a/examples/fungible-token/tests/workspaces.rs +++ b/examples/fungible-token/tests/workspaces.rs @@ -5,6 +5,7 @@ use near_workspaces::operations::Function; use near_workspaces::result::ValueOrReceiptId; use near_workspaces::{types::NearToken, Account, AccountId, Contract}; use rstest::{fixture, rstest}; +use near_workspaces::cargo_near_build; const ONE_YOCTO: NearToken = NearToken::from_yoctonear(1); diff --git a/examples/lockable-fungible-token/Cargo.toml b/examples/lockable-fungible-token/Cargo.toml index 4163aa549..73f688670 100644 --- a/examples/lockable-fungible-token/Cargo.toml +++ b/examples/lockable-fungible-token/Cargo.toml @@ -15,7 +15,6 @@ anyhow = "1.0" tokio = { version = "1.14", features = ["full"] } near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } near-workspaces = { version = "0.15", features = ["unstable"] } -cargo-near-build = "0.3.1" rstest = "0.23.0" [profile.release] diff --git a/examples/lockable-fungible-token/tests/workspaces.rs b/examples/lockable-fungible-token/tests/workspaces.rs index a48e95aaf..c3ef06f6d 100644 --- a/examples/lockable-fungible-token/tests/workspaces.rs +++ b/examples/lockable-fungible-token/tests/workspaces.rs @@ -3,6 +3,7 @@ use std::str::FromStr; use near_sdk::json_types::U128; use near_workspaces::{types::NearToken, Account, Contract}; use rstest::{fixture, rstest}; +use near_workspaces::cargo_near_build; #[fixture] fn initial_balance() -> U128 { diff --git a/examples/non-fungible-token/Cargo.toml b/examples/non-fungible-token/Cargo.toml index 27754d781..151fd9501 100644 --- a/examples/non-fungible-token/Cargo.toml +++ b/examples/non-fungible-token/Cargo.toml @@ -11,7 +11,6 @@ near-sdk = { path = "../../near-sdk", features = ["unit-testing"] } tokio = { version = "1.14", features = ["full"] } near-workspaces = { version = "0.15", features = ["unstable"] } rstest = "0.23.0" -cargo-near-build = "0.3.1" [profile.release] codegen-units = 1 diff --git a/examples/non-fungible-token/tests/workspaces/utils.rs b/examples/non-fungible-token/tests/workspaces/utils.rs index accb4861e..5b926c735 100644 --- a/examples/non-fungible-token/tests/workspaces/utils.rs +++ b/examples/non-fungible-token/tests/workspaces/utils.rs @@ -6,7 +6,7 @@ use near_contract_standards::non_fungible_token::TokenId; use near_workspaces::types::NearToken; use near_workspaces::{Account, Contract}; use rstest::fixture; - +use near_workspaces::cargo_near_build; pub const TOKEN_ID: &str = "0"; pub async fn helper_mint(