[workspace]
resolver = "3"
members = ["crates/*"]
package.description = "The Bitcoin Research Kit is a suite of tools designed to extract, compute and display data stored on a Bitcoin Core node"
package.license = "MIT"
package.edition = "2024"
package.version = "0.0.90"
package.homepage = "https://bitcoinresearchkit.org"
package.repository = "https://github.com/bitcoinresearchkit/brk"
package.readme = "README.md"
package.rust-version = "1.89"

[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"

[profile.profiling]
inherits = "release"
debug = true

[profile.dist]
inherits = "release"

[workspace.dependencies]
axum = "0.8.4"
bitcoin = { version = "0.32.7", features = ["serde"] }
bitcoincore-rpc = "0.19.0"
brk_bundler = { version = "0.0.90", path = "crates/brk_bundler" }
brk_cli = { version = "0.0.90", path = "crates/brk_cli" }
brk_computer = { version = "0.0.90", path = "crates/brk_computer" }
brk_error = { version = "0.0.90", path = "crates/brk_error" }
brk_fetcher = { version = "0.0.90", path = "crates/brk_fetcher" }
brk_indexer = { version = "0.0.90", path = "crates/brk_indexer" }
brk_interface = { version = "0.0.90", path = "crates/brk_interface" }
brk_logger = { version = "0.0.90", path = "crates/brk_logger" }
brk_mcp = { version = "0.0.90", path = "crates/brk_mcp" }
brk_parser = { version = "0.0.90", path = "crates/brk_parser" }
brk_server = { version = "0.0.90", path = "crates/brk_server" }
brk_store = { version = "0.0.90", path = "crates/brk_store" }
brk_structs = { version = "0.0.90", path = "crates/brk_structs" }
byteview = "=0.6.1"
derive_deref = "1.1.1"
fjall = "2.11.2"
jiff = "0.2.15"
log = "0.4.27"
minreq = { version = "2.14.0", features = ["https", "serde_json"] }
parking_lot = "0.12.4"
rayon = "1.11.0"
serde = "1.0.219"
serde_bytes = "0.11.17"
serde_derive = "1.0.219"
serde_json = { version = "1.0.143", features = ["float_roundtrip"] }
tokio = { version = "1.47.1", features = ["rt-multi-thread"] }
# vecdb = { path = "../seqdb/crates/vecdb", features = ["derive"]}
vecdb = { version = "0.2.4", features = ["derive"]}
zerocopy = "0.8.26"
zerocopy-derive = "0.8.26"

[workspace.metadata.release]
shared-version = true
tag-name = "v{{version}}"
pre-release-commit-message = "release: v{{version}}"
tag-message = "release: v{{version}}"

[workspace.metadata.dist]
cargo-dist-version = "0.29.0"
ci = "github"
allow-dirty = ["ci"]
installers = []
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
rust-toolchain-version = "1.89"
