mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -05:00
4790d701e5
Making build times considerably faster. On my machine, after running `cargo clean`, `cargo build -p swap` takes 2min 19s. The updated dependency also comes with a critical fix to the `Scalar` type, which originally wrongly assumed that secp256k1 and ed25519 scalars had the same endianness. For this reason, we now have to reverse the bytes of recovered scalars if we are to use them on a different chain. Finally, there is no need to append `RUST_MIN_STACK=100000000` to avoid stack overflows in tests and when running the binary.
40 lines
1.5 KiB
TOML
40 lines
1.5 KiB
TOML
[package]
|
|
name = "xmr-btc"
|
|
version = "0.1.0"
|
|
authors = ["CoBloX Team <team@coblox.tech>"]
|
|
edition = "2018"
|
|
|
|
# TODO: Check for stale dependencies, this looks like its a bit of a mess.
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-trait = "0.1"
|
|
bitcoin = { version = "0.23", features = ["rand", "serde"] }
|
|
cross-curve-dleq = { git = "https://github.com/comit-network/cross-curve-dleq", rev = "a19608734da1e8803cb4c806022483df4e7d5588", features = ["serde"] }
|
|
curve25519-dalek = "2"
|
|
ecdsa_fun = { git = "https://github.com/LLFourn/secp256kfun", rev = "510d48ef6a2b19805f7f5c70c598e5b03f668e7a", features = ["libsecp_compat", "serde", "serialization"] }
|
|
ed25519-dalek = { version = "1.0.0-pre.4", features = ["serde"] }# Cannot be 1 because they depend on curve25519-dalek version 3
|
|
futures = "0.3"
|
|
genawaiter = "0.99.1"
|
|
miniscript = { version = "1", features = ["serde"] }
|
|
monero = { version = "0.9", features = ["serde_support"] }
|
|
rand = "0.7"
|
|
serde = { version = "1", features = ["derive"] }
|
|
sha2 = "0.9"
|
|
thiserror = "1"
|
|
tokio = { version = "0.2", default-features = false, features = ["time"] }
|
|
tracing = "0.1"
|
|
|
|
[dev-dependencies]
|
|
backoff = { version = "0.2", features = ["tokio"] }
|
|
base64 = "0.12"
|
|
bitcoin-harness = { git = "https://github.com/coblox/bitcoin-harness-rs", rev = "3be644cd9512c157d3337a189298b8257ed54d04" }
|
|
futures = "0.3"
|
|
monero-harness = { path = "../monero-harness" }
|
|
reqwest = { version = "0.10", default-features = false }
|
|
serde_cbor = "0.11"
|
|
tempfile = "3"
|
|
testcontainers = "0.11"
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.2"
|