forked from revault/revaultd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (48 loc) · 1.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
[package]
name = "revaultd"
version = "0.0.3"
authors = ["Antoine Poinsot <[email protected]>"]
edition = "2018"
repository = "https://github.com/revault/revaultd"
license-file = "LICENCE"
keywords = ["revault", "bitcoin", "vault"]
description = "Revault wallet daemon"
exclude = [".github/"]
[lib]
name = "common"
path = "src/common/lib.rs"
[[bin]]
name = "revaultd"
path = "src/daemon/main.rs"
[[bin]]
name = "revault-cli"
path = "src/cli/main.rs"
[dependencies]
revault_tx = { version = "0.3", features = ["use-serde"] }
revault_net = { version = "0.1" }
# Don't reinvent the wheel
dirs = "3.0"
# It's concise, does the Right Thing, and even supports Windows !
daemonize-simple = "0.1"
# To talk to bitcoind
jsonrpc = "0.12"
# We use it for the cookie file
base64 = "0.13"
# We use TOML for the config and JSON for connections
serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
serde_json = { version = "1.0", features = ["raw_value"] }
# Logging stuff
log = "0.4"
fern = "0.6"
# DB stuff
rusqlite = { version = "0.24", features = ["bundled", "unlock_notify"] }
# For umask..
libc = "0.2.80"
# For the JSONRPC server
jsonrpc-core = "15.1"
jsonrpc-derive = "15.1"
[target.'cfg(not(windows))'.dependencies]
mio = { version = "0.7", features = ["default", "os-poll", "os-util", "uds"] }
[target.'cfg(windows)'.dependencies]
uds_windows = "1.0"