forked from casper-network/casper-node-launcher
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
54 lines (49 loc) · 2.1 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
[package]
name = "casper-node-launcher"
version = "0.3.3"
authors = ["Fraser Hutchison <fraser@casperlabs.io>", "Joe Sacher <joe@casperlabs.io>"]
edition = "2018"
description = "A binary which runs and upgrades the casper-node of the Casper network"
readme = "README.md"
documentation = "https://docs.rs/casper-node-launcher"
homepage = "https://casperlabs.io"
repository = "https://github.com/CasperLabs/casper-node/tree/master/client"
license-file = "./LICENSE"
[dependencies]
anyhow = "1.0.38"
backtrace = "0.3.56"
clap = "3.0.0-beta.2"
once_cell = "1.5.2"
nix = "0.19.1"
semver = { version = "0.11.0", features = ["serde"] }
serde = { version = "1.0.120", features = ["derive"] }
signal-hook = "0.3.4"
toml = "0.5.8"
tracing = "0.1.22"
tracing-subscriber = { version = "0.2.15", features = ["json"] }
[dev-dependencies]
once_cell = "1.5.2"
rand_core = "0.6.2"
tempfile = "3.2.0"
[package.metadata.deb]
depends = "curl"
revision = "0"
assets = [
["./target/release/casper-node-launcher", "/usr/bin/casper-node-launcher", "755"],
["./resources/BIN_README.md", "/var/lib/casper/bin/README.md", "755"],
["./resources/maintainer_scripts/logrotate.d/casper-node", "/etc/logrotate.d/casper-node", "644"],
["./resources/maintainer_scripts/pull_casper_node_version.sh", "/etc/casper/pull_casper_node_version.sh", "755"],
["./resources/maintainer_scripts/network_configs/*", "/etc/casper/network_configs/", "644"],
["./resources/maintainer_scripts/delete_local_db.sh", "/etc/casper/delete_local_db.sh", "755"],
["./resources/maintainer_scripts/config_from_example.sh", "/etc/casper/config_from_example.sh", "755"],
["./resources/DEB_README.md", "/etc/casper/README.md", "644"],
["./resources/VALIDATOR_KEYS_README.md", "/etc/casper/validator_keys/README.md", "644"]
]
maintainer-scripts = "./resources/maintainer_scripts/debian"
extended-description = """
Package for Casper Node Launcher
For information on using package, see https://github.com/CasperLabs/casper-node-launcher
"""
[package.metadata.deb.systemd-units]
unit-scripts = "./resources/maintainer_scripts/casper_node_launcher"
restart-after-upgrade = false