# 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 = "pop-contracts"
version = "0.10.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for generating, building, deploying, and calling ink! smart contracts."
documentation = "https://docs.rs/pop-contracts/latest/pop_contracts"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/r0gue-io/pop-cli"

[features]
default = ["v5"]
integration-tests = []
v5 = [
    "dep:contract-build",
    "dep:contract-extrinsics",
    "dep:contract-transcode",
    "dep:ink_env",
    "dep:sp-core",
]
v6 = [
    "dep:contract-build_inkv6",
    "dep:contract-extrinsics_inkv6",
    "dep:contract-transcode_inkv6",
    "dep:ink_env_v6",
    "dep:sp-core_inkv6",
]

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

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

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

[dependencies.contract-build]
version = "5.0.2"
optional = true
default-features = false

[dependencies.contract-build_inkv6]
version = "6.0.0-alpha"
optional = true
default-features = false
package = "contract-build"

[dependencies.contract-extrinsics]
version = "5.0.2"
optional = true
default-features = false

[dependencies.contract-extrinsics_inkv6]
version = "6.0.0-alpha"
optional = true
default-features = false
package = "contract-extrinsics"

[dependencies.contract-transcode]
version = "5.0.2"
optional = true
default-features = false

[dependencies.contract-transcode_inkv6]
version = "6.0.0-alpha"
optional = true
default-features = false
package = "contract-transcode"

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

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

[dependencies.ink_env]
version = "5.0.0"
optional = true
default-features = false

[dependencies.ink_env_v6]
version = "6.0.0-alpha"
optional = true
default-features = false
package = "ink_env"

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

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

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

[dependencies.sp-core]
version = "32.0.0"
optional = true
default-features = false

[dependencies.sp-core_inkv6]
version = "36.1.0"
optional = true
default-features = false
package = "sp-core"

[dependencies.sp-weights]
version = "31.0.0"
default-features = false

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

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

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

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

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

[dependencies.thiserror]
version = "1.0.58"
default-features = false

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

[dependencies.url]
version = "2.5.4"

[dev-dependencies.tokio-test]
version = "0.4.4"
default-features = false
