forked from sine-fdn/tandem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (47 loc) · 1.47 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
[package]
name = "tandem_http_server"
version = "0.3.0"
edition = "2021"
rust-version = "1.60.0"
description = "HTTP server for the Tandem SMPC engine"
repository = "https://github.com/sine-fdn/tandem/tree/main/tandem_http_server"
license = "MIT"
categories = ["cryptography", "command-line-utilities"]
keywords = [
"crypto",
"secure-computation",
"garbled-circuits",
"circuit-description",
"smpc",
]
[dependencies]
tandem = { version = "0.3.0", path = "../tandem" }
rocket = { version = "0.5.0", features = ["json"] }
rand = "0.8.3"
rand_chacha = "0.3.1"
bincode = "1.3"
serde_json = "1.0"
uuid = { version = "1.6", features = ["serde", "v4"] }
blake3 = "1.5"
url = "2.5"
# # IF YOU WANT TO BUILD main.rs WITHOUT ANY FEATURES (FOR DEV):
# tandem_garble_interop = { version = "0.3.0", path = "../tandem_garble_interop" }
# figment = { version = "0.10", features = ["env", "toml", "json"] }
# serde = { version = "1.0" }
# IF YOU WANT TO BUILD main.rs ONLY WITH `bin` FEATURE (FOR RELEASE):
tandem_garble_interop = { version = "0.3.0", path = "../tandem_garble_interop", optional = true }
figment = { version = "0.10", features = [
"env",
"toml",
"json",
], optional = true }
serde = { version = "1.0", optional = true }
[features]
bin = ["tandem_garble_interop", "figment", "serde"]
[[bin]]
name = "tandem_http_server"
required-features = ["bin"]
[dev-dependencies]
tandem_garble_interop = { version = "0.3.0", path = "../tandem_garble_interop" }
[lib]
bench = false