-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
111 lines (97 loc) · 3.94 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
cargo-features = ["named-profiles"]
[workspace]
resolver = "2"
members = [
"android-bindings",
"benchmarks",
"fog/api",
"fog/distribution",
"fog/fog_types",
"fog/ingest/client",
"fog/ingest/enclave",
"fog/ingest/enclave/api",
"fog/ingest/enclave/edl",
"fog/ingest/enclave/impl",
"fog/ingest/enclave/measurement",
"fog/ingest/server",
"fog/kex_rng",
"fog/ledger/connection",
"fog/ledger/enclave",
"fog/ledger/enclave/api",
"fog/ledger/enclave/edl",
"fog/ledger/enclave/impl",
"fog/ledger/enclave/measurement",
"fog/ledger/server",
"fog/load_testing",
"fog/ocall_oram_storage/edl",
"fog/ocall_oram_storage/testing",
"fog/ocall_oram_storage/trusted",
"fog/ocall_oram_storage/untrusted",
"fog/recovery_db_iface",
"fog/report/cli",
"fog/report/server",
"fog/sample-paykit",
"fog/sql_recovery_db",
"fog/test-client",
"fog/test_infra",
"fog/uri",
"fog/view/connection",
"fog/view/enclave",
"fog/view/enclave/api",
"fog/view/enclave/edl",
"fog/view/enclave/impl",
"fog/view/enclave/measurement",
"fog/view/load-test",
"fog/view/protocol",
"fog/view/server",
"generate_test_foundation_key",
"libmobilecoin",
"util/ffi",
]
exclude = [
"mobilecoin",
"fog/ingest/enclave/trusted",
"fog/ledger/enclave/trusted",
"fog/view/enclave/trusted",
]
[profile.dev]
opt-level = 0
[profile.release]
debug = true
opt-level = 3
rpath = false
lto = false
debug-assertions = false
overflow-checks = false
[profile.mobile]
inherits = "release"
debug = false
lto = true
[patch.crates-io]
# 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" }
# mbedtls patched to allow certificate verification with a profile
mbedtls = { git = "https://github.com/mobilecoinofficial/rust-mbedtls.git", rev = "c7fa3f0c737f36af8f437e147131d1f5c8a90b0e" }
mbedtls-sys-auto = { git = "https://github.com/mobilecoinofficial/rust-mbedtls.git", rev = "c7fa3f0c737f36af8f437e147131d1f5c8a90b0e" }
# prost is patched with no_std support (https://github.com/danburkert/prost/pull/319)
# current revision is from jun 13 2020, waiting for a new prost release
# https://github.com/danburkert/prost/issues/329
prost = { git = "https://github.com/danburkert/prost", rev = "6113789f70b69709820becba4242824b4fb3ffec" }
prost-derive = { git = "https://github.com/danburkert/prost", rev = "6113789f70b69709820becba4242824b4fb3ffec" }
# Override lmdb-rkv for a necessary bugfix (see https://github.com/mozilla/lmdb-rs/pull/80)
lmdb-rkv = { git = "https://github.com/mozilla/lmdb-rs", rev = "df1c2f5" }
# Fix issue with serde/std
serde_cbor = { git = "https://github.com/mobilecoinofficial/cbor", rev = "4c886a7c1d523aae1ec4aa7386f402cb2f4341b5" }
# Not-yet-released version that depends on newer crates.
bulletproofs = { git = "https://github.com/eranrund/bulletproofs", rev = "8a7c9cdd1efafa3ad68cd65676302f925de68373" }
# ed25519-dalek depends on rand 0.7 which in turns depends on a broken version of packed_simd
# This is a PR that moves it to newer rand
# See https://github.com/dalek-cryptography/ed25519-dalek/pull/160
ed25519-dalek = { git = "https://github.com/eranrund/ed25519-dalek.git", rev = "484369672f45d776fe13fdd17618aed2f4047909" }
# Bump curve25519-dalek version to 4.0.0-pre0
x25519-dalek = { git = "https://github.com/eranrund/x25519-dalek.git", rev = "57c04e5c5aca3551c015167d8176393fbe76dc65" }
# Overridden since we need a commit that uprevs a bunch of dependencies.
schnorrkel = { git = "https://github.com/mobilecoinofficial/schnorrkel", rev = "fa27d0ed32d251a27399a23d3ef69611acb14d56" }
# This version contains iOS build fixes
cmake = { git = "https://github.com/alexcrichton/cmake-rs", rev = "5f89f90ee5d7789832963bffdb2dcb5939e6199c" }