# 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"
name = "kaccy-bitcoin"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bitcoin integration for Kaccy Protocol - HD wallets, UTXO management, and transaction building"
homepage = "https://github.com/cool-japan/kaccy"
documentation = "https://docs.rs/kaccy"
readme = "README.md"
keywords = [
    "bitcoin",
    "wallet",
    "lightning",
    "utxo",
    "cryptocurrency",
]
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/kaccy"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "address_derivation"
path = "benches/address_derivation.rs"
harness = false

[[bench]]
name = "batch_optimization"
path = "benches/batch_optimization.rs"
harness = false

[[bench]]
name = "transaction_parsing"
path = "benches/transaction_parsing.rs"
harness = false

[[bench]]
name = "utxo_selection"
path = "benches/utxo_selection.rs"
harness = false

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

[dependencies.base64]
version = "0.22"

[dependencies.bip39]
version = "2.2"
features = ["rand"]

[dependencies.bitcoin]
version = "0.32"

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

[dependencies.bs58]
version = "0.5"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6"

[dependencies.hex]
version = "0.4"

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
]

[dependencies.secp256k1]
version = "0.31"
features = ["rand"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.51"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
