halfin 0.3.8

A {regtest} bitcoin node runner 🏃‍♂️
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 = "2024"
rust-version = "1.85.0"
name = "halfin"
version = "0.3.8"
authors = ["Luis Schwab <dev@luisschwab.net"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A {regtest} bitcoin node runner 🏃‍♂️"
documentation = "https://docs.rs/halfin"
readme = "README.md"
keywords = [
    "bitcoin",
    "runner",
    "testing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/luisschwab/halfin"

[package.metadata.rbmt.toolchains]
stable = "1.95.0"
nightly = "nightly-2026-05-26"

[package.metadata.rbmt.test]
exclude_features = [
    "bitcoind_31_0",
    "utreexod_0_5_2",
]
exact_features = [[
    "bitcoind_31_0",
    "utreexod_0_5_2",
]]

[package.metadata.rbmt.lint]
allowed_duplicates = [
    "anyhow",
    "base64",
    "bitcoin-internals",
    "bitcoin_hashes",
    "bitreq",
    "hex-conservative",
    "libc",
    "memchr",
    "once_cell",
    "rustix",
    "windows-sys",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bitcoind_31_0 = []
default = [
    "bitcoind_31_0",
    "utreexod_0_5_2",
]
utreexod_0_5_2 = []

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

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

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

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

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

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

[dependencies.corepc-client]
version = "=0.15.0"
features = ["client-sync"]

[dependencies.serde_json]
version = "=1.0.150"
default-features = false

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

[dependencies.tracing]
version = "=0.1.44"
features = ["std"]
default-features = false

[dependencies.which]
version = "=8.0.2"
default-features = false

[dev-dependencies.lazy_static]
version = "=1.5.0"

[dev-dependencies.tracing-subscriber]
version = "=0.3.23"
features = ["fmt"]

[build-dependencies.anyhow]
version = "=1.0.102"

[build-dependencies.bitcoin_hashes]
version = "=1.0.0"
features = ["hex"]

[build-dependencies.bitreq]
version = "=0.3.7"
features = ["https"]

[build-dependencies.flate2]
version = "=1.1.9"

[build-dependencies.tar]
version = "=0.4.46"

[build-dependencies.zip]
version = "=7.2.0"
features = [
    "bzip2",
    "deflate",
]
default-features = false

[lints.clippy]
let-and-return = "allow"