forked from fedimint/fedimint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
103 lines (94 loc) · 3.08 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
[workspace]
members = [
"crypto/aead",
"crypto/derive-secret",
"crypto/hkdf",
"crypto/tbs",
"gateway/ln-gateway",
"gateway/cli",
"fedimintd",
"fedimint-bip39",
"fedimint-bitcoind",
"fedimint-cli",
"fedimint-client",
"fedimint-core",
"fedimint-dbtool",
"fedimint-derive",
"fedimint-load-test-tool",
"fedimint-logging",
"fedimint-metrics",
"fedimint-rocksdb",
"fedimint-server",
"fedimint-testing",
"fedimint-wasm-tests",
"modules/fedimint-dummy-common",
"modules/fedimint-dummy-client",
"modules/fedimint-dummy-server",
"modules/fedimint-dummy-tests",
"modules/fedimint-mint-common",
"modules/fedimint-mint-client",
"modules/fedimint-mint-server",
"modules/fedimint-mint-tests",
"modules/fedimint-ln-common",
"modules/fedimint-ln-client",
"modules/fedimint-ln-server",
"modules/fedimint-ln-tests",
"modules/fedimint-wallet-common",
"modules/fedimint-wallet-client",
"modules/fedimint-wallet-server",
"modules/fedimint-wallet-tests",
"utils/portalloc",
"devimint",
"fedimint-build",
"recoverytool"
]
resolver = "2"
[workspace.metadata]
name = "fedimint"
version = "0.2.0-alpha"
authors = ["The Fedimint Developers"]
edition = "2021"
description = "Fedimint is a prototype Federated Chaumian E-Cash Mint implementation, natively compatible with Bitcoin & the Lightning Network. This project is under heavy development, DO NOT USE WITH REAL FUNDS."
documentation = "https://github.com/fedimint/fedimint/tree/master/docs"
readme = "README.md"
homepage = "https://fedimint.org"
repository = "https://github.com/fedimint/fedimint"
license-file = "LICENSE"
keywords = ["bitcoin", "lightning", "chaumian", "e-cash", "federated"]
[workspace.dependencies]
threshold_crypto = { version = "0.1", package = "fedimint-threshold-crypto" }
hbbft = { version= "0.1", package = "fedimint-hbbft" }
tonic_lnd = { version = "0.1.3", package="fedimint-tonic-lnd", features = ["lightningrpc", "routerrpc"] }
cln-rpc = { package = "fedimint-cln-rpc", version = "0.4.0" }
# Workaround: https://github.com/rust-lang/cargo/issues/12457 which causes
# https://github.com/ipetkov/crane/issues/370
[profile.dev.build-override]
debug = false
[profile.ci.build-override]
debug = false
[profile.dev]
# in dev mode optimize crates that are perf-critical (usually just crypto crates)
[profile.dev.package]
secp256k1 = { opt-level = 3 }
secp256k1-zkp = { opt-level = 3 }
secp256k1-sys = { opt-level = 3 }
secp256k1-zkp-sys = { opt-level = 3 }
bitcoin_hashes = { opt-level = 3 }
ff = { opt-level = 3 }
group = { opt-level = 3 }
pairing = { opt-level = 3 }
rand_core = { opt-level = 3 }
byteorder = { opt-level = 3 }
zeroize = { opt-level = 3 }
bls12_381 = { opt-level = 3 }
subtle = { opt-level = 3 }
ring = { opt-level = 3 }
fedimint-threshold-crypto = { opt-level = 3 }
[profile.ci]
inherits = "dev"
debug = "line-tables-only"
incremental = false
[profile.release]
debug = "line-tables-only"
[patch.crates-io]
secp256k1-zkp = { git = "https://github.com/dpc/rust-secp256k1-zkp/", branch = "sanket-pr" }