[package]
name = "hal"
version = "0.9.3"
authors = ["Steven Roose <steven@stevenroose.org>"]
license = "CC0-1.0"
homepage = "https://github.com/stevenroose/hal/"
repository = "https://github.com/stevenroose/hal/"
description = "hal - the Bitcoin companion"
keywords = [ "crypto", "bitcoin" ]
readme = "README.md"
edition = "2018"

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

[[bin]]
name = "hal"
path = "src/bin/hal/main.rs"

[dependencies]
chrono = { version = "0.4.6", features = ["serde"] }
clap = "=2.33.3"
fern = "0.5.6"
lazy_static = "1.4"
log = "0.4.5"

base64-compat = "1.0.0"
byteorder = "1.3.1"
serde = { version = "1.0.84", features = [ "derive" ] }
serde_json = "1.0.34"
serde_yaml = "0.8.8"
hex = "0.3.2"

bitcoin = { version = "0.29.2", features = [ "serde", "rand" ] }
secp256k1 = { version = "0.24.3", features = [ "recovery" ] }
bip39 = { version = "1.0.1", features = [ "all-languages" ] }
lightning-invoice = "0.4.0"
miniscript = { version = "9.0.0", features = ["compiler"] }

# For external commands
jobserver = "0.1.11"
shell-escape = "0.1.4"

[package.metadata.rpm]
package = "hal-bitcoin"

[package.metadata.rpm.cargo]
buildflags = ["--release", "--frozen"]

[package.metadata.rpm.targets]
hal = { path = "/usr/bin/hal" }
