near-workspaces 0.22.3

Library for automating workflows and testing NEAR smart contracts.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "near-workspaces"
version = "0.22.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Library for automating workflows and testing NEAR smart contracts.
"""
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/near/near-workspaces-rs"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "install",
    "rustls",
]
experimental = ["near-chain-configs"]
install = []
interop_sdk = ["near-sdk"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]
unstable = ["dep:cargo-near-build"]

[lib]
name = "near_workspaces"
path = "src/lib.rs"

[[test]]
name = "account"
path = "tests/account.rs"

[[test]]
name = "batch_tx"
path = "tests/batch_tx.rs"

[[test]]
name = "cross_contract"
path = "tests/cross_contract.rs"

[[test]]
name = "deploy"
path = "tests/deploy.rs"

[[test]]
name = "deploy_project"
path = "tests/deploy_project.rs"

[[test]]
name = "gas_meter"
path = "tests/gas_meter.rs"

[[test]]
name = "optional_args"
path = "tests/optional_args.rs"

[[test]]
name = "parallel_transactions"
path = "tests/parallel_transactions.rs"

[[test]]
name = "patch_state"
path = "tests/patch_state.rs"

[[test]]
name = "query"
path = "tests/query.rs"

[[test]]
name = "types"
path = "tests/types.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bs58]
version = "0.5"

[dependencies.cargo-near-build]
version = "0.11.2"
optional = true

[dependencies.chrono]
version = "0.4.19"

[dependencies.fs2]
version = "0.4"

[dependencies.json-patch]
version = "2.0"

[dependencies.near-abi-client]
version = "0.1.1"

[dependencies.near-account-id]
version = "2.0.0"

[dependencies.near-chain-configs]
version = "0.36.0"
optional = true

[dependencies.near-crypto]
version = "0.36.0"

[dependencies.near-gas]
version = "0.3"
features = [
    "serde",
    "borsh",
    "schemars",
]

[dependencies.near-jsonrpc-client]
version = "0.21"
features = ["sandbox"]

[dependencies.near-jsonrpc-primitives]
version = "0.36.0"

[dependencies.near-primitives]
version = "0.36.0"

[dependencies.near-sandbox]
version = "0.3.9"

[dependencies.near-sdk]
version = "5.26"
optional = true

[dependencies.near-token]
version = "0.3"
features = ["serde"]

[dependencies.rand]
version = "0.8.4"

[dependencies.reqwest]
version = "0.13"
features = ["json"]
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-retry]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.2.2"
features = ["serde"]

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.near-sdk]
version = "5.26"
features = ["unit-testing"]

[dev-dependencies.test-log]
version = "0.2.8"
features = ["trace"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.5"
features = ["env-filter"]

[build-dependencies.near-sandbox]
version = "0.3.9"

[target."cfg(unix)".dependencies.libc]
version = "0.2"