# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "ergo-lib"
version = "0.7.0"
authors = ["Denys Zadorozhnyi <denys@zadorozhnyi.com>"]
exclude = ["proptest-regressions/*"]
description = "ErgoTree interpreter and wallet-like features for Ergo"
license = "CC0-1.0"
repository = "https://github.com/ergoplatform/sigma-rust"

[lib]
crate-type = ["cdylib", "rlib"]
[dependencies.base16]
version = "0.2.1"

[dependencies.derive_more]
version = "0.99"

[dependencies.elliptic-curve]
version = "0.5.0"
features = ["rand", "zeroize"]

[dependencies.ergoscript-compiler]
version = "^0.3.0"
optional = true

[dependencies.ergotree-interpreter]
version = "^0.7.0"

[dependencies.ergotree-ir]
version = "^0.7.0"

[dependencies.impl-trait-for-tuples]
version = "0.2.0"

[dependencies.indexmap]
version = "1.3.2"

[dependencies.k256]
version = "0.4.2"
features = ["rand", "zeroize"]

[dependencies.lazy_static]
version = "1.4"

[dependencies.num]
version = "0.3.1"

[dependencies.num-bigint]
version = "0.3.0"

[dependencies.rand]
version = "0.7"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sigma-ser]
version = "^0.2.0"

[dependencies.sigma-util]
version = "^0.2.0"

[dependencies.thiserror]
version = "1"
[dev-dependencies.ergotree-interpreter]
version = "^0.7.0"
features = ["arbitrary"]

[dev-dependencies.ergotree-ir]
version = "^0.7.0"
features = ["arbitrary"]

[dev-dependencies.proptest]
version = "1.0.0"
features = ["std"]
default-features = false

[dev-dependencies.proptest-derive]
version = "0.3.0"

[dev-dependencies.rand]
version = "0.7.3"

[dev-dependencies.sigma-test-util]
version = "0.2.0"

[dev-dependencies.wasm-bindgen-test]
version = "0.3.10"

[features]
compiler = ["ergoscript-compiler"]
default = ["json", "compiler"]
json = ["serde"]
