2020-10-15 18:14:39 -04:00
|
|
|
[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"
|
2020-10-20 23:41:50 -04:00
|
|
|
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 = "d402b36d3d6406150e3bfb71492ff4a0a7cb290e" }
|
2020-10-15 18:14:39 -04:00
|
|
|
derivative = "2"
|
|
|
|
futures = { version = "0.3", default-features = false }
|
2020-10-21 22:39:18 -04:00
|
|
|
libp2p = { version = "0.29", default-features = false, features = ["tcp-tokio", "yamux", "mplex", "dns", "noise", "request-response"] }
|
|
|
|
libp2p-tokio-socks5 = "0.4"
|
2020-10-15 18:14:39 -04:00
|
|
|
log = { version = "0.4", features = ["serde"] }
|
|
|
|
monero = "0.9"
|
|
|
|
rand = "0.7"
|
2020-10-22 19:32:48 -04:00
|
|
|
reqwest = { version = "0.10", default-features = false, features = ["socks"] }
|
2020-10-15 18:14:39 -04:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2020-10-22 22:13:17 -04:00
|
|
|
serde_cbor = "0.11"
|
2020-10-15 18:14:39 -04:00
|
|
|
serde_derive = "1.0"
|
|
|
|
serde_json = "1"
|
2020-10-22 22:13:17 -04:00
|
|
|
sled = "0.34"
|
2020-10-15 18:14:39 -04:00
|
|
|
structopt = "0.3"
|
2020-10-22 22:13:17 -04:00
|
|
|
tempfile = "3"
|
2020-10-15 18:14:39 -04:00
|
|
|
time = "0.2"
|
|
|
|
tokio = { version = "0.2", features = ["rt-threaded", "time", "macros", "sync"] }
|
2020-10-22 19:32:48 -04:00
|
|
|
torut = { version = "0.1", optional = true }
|
2020-10-15 18:14:39 -04:00
|
|
|
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"] }
|
2020-10-21 18:58:22 -04:00
|
|
|
url = "2.1"
|
2020-10-15 18:14:39 -04:00
|
|
|
void = "1"
|
2020-10-22 19:32:48 -04:00
|
|
|
xmr-btc = { path = "../xmr-btc" }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
hyper = "0.13"
|
|
|
|
port_check = "0.1"
|
|
|
|
spectral = "0.6"
|
|
|
|
tempfile = "3"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
tor = ["torut"]
|