-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathCargo.toml
65 lines (51 loc) · 1.66 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
[package]
name = "revaultd"
version = "0.4.0"
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/", ".cirrus.yml", "tests/", "test_data/", "contrib/", "pyproject.toml"]
[[bin]]
name = "revaultd"
path = "src/bin/daemon.rs"
required-features = ["jsonrpc_server"]
[[bin]]
name = "revault-cli"
path = "src/bin/cli.rs"
required-features = ["jsonrpc_server"]
[features]
default = ["jsonrpc_server"]
jsonrpc_server = ["jsonrpc-core", "jsonrpc-derive", "mio"]
[dependencies]
revault_tx = { version = "0.5", features = ["use-serde"] }
revault_net = "0.3"
# In order to have a backtrace on panic, because the
# stdlib does not have a programmatic interface yet
# to work with our custom panic hook.
backtrace = "0.3"
# 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.26.3", features = ["bundled", "unlock_notify"] }
# For umask..
libc = "0.2.80"
# For the JSONRPC server
jsonrpc-core = { version = "15.1", optional = true }
jsonrpc-derive = { version = "15.1", optional = true }
mio = { version = "0.7", features = ["default", "os-poll", "os-util", "uds"], optional = true }