[package]
name = "subnet-node"
version = "0.4.0"
authors = ["Ludo Galabru <ludovic@blockstack.com>"]
edition = "2021"
resolver = "2"

[dependencies]
lazy_static = "1.4.0"
pico-args = "0.3.1"
rand = "0.7.3"
serde = "1"
serde_derive = "1"
serde_json = { version = "1.0", features = ["arbitrary_precision", "raw_value"] }
stacks = { package = "stacks-subnets", path = "../../." }
stx_genesis = { package = "stx-genesis", path = "../../stx-genesis/."}
toml = "0.5.6"
async-h1 = "2.3.2"
async-std = { version = "1.6", features = ["attributes"] }
http-types = "2.12"
base64 = "0.12.0"
backtrace = "0.3.50"
libc = "0.2"
slog = { version = "2.5.2", features = [ "max_level_trace" ] }
clarity = { git = "https://github.com/stacks-network/stacks-blockchain.git", tag = "2.1.0.0.0" }
stacks-common = { git = "https://github.com/stacks-network/stacks-blockchain.git", tag = "2.1.0.0.0" }
# clarity = { package = "clarity", path = "../../../stacks-blockchain-develop/clarity" }
# stacks-common = { package = "stacks-common", path = "../stacks-blockchain-develop/stacks-common" }
tokio = { version = "=1.15.0", features = ["full"] }
warp = "0.3"

[dependencies.reqwest]
version = "0.11.9"
default-features = false
features = ["blocking", "json", "rustls-tls"]

[dependencies.rusqlite]
version = "=0.24.2"
features = ["blob", "serde_json", "i128_blob", "bundled", "trace"]

[dev-dependencies]
ring = "0.16.19"

[dev-dependencies.rusqlite]
version = "=0.24.2"
features = ["blob", "serde_json", "i128_blob", "bundled", "trace"]

[[bin]]
name = "subnet-node"
path = "src/main.rs"

[features]
monitoring_prom = ["stacks/monitoring_prom"]
slog_json = ["stacks/slog_json", "stacks-common/slog_json", "clarity/slog_json"]
prod-genesis-chainstate = []
default = []
