-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
83 lines (74 loc) · 2.71 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
#[lib]
# The name of the native library. This is the name which will be used in Python to import the
# library (i.e. `import string_sum`). If you change this, you must also change the name of the
# `#[pymodule]` in `src/lib.rs`.
#name = "autctbind"
# "cdylib" is necessary to produce a shared library for Python to import from.
#crate-type = ["cdylib"]
[package]
name = "autct"
version = "0.0.1"
edition = "2021"
[dependencies]
futures = {version = "0.3.3", features = ["executor"]}
rand = { version = "0.8", default-features = false }
bulletproofs = { git = "https://github.com/simonkamp/curve-trees", rev = "969e12a4d6695631fa39edece77aa392276f0c3c" }
relations = { git = "https://github.com/simonkamp/curve-trees", rev = "969e12a4d6695631fa39edece77aa392276f0c3c" }
ark-ff = { version = "0.4.0"}
ark-ec = { version = "0.4.0"}
ark-serialize = { version = "0.4.0" }
ark-std = { version = "0.4.0"}
ark-secp256k1 = "0.4.0"
ark-secq256k1 = "0.4.0"
merlin = { version = "2", default-features = false }
rust-crypto = "^0.2"
ark-crypto-primitives = { version = "0.4.0", features = ["signature"]}
digest = "0.9"
blake2 = "0.10"
rayon = {version = "1.5.3", optional = true}
hex = {version ="0.4.3", features = ["serde"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net"] }
toy-rpc = { version = "0.8.1", default-features = false, features = ["serde_json", "tokio_runtime", "ws_tokio", "server", "client"] }
eframe = "0.28.1"
rfd = "0.12"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_derive = "1.0"
confy = "^0.5"
clap = { version = "4", features = [
"derive",
"color",
"env",
"help",
] }
toml = "0.7"
blocks_iterator = {git = "https://github.com/RCasatta/blocks_iterator", rev = "a3eb1b2b9da52f8d9a3e24e8950aa2581696616e" }
bitcoin = { version = "0.31.1", features = ["serde", "rand-std"] }
structopt = "0.3.21"
env_logger = "0.10"
itertools = "0.12"
base64 = "^0.22.0"
aes-gcm-siv = "0.11.1"
rust-argon2 = "1.0.0"
bincode = "1.3.3"
anyhow = "1.0.60"
rpassword = "7.3"
[[bin]]
name = "autct"
path = "src/bin/autctbin.rs"
[[bin]]
name = "auditverifier"
path = "src/bin/gui.rs"
[features]
default = ["asm"]
asm = ["ark-ff/asm","bulletproofs/asm"]
parallel = ["rayon", "ark-ec/parallel", "ark-ff/parallel", "ark-std/parallel", "bulletproofs/parallel"]
[profile.release]
lto = true
[profile.test]
debug = false
debug-assertions = false
[build]
# Adds architecture specific optimizations including those enabling the asm backend for ark_ff. It could potentially cause slowdowns from other features.
rustflags = "-C target-cpu=native"
# You could alternatively add support for the asm backend through "-C target-feature=+bmi2,+adx", but the binary would only run on systems supporting these instructions.