# 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 = "rostrum"
version = "14.0.1"
authors = [
    "Bitcoin Unlimited developers <info@bitcoinunlimited.info",
    "Roman Zeyde <me@romanzey.de>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient implementation of Electrum Server with token support"
homepage = "https://gitlab.com/BitcoinUnlimited/rostrum"
documentation = "https://docs.rs/rostrum/"
readme = "README.md"
keywords = [
    "bitcoincash",
    "nexa",
    "bitcoin",
    "electrum",
    "server",
]
license = "MIT"
repository = "https://gitlab.com/BitcoinUnlimited/rostrum"

[package.metadata.configure_me]
spec = "internal/config_specification.toml"

[package.metadata.cargo-udeps.ignore]
normal = ["tikv-jemallocator"]

[features]
bch = []
fail-on-warnings = []
nexa = []
with-benchmarks = []

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

[[bin]]
name = "rostrum"
path = "src/bin/rostrum.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bb8]
version = "0.9"

[dependencies.bitcoin_hashes]
version = "0.11.0"
features = ["serde"]
default-features = false

[dependencies.bitcoincash]
version = "0.29.2"
features = ["serde"]

[dependencies.byteorder]
version = "1"

[dependencies.configure_me]
version = "0.4"

[dependencies.dirs-next]
version = "2.0.0"

[dependencies.electrum-client-netagnostic]
version = "0.21"
features = ["use-rustls"]

[dependencies.futures]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.5"
features = [
    "client",
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "server",
    "client",
    "http1",
    "tokio",
]

[dependencies.indexmap]
version = "2.7"

[dependencies.ip_rfc]
version = "0.1.0"

[dependencies.jsonrpc]
version = "0.19.0"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.postcard]
version = "1"
features = ["alloc"]

[dependencies.prometheus]
version = "0.14"

[dependencies.rand]
version = "0.10"

[dependencies.rayon]
version = "1.5.3"

[dependencies.rocksdb]
version = "0.24"
features = []
default-features = false

[dependencies.rust_decimal]
version = "1.8.1"
features = ["serde-float"]

[dependencies.rustls]
version = ">=0.23.31"
default-features = false

[dependencies.serde]
version = "1.0"

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.signal-hook]
version = "0.4"

[dependencies.stderrlog]
version = "0.6"

[dependencies.tokio]
version = "1.32"
features = [
    "full",
    "rt-multi-thread",
]

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tokio-tungstenite]
version = "0.29"

[dependencies.ureq]
version = "3.0"
features = ["rustls"]
default-features = false

[dependencies.version-compare]
version = "0.2"

[dependencies.x509-parser]
version = "0.18"

[build-dependencies.configure_me_codegen]
version = "0.4.0"

[target.'cfg(target_os = "linux")'.dependencies.page_size]
version = "0.6"

[target.'cfg(target_os = "linux")'.dependencies.sysconf]
version = ">=0.3.4"

[target.'cfg(target_os = "linux")'.dependencies.tikv-jemalloc-ctl]
version = "0.6"
features = ["stats"]

[target.'cfg(target_os = "linux")'.dependencies.tikv-jemallocator]
version = "0.6"

[target.'cfg(target_os = "windows")'.dependencies.ctrlc]
version = "3.4.0"
