-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathCargo.toml
76 lines (63 loc) · 1.84 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
[package]
name = "tandem_http_client"
version = "0.3.0"
edition = "2021"
rust-version = "1.60.0"
description = "HTTP client for the Tandem SMPC engine"
repository = "https://github.com/sine-fdn/tandem/tree/main/tandem_http_client"
license = "MIT"
categories = ["cryptography", "command-line-utilities"]
keywords = [
"crypto",
"secure-computation",
"garbled-circuits",
"circuit-description",
"smpc",
]
[[bin]]
name = "tandem_http_client"
path = "src/main.rs"
required-features = ["bin"] # to avoid wasm-pack trying to build main.rs
[lib]
crate-type = ["cdylib", "rlib"]
bench = false
[features]
default = ["console_error_panic_hook"]
bin = []
[dependencies]
tandem = { version = "0.3.0", path = "../tandem" }
url = "2.5"
rand_chacha = "0.3.1"
bincode = "1.3"
getrandom = { version = "0.2", features = ["js"] }
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6"
serde_json = "1.0"
reqwest = { version = "0.12", features = ["json"] }
tandem_garble_interop = { version = "0.3.0", path = "../tandem_garble_interop" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = ["full"] }
clap = { version = "4.5", features = ["derive"] }
anyhow = "1.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4"
console_error_panic_hook = { version = "0.1", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
rand = "0.8.5"
assert_cmd = "2.0"
predicates = "3.1"
criterion = { version = "0.5", features = ["async_tokio"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
console_log = "1.0"
js-sys = "0.3"
[[bench]]
name = "multiplications"
harness = false
[[bench]]
name = "credit_scoring"
harness = false
[[bench]]
name = "circuits"
harness = false