electrs 0.11.1

An efficient re-implementation of Electrum Server in Rust
Documentation
# 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"
rust-version = "1.85.0"
name = "electrs"
version = "0.11.1"
authors = ["Roman Zeyde <me@romanzey.de>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient re-implementation of Electrum Server in Rust"
homepage = "https://github.com/romanz/electrs"
documentation = "https://docs.rs/electrs/"
readme = "README.md"
keywords = [
    "bitcoin",
    "electrum",
    "server",
    "index",
    "database",
]
license = "MIT"
repository = "https://github.com/romanz/electrs"

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

[features]
default = ["metrics"]
metrics = [
    "prometheus",
    "tiny_http",
]
metrics_process = ["prometheus/process"]

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

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

[[example]]
name = "tx_collisions"
path = "examples/tx_collisions.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.bitcoin]
version = "0.32.8"
features = [
    "serde",
    "rand-std",
]

[dependencies.bitcoin_slices]
version = "0.10.0"
features = [
    "bitcoin",
    "sha2",
]

[dependencies.bitcoincore-rpc]
version = "0.19.0"

[dependencies.configure_me]
version = "0.4"

[dependencies.crossbeam-channel]
version = "0.5"

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

[dependencies.env_logger]
version = "0.10"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.prometheus]
version = "0.14"
optional = true

[dependencies.rayon]
version = "1.11"

[dependencies.rust-rocksdb]
version = "0.36"
features = [
    "zstd",
    "snappy",
]
default-features = false

[dependencies.serde]
version = "1.0.184"

[dependencies.serde_derive]
version = "1.0.184"

[dependencies.serde_json]
version = "1.0"

[dependencies.tiny_http]
version = "0.12"
optional = true

[dev-dependencies.bitcoin-test-data]
version = "0.2.0"

[dev-dependencies.hex_lit]
version = "0.1.1"

[dev-dependencies.tempfile]
version = "3.24"

[build-dependencies.configure_me_codegen]
version = "0.4.8"
default-features = false

[target."cfg(not(windows))".dependencies.signal-hook]
version = "0.4"

[target."cfg(windows)".dependencies.ctrlc]
version = "=3.5.1"

[lints.clippy]
uninlined_format_args = "allow"

[profile.release]
lto = true