# 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 = "2021"
name = "near-cli-rs"
version = "0.10.1"
authors = [
    "FroVolod <frol_off@meta.ua>",
    "Near Inc <hello@nearprotocol.com>",
]
description = "human-friendly console utility that helps to interact with NEAR Protocol from command line."
homepage = "https://near.cli.rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/near/near-cli-rs"

[package.metadata.wix]
eula = false
license = false
path-guid = "3A5A99B6-61EC-4DFB-AA36-763EE316AF18"
upgrade-guid = "A6432354-8256-45E3-9E10-53C117EE22B4"

[profile.dist]
lto = "thin"
inherits = "release"

[[bin]]
name = "near"
path = "src/main.rs"

[dependencies.bip39]
version = "2.0.0"
features = ["rand"]

[dependencies.bs58]
version = "0.5"

[dependencies.bytesize]
version = "1.1.0"

[dependencies.cargo-util]
version = "0.1.1"

[dependencies.clap]
version = "4.0.18"
features = ["derive"]

[dependencies.color-eyre]
version = "0.6"

[dependencies.derive_more]
version = "0.99.9"

[dependencies.dirs]
version = "5"

[dependencies.easy-ext]
version = "1"

[dependencies.ed25519-dalek]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4.2"

[dependencies.indicatif]
version = "0.17.8"

[dependencies.inquire]
version = "0.7"

[dependencies.interactive-clap]
version = "0.2.10"

[dependencies.interactive-clap-derive]
version = "0.2.10"

[dependencies.keyring]
version = "2.0.5"

[dependencies.linked-hash-map]
version = "0.5"
features = ["serde_impl"]

[dependencies.near-abi]
version = "0.4.2"

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

[dependencies.near-gas]
version = "0.2.3"
features = [
    "serde",
    "borsh",
    "interactive-clap",
]

[dependencies.near-jsonrpc-client]
version = "0.8.0"

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

[dependencies.near-ledger]
version = "0.5.0"
optional = true

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

[dependencies.near-socialdb-client]
version = "0.2.2"

[dependencies.near-token]
version = "0.2.0"
features = [
    "serde",
    "borsh",
    "interactive-clap",
]

[dependencies.open]
version = "4"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.prettytable]
version = "0.10.0"

[dependencies.reqwest]
version = "0.11"
features = [
    "blocking",
    "json",
]

[dependencies.rust_decimal]
version = "1.35.0"

[dependencies.self_update]
version = "0.37.0"
features = [
    "archive-tar",
    "compression-flate2",
]
optional = true

[dependencies.semver]
version = "1.0.4"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.57"

[dependencies.shell-words]
version = "1"

[dependencies.shellexpand]
version = "3"

[dependencies.slip10]
version = "0.4.3"

[dependencies.smart-default]
version = "0.7.1"

[dependencies.strum]
version = "0.24"
features = ["derive"]

[dependencies.strum_macros]
version = "0.24"

[dependencies.textwrap]
version = "0.16.1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.0"
features = ["rt-multi-thread"]

[dependencies.toml]
version = "0.7"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-indicatif]
version = "0.3.6"

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

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

[dependencies.wasmparser]
version = "0.200.0"

[dependencies.zstd]
version = "0.11"

[features]
default = [
    "ledger",
    "self-update",
]
ledger = ["near-ledger"]
self-update = [
    "self_update",
    "semver",
]
