Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
217 changes: 79 additions & 138 deletions Cargo.lock

Large diffs are not rendered by default.

178 changes: 176 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[workspace]
# https://doc.rust-lang.org/beta/cargo/reference/features.html#feature-resolver-version-2
resolver = "2"
members = [
"mm2src/coins_activation",
"mm2src/coins",
Expand Down Expand Up @@ -47,8 +49,180 @@ exclude = [
"mm2src/mm2_test_helpers",
]

# https://doc.rust-lang.org/beta/cargo/reference/features.html#feature-resolver-version-2
resolver = "2"
[workspace.dependencies]
aes = "0.8.3"
argon2 = { version = "0.5.2", features = ["zeroize"] }
arrayref = "0.3"
anyhow = "1.0"
async-std = "1.5"
async-trait = "0.1"
async-stream = "0.3"
backtrace = "0.3"
base64 = "0.21.2"
bech32 = "0.9.1"
bs58 = "0.4.0"
bigdecimal = { version = "0.3", features = ["serde"] }
bip32 = { version = "0.2.2", default-features = false, features = ["alloc", "secp256k1-ffi"] }
bip39 = { version = "2.0.0", features = ["rand_core", "zeroize"], default-features = false }
bitcoin = "0.29"
bitcoin_hashes = "0.11"
blake2 = "0.10.6"
blake2b_simd = "0.5.10"
bytes = "1.1"
byteorder = "1.3"
cbc = "0.1.2"
cc = "1.0"
cipher = "0.4.4"
chrono = "0.4.23"
cfg-if = "1.0"
clap = { version = "4.2", features = ["derive"] }
cosmrs = { version = "0.16", default-features = false }
crossbeam = "0.8"
crossbeam-channel = "0.5.1"
compatible-time = { version = "1.1.0", package = "web-time" }
crc32fast = { version = "1.3.2", features = ["std", "nightly"] }
derive_more = "0.99"
directories = "5.0"
dirs = "1"
ed25519-dalek = { version = "1.0.1", features = ["serde"] }
either = "1.6"
enum-primitive-derive = "0.2"
env_logger = "0.9.3"
ethabi = "17.0.0"
ethcore-transaction = { git = "https://github.com/KomodoPlatform/mm2-parity-ethereum.git", rev = "mm2-v2.1.1" }
ethereum-types = { version = "0.13", default-features = false, features = ["std", "serialize"] }
ethkey = { git = "https://github.com/KomodoPlatform/mm2-parity-ethereum.git", rev = "mm2-v2.1.1" }
# Waiting for https://github.com/rust-lang/rust/issues/54725 to use on Stable.
#enum_dispatch = "0.1"
ff = "0.8"
findshlibs = "0.5"
# using select macro requires the crate to be named futures, compilation failed with futures03 name
futures = { version = "0.3.1", default-features = false }
futures01 = { version = "0.1", package = "futures" }
futures-rustls = { version = "0.24", default-features = false }
futures-ticker = "0.0.3"
futures-timer = "3.0"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
fnv = "1.0.6"
group = "0.8.0"
gstuff = { version = "0.7", features = ["nightly"] }
hash256-std-hasher = "0.15.2"
hash-db = "0.15.2"
hex = "0.4.2"
hmac = "0.12.1"
http = "0.2"
http-body = "0.4"
httparse = "1.8.0"
hyper = "0.14.26"
hyper-rustls = { version = "0.24", default-features = false }
indexmap = "1.7.0"
inquire = "0.6"
itertools = "0.10"
jemallocator = "0.5.0"
jubjub = "0.5.1"
js-sys = "0.3.27"
# Same version as `web3` depends on.
jsonrpc-core = "18.0.0"
lazy_static = "1.4"
libc = "0.2"
libp2p = { git = "https://github.com/KomodoPlatform/rust-libp2p.git", tag = "k-0.52.12", default-features = false }
lightning = "0.0.113"
lightning-background-processor = "0.0.113"
lightning-invoice = { version = "0.21.0", features = ["serde"] }
lightning-net-tokio = "0.0.113"
instant = "0.1.12"
log = "0.4"
metrics = "0.21"
metrics-exporter-prometheus = "0.12.1"
metrics-util = "0.15"
mocktopus = "0.8.0"
nom = "6.1.2"
num-bigint = { version = "0.4", features = ["serde", "std"] }
num-rational = { version = "0.4", features = ["serde"] }
parity-util-mem = "0.11"
num-traits = "0.2"
parking_lot = { version = "0.12.0", default-features = false }
parking_lot_core = { version = "0.6", features = ["nightly"] }
passwords = "3.1"
paste = "1.0"
pin-project = "1.1.2"
primitive-types = "0.11.1"
prost = "0.12"
prost-build = { version = "0.12", default-features = false }
protobuf = "2.20"
proc-macro2 = "1.0"
quote = "1.0"
regex = "1"
reqwest = { version = "0.11.9", default-features = false, features = ["json"] }
rand = { version = "0.7", default-features = false, features = ["std", "small_rng", "wasm-bindgen"] }
rcgen = "0.10"
ripemd160 = "0.9.0"
rlp = "0.5"
rmp-serde = "0.14.3"
rusb = { version = "0.7.0", features = ["vendored"] }
rustc-hash = "2.0"
rustc-hex = "2"
rust-ini = "0.13"
rustls = { version = "0.21", default-features = false }
rustls-pemfile = "1.0.2"
rusqlite = { version = "0.28", features = ["bundled"] }
secp256k1 = "0.20"
secp256k1v24 = { version = "0.24", package = "secp256k1" }
serde = { version = "1", default-features = false }
serde_bytes = "0.11.5"
serde_derive = { version = "1", default-features = false }
serde_json = { version = "1", features = ["preserve_order", "raw_value"] }
serde_with = "1.14.0"
serde_repr = "0.1.6"
serde-wasm-bindgen = "0.4.3"
sha-1 = "0.9"
sha2 = "0.10"
sha3 = "0.9"
sia-rust = { git = "https://github.com/KomodoPlatform/sia-rust", rev = "9f188b80b3213bcb604e7619275251ce08fae808" }
siphasher = "0.1.1"
smallvec = "1.6.1"
sp-runtime-interface = { version = "6.0.0", default-features = false, features = ["disable_target_static_assertions"] }
sp-trie = { version = "6.0", default-features = false }
sql-builder = "3.1.1"
syn = "1.0"
sysinfo = "0.28"
# using the same version as cosmrs
tendermint-rpc = { version = "0.35", default-features = false }
testcontainers = "0.15.0"
tiny-bip39 = "0.8.0"
thiserror = "1.0.30"
time = "0.3.20"
timed-map = { version = "1.4", features = ["rustc-hash", "wasm"] }
tokio = { version = "1.20", default-features = false }
tokio-rustls = { version = "0.24", default-features = false }
tokio-tungstenite-wasm = { git = "https://github.com/KomodoPlatform/tokio-tungstenite-wasm", rev = "d20abdb", defautl-features = false, features = ["rustls-tls-native-roots"]}
tonic = { version = "0.10", default-features = false }
tonic-build = { version = "0.10", default-features = false, features = ["prost"] }
tower-service = "0.3"
trie-db = { version = "0.23.1", default-features = false }
trie-root = "0.16.0"
url = { version = "2.2.2", features = ["serde"] }
uint = "0.9.3"
uuid = { version = "1.2.2", features = ["fast-rng", "serde", "v4"] }
void = "1.0"
wagyu-zcash-parameters = { version = "0.2" }
wasm-bindgen = "0.2.86"
wasm-bindgen-futures = "0.4.21"
wasm-bindgen-test = "0.3.2"
webpki-roots = "0.25"
web-sys = {version = "0.3.55", default-features = false }
# we don't need the default web3 features at all since we added our own web3 transport using shared httparse.workspace = true instance.
# one of web3 dependencies is the old `tokio-uds 0.1.7` which fails cross-compiling to arm.
# we don't need the default web3 features at all since we added our own web3 transport using shared hyper instance.
web3 = { git = "https://github.com/komodoplatform/rust-web3", tag = "v0.20.0", default-features = false }
winapi = "0.3"
zbase32 = "0.1.2"
zcash_client_backend = { git = "https://github.com/komodoplatform/librustzcash.git", tag = "k-1.4.2" }
zcash_client_sqlite = { git = "https://github.com/KomodoPlatform/librustzcash.git", tag = "k-1.4.2" }
zcash_extras = { git = "https://github.com/komodoplatform/librustzcash.git", tag = "k-1.4.2" }
zcash_primitives = { git = "https://github.com/komodoplatform/librustzcash.git", tag = "k-1.4.2", features = ["transparent-inputs"] }
zcash_proofs = { git = "https://github.com/KomodoPlatform/librustzcash.git", tag = "k-1.4.2", default-features = false, features = ["local-prover", "multicore"] }
zeroize = { version = "1.5", features = ["zeroize_derive"] }

[profile.release]
debug = 0
Expand Down
45 changes: 23 additions & 22 deletions mm2src/adex_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,34 @@ description = "Provides a CLI interface and facilitates interoperating to komodo
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
anyhow = { version = "1.0", features = ["std"] }
async-trait = "0.1"
clap = { version = "4.2", features = ["derive"] }
anyhow = { workspace = true, features = ["std"] }
async-trait.workspace = true
clap.workspace = true
common = { path = "../common" }
derive_more = "0.99"
directories = "5.0"
env_logger = "0.9.3"
http = "0.2"
hyper = { version = "0.14.26", features = ["client", "http2", "tcp"] }
hyper-rustls = "0.24"
gstuff = { version = "0.7" , features = [ "nightly" ]}
inquire = "0.6"
itertools = "0.10"
log = "0.4.21"
derive_more.workspace = true
directories.workspace = true
env_logger.workspace = true
http.workspace = true
hyper = { workspace = true, features = ["client", "http2", "tcp"] }
hyper-rustls.workspace = true
stuff.workspace = true
inquire.workspace = true
itertools.workspace = true
log.workspace = true
mm2_net = { path = "../mm2_net" }
mm2_number = { path = "../mm2_number" }
mm2_rpc = { path = "../mm2_rpc"}
mm2_core = { path = "../mm2_core" }
passwords = "3.1"
passwords.workspace = true
rpc = { path = "../mm2_bitcoin/rpc" }
rustls = { version = "0.21", features = [ "dangerous_configuration" ] }
serde = "1.0"
serde_json = { version = "1", features = ["preserve_order", "raw_value"] }
sysinfo = "0.28"
tiny-bip39 = "0.8.0"
tokio = { version = "1.20.0", features = [ "macros" ] }
uuid = { version = "1.2.2", features = ["fast-rng", "serde", "v4"] }
rustls = { workspace = true, features = [ "dangerous_configuration" ] }
serde.workspace = true
serde_json = { workspace = true, features = ["preserve_order", "raw_value"] }
sysinfo.workspace = true
tiny-bip39.workspace = true
tokio = { workspace = true, features = [ "macros" ] }
uuid.workspace = true

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.3", features = ["processthreadsapi", "winnt"] }
winapi = { workspace = true, features = ["processthreadsapi", "winnt"] }

Loading
Loading