-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
67 lines (53 loc) · 2.35 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
[package]
name = "tofnd"
version = "1.0.1"
authors = ["Interoplabs Eng <eng@interoplabs.io>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A cryptographic signing service, used by the Axelar network"
keywords = ["cryptography", "blockchain", "axelar", "ecdsa", "ed25519"]
[dependencies]
tofn = { version = "1.1" }
# logging
log = { version = "0.4",default-features = false }
tracing = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
atty = { version = "0.2", default-features = false }
# CLI args
clap = { version = "4.5", default-features = false, features = ["std", "cargo", "env", "string", "help"] }
# kv store
sled = { version = "0.34", default-features = false }
serde = { version = "1.0", features = ["derive"], default-features = false }
dirs = { version = "5.0", default-features = false }
# kv store encryption
chacha20poly1305 = { version = "0.10", features = ["alloc"], default-features = false }
rand = { version = "0.8", default-features = false }
rpassword = { version = "5.0", default-features = false } # future versions don't support reading both from stdin and tty at the same time
scrypt = { version = "0.11", default-features = false, features = ["std"] }
# gRPC server
tonic = { version = "0.12" } # ensure tonic-build version matches this
prost = { version = "0.13" }
# async runtime
tokio = { version = "1.38", features = ["rt-multi-thread", "macros", "signal", "net", "sync"], default-features = false }
tokio-stream = { version = "0.1.15", features = ["net"], default-features = false }
futures-util = { version = "0.3", default-features = false }
# mnemonic
tiny-bip39 = { version = "1.0.0", default-features = false}
zeroize = { version = "1.8", features = ["zeroize_derive"], default-features = false}
# error handling
thiserror = { version = "1.0", default-features = false }
anyhow = { version = "1.0", default-features = false }
[build-dependencies]
tonic-build = { version = "0.12" }
[dev-dependencies]
lazy_static = { version = "1.5", default-features = false}
tracing-test = { version = "0.2", default-features = false }
testdir = { version = "0.9", default-features = false }
goldie = { version = "0.5" }
hex = { version = "0.4" }
# Don't abort in case there is a panic to clean up data
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
[features]