forked from mobilecoinofficial/full-service-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
85 lines (65 loc) · 3.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[package]
name = "mc-wallet-service-mirror"
version = "0.6.0-pre1"
authors = ["MobileCoin"]
edition = "2018"
resolver = "2"
[[bin]]
name = "wallet-service-mirror-private"
path = "src/private/main.rs"
[[bin]]
name = "wallet-service-mirror-public"
path = "src/public/main.rs"
[[bin]]
name = "generate-rsa-keypair"
path = "src/generate-rsa-keypair/main.rs"
[dependencies]
mc-api = { path = "full-service/mobilecoin/api" }
mc-common = { path = "full-service/mobilecoin/common", features = ["loggers"] }
mc-util-grpc = { path = "full-service/mobilecoin/util/grpc" }
mc-util-uri = { path = "full-service/mobilecoin/util/uri" }
boring = "2.0"
futures = "0.3"
generic-array = "0.12"
grpcio = "0.9.0"
hex = "0.4"
protobuf = "2.12"
rand = "0.8"
reqwest = { version = "0.10", default-features = false, features = ["rustls-tls", "gzip", "blocking"] }
rocket = { version = "0.4.5", default-features = false }
rocket_contrib = { version = "0.4.5", default-features = false, features = ["json"] }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
structopt = "0.3"
x509-parser = { version = "0.8", features = ["verify"] }
[dev-dependencies]
rand_hc = "0.3"
rand_core = { version = "0.6", default-features = false }
[build-dependencies]
# Even though this is unused, it needs to be here otherwise Cargo brings in some weird mixture of packages/features that refuses to compile.
# Go figure ¯\_(ツ)_/¯
serde = { version = "1", default-features = false, features = ["alloc", "derive"] }
mc-util-build-grpc = { path = "full-service/mobilecoin/util/build/grpc" }
mc-util-build-script = { path = "full-service/mobilecoin/util/build/script" }
cargo-emit = "0.1.1"
[patch.crates-io]
# Fork and rename to use "OG" dalek-cryptography.
bulletproofs-og = { git = "https://github.com/mobilecoinfoundation/bulletproofs.git", rev = "675330c754f28876dbf94fc303fe73666cf8f8f4" }
# This version contains iOS build fixes
cmake = { git = "https://github.com/alexcrichton/cmake-rs", rev = "5f89f90ee5d7789832963bffdb2dcb5939e6199c" }
# Fix issues with recent nightlies, bump curve25519-dalek version
ed25519-dalek = { git = "https://github.com/mobilecoinfoundation/ed25519-dalek.git", rev = "78bdc2a0b0af852cb4e47a0ca9be74bdf77c57b6" }
# grpcio patched with metadata
grpcio = { git = "https://github.com/mobilecoinofficial/grpc-rs", rev = "10ba9f8f4546916c7e7532c4d1c6cdcf5df62553" }
protoc-grpcio = { git = "https://github.com/mobilecoinofficial/protoc-grpcio", rev = "9e63f09ec408722f731c9cb60bf06c3d46bcabec" }
# packed_simd_2 has unreleased fixes for build issues we're experiencing
packed_simd_2 = { git = "https://github.com/rust-lang/packed_simd.git", rev = "f60e900f4ceb71303baa37ff8b41ee7d490c01bf" }
# Fork and rename to use "OG" dalek-cryptography.
schnorrkel-og = { git = "https://github.com/mobilecoinfoundation/schnorrkel.git", rev = "9b48418556b0af476be2313309bc5a23fb8b351d" }
# Fixes the following:
# * Allow enabling `serde/std` without also requiring `serde_cbor/std` to be enabled.
# See: https://github.com/pyfisch/cbor/pull/198
serde_cbor = { git = "https://github.com/mobilecoinofficial/cbor", rev = "4c886a7c1d523aae1ec4aa7386f402cb2f4341b5" }
# Fix issues with recent nightlies, bump curve25519-dalek version
x25519-dalek = { git = "https://github.com/mobilecoinfoundation/x25519-dalek.git", rev = "672f29ef4b3addd9a3c4888cf4b836b243bda595" }