forked from kindelia/Kindelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (69 loc) · 1.61 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
[package]
name = "kindelia"
version = "0.1.5"
edition = "2021"
description = "An efficient, secure cryptocomputer."
license = "MIT"
repository = "https://github.com/Kindelia/Kindelia"
[features]
default = ["events"]
events = ["dep:futures-util"]
[profile.dev_fast]
inherits = "dev"
opt-level = 3
[lib]
bench = false
[[bin]]
name = "kindelia"
path = "src/main.rs"
bench = false
[[bench]]
name = "bench"
harness = false
# Docs: https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
fastrand = "1.7.0"
rand = "0.8.5"
# Util
dirs = "4.0.0"
hex = "0.4"
derive_builder = "0.11.2"
# Crypto
secp256k1 = { version = "0.22.1", features = [
"rand-std",
"recovery",
"global-context",
] }
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
sha3 = "0.9.1"
# CLI / configuration
clap = { version = "3.1.3", features = ["derive"] }
toml = "0.5.9"
# Datastructures
bit-vec = "0.6.3"
im = "15.0.0"
# nohash-hasher = "0.2.0" # inlined, because we need u128
primitive-types = { version = "0.11.1" }
priority-queue = "1.2.1"
# num = "0.1.36"
# API
chrono = "0.4.22"
json = "0.12.4"
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0"
serde_with = { version = "2.0.0", features = ["hex"] }
tokio = { version = "1.19.1", features = ["full"] }
tokio-stream = { version = "0.1.9", features = ["net"] }
warp = "0.3"
# Events API
futures-util = { version = "0.3.21", optional = true }
[dev-dependencies]
proptest = "1.0.0"
rstest = "0.15.0"
rstest_reuse = "0.4.0"
assert_cmd = "1.0.1"
httpmock = "0.6.6"
petgraph = "0.6.2"
# Benchmarking
criterion = "0.3"