mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-31 15:20:15 +00:00
28225f8643
This introduces a lot of duplication between the binary and the library, but it's okay because this module should only be a temporary measure until we allow recovery to be handled by the original state machine. Also, fix a bug in `xmr_btc::alice::action_generator` caused by the incorrect assumption that Alice's ability to punish Bob could be determined before the cancel transaction hits the blockchain.
54 lines
2.0 KiB
TOML
54 lines
2.0 KiB
TOML
[package]
|
|
name = "swap"
|
|
version = "0.1.0"
|
|
authors = ["CoBloX developers <team@coblox.tech>"]
|
|
edition = "2018"
|
|
description = "XMR/BTC trustless atomic swaps."
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-trait = "0.1"
|
|
atty = "0.2"
|
|
backoff = { version = "0.2", features = ["tokio"] }
|
|
base64 = "0.12"
|
|
bitcoin = { version = "0.23", features = ["rand", "use-serde"] } # TODO: Upgrade other crates in this repo to use this version.
|
|
bitcoin-harness = { git = "https://github.com/coblox/bitcoin-harness-rs", rev = "3be644cd9512c157d3337a189298b8257ed54d04" }
|
|
derivative = "2"
|
|
ecdsa_fun = { git = "https://github.com/LLFourn/secp256kfun", rev = "510d48ef6a2b19805f7f5c70c598e5b03f668e7a", features = ["libsecp_compat", "serde", "serialization"] }
|
|
futures = { version = "0.3", default-features = false }
|
|
genawaiter = "0.99.1"
|
|
libp2p = { version = "0.29", default-features = false, features = ["tcp-tokio", "yamux", "mplex", "dns", "noise", "request-response"] }
|
|
libp2p-tokio-socks5 = "0.4"
|
|
log = { version = "0.4", features = ["serde"] }
|
|
monero = { version = "0.9", features = ["serde_support"] }
|
|
monero-harness = { path = "../monero-harness" }
|
|
prettytable-rs = "0.8"
|
|
rand = "0.7"
|
|
reqwest = { version = "0.10", default-features = false, features = ["socks"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_cbor = "0.11"
|
|
serde_derive = "1.0"
|
|
serde_json = "1"
|
|
sled = "0.34"
|
|
structopt = "0.3"
|
|
tempfile = "3"
|
|
time = "0.2"
|
|
tokio = { version = "0.2", features = ["rt-threaded", "time", "macros", "sync"] }
|
|
torut = { version = "0.1" }
|
|
tracing = { version = "0.1", features = ["attributes"] }
|
|
tracing-core = "0.1"
|
|
tracing-futures = { version = "0.2", features = ["std-future", "futures-03"] }
|
|
tracing-log = "0.1"
|
|
tracing-subscriber = { version = "0.2", default-features = false, features = ["fmt", "ansi", "env-filter"] }
|
|
url = "2.1"
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
|
void = "1"
|
|
xmr-btc = { path = "../xmr-btc" }
|
|
|
|
[dev-dependencies]
|
|
hyper = "0.13"
|
|
port_check = "0.1"
|
|
spectral = "0.6"
|
|
tempfile = "3"
|
|
testcontainers = "0.11"
|