# 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 = "pop-cli"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An all-in-one tool for Polkadot development."
documentation = "https://learn.onpop.io/"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/r0gue-io/pop-cli"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/pop-{ target }.tar.gz"
pkg-fmt = "tgz"

[features]
chain = [
    "dep:pop-chains",
    "dep:pop-fork",
    "dep:git2",
    "dep:tracing-subscriber",
    "dep:scale-value",
    "wallet-integration",
]
contract = [
    "dep:pop-contracts",
    "wallet-integration",
]
default = [
    "chain",
    "telemetry",
    "contract",
]
integration-tests = ["pop-common/integration-tests"]
telemetry = ["dep:pop-telemetry"]
wallet-integration = [
    "dep:axum",
    "dep:open",
    "dep:tower-http",
]

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

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

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

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

[dependencies.anyhow]
version = "1.0"
default-features = false

[dependencies.axum]
version = "0.7.9"
features = [
    "http1",
    "json",
    "tokio",
]
optional = true
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "string",
]
default-features = false

[dependencies.clap_complete]
version = "4.5"
default-features = false

[dependencies.cliclack]
version = "0.3.1"
default-features = false

[dependencies.console]
version = "0.15"
default-features = false

[dependencies.dirs]
version = "5.0"
default-features = false

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

[dependencies.env_logger]
version = "0.11.7"
default-features = false

[dependencies.git2]
version = "0.18"
features = ["vendored-openssl"]
optional = true
default-features = true

[dependencies.log]
version = "0.4.20"
default-features = false

[dependencies.open]
version = "5.3.1"
optional = true
default-features = false

[dependencies.os_info]
version = "3"
default-features = false

[dependencies.pop-chains]
version = "0.13.0"
optional = true

[dependencies.pop-common]
version = "0.13.0"

[dependencies.pop-contracts]
version = "0.13.0"
optional = true
default-features = false

[dependencies.pop-fork]
version = "0.13.0"
optional = true

[dependencies.pop-telemetry]
version = "0.13.0"
optional = true

[dependencies.psvm]
version = "0.3.1"
default-features = false

[dependencies.regex]
version = "1.10"
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "default-tls",
    "json",
    "multipart",
    "stream",
]
default-features = false

[dependencies.rustilities]
version = "3.0.1"
features = ["manifest"]

[dependencies.scale-info]
version = "2.11.6"
features = ["derive"]
default-features = false

[dependencies.scale-value]
version = "0.18.0"
features = [
    "from-string",
    "parser-ss58",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
default-features = false

[dependencies.sp-core]
version = "38.0.0"
default-features = false

[dependencies.strum]
version = "0.26"
default-features = false

[dependencies.strum_macros]
version = "0.26"
default-features = false

[dependencies.tempfile]
version = "3.10"
default-features = false

[dependencies.time]
version = "0.3"
features = [
    "std",
    "formatting",
]
default-features = false

[dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "process",
    "rt-multi-thread",
    "net",
    "signal",
    "sync",
]
default-features = false

[dependencies.toml]
version = "0.5.0"
default-features = false

[dependencies.tower-http]
version = "0.6.2"
features = [
    "fs",
    "cors",
]
optional = true
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.19"
optional = true
default-features = false

[dependencies.url]
version = "2.5.4"

[dev-dependencies.hex]
version = "0.4"
features = ["std"]
default-features = false

[dev-dependencies.jsonrpsee]
version = "0.24"
features = ["ws-client"]

[dev-dependencies.mockito]
version = "1.4.0"
default-features = false

[dev-dependencies.scale]
version = "3.7.5"
features = ["derive"]
package = "parity-scale-codec"

[dev-dependencies.subxt]
version = "0.44.0"
default-features = false

[dev-dependencies.subxt-signer]
version = "0.44.0"
features = [
    "subxt",
    "sr25519",
]
default-features = false

[lints.clippy]
too_many_arguments = "allow"
type_complexity = "allow"
