-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
84 lines (72 loc) · 3.34 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
[package]
name = "casper-node-launcher"
version = "1.0.4"
authors = ["Fraser Hutchison <[email protected]>", "Joe Sacher <[email protected]>"]
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://casper.network"
repository = "https://github.com/CasperLabs/casper-node/tree/master/client"
license-file = "./LICENSE"
[dependencies]
anyhow = "1.0.38"
backtrace = "0.3.56"
clap = { version = "3.2.23", features = ["cargo"] }
once_cell = "1.5.2"
nix = "0.23.0"
semver = { version = "1.0.4", 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.3.17", features = ["json", "env-filter"] }
[dev-dependencies]
once_cell = "1.5.2"
rand_core = "0.6.2"
tempfile = "3.6.0"
[package.metadata.deb]
name = "casper-node-launcher"
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/PLATFORM_DEB", "/etc/casper/PLATFORM", "644"],
["./resources/maintainer_scripts/network_configs/*", "/etc/casper/network_configs/", "644"],
["./resources/maintainer_scripts/node_util.py", "/etc/casper/node_util.py", "755"],
["./resources/ETC_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/casper-network/casper-node-launcher
"""
[package.metadata.deb.variants.focal]
[package.metadata.deb.systemd-units]
unit-name = "casper-node-launcher"
enable = true
unit-scripts = "resources/maintainer_scripts/casper_node_launcher"
start = false
restart-after-upgrade = false
stop-on-upgrade = false
[package.metadata.rpm]
package = "casper-node-launcher"
[package.metadata.rpm.cargo]
buildflags = ["--release"]
[package.metadata.rpm.systemd-units]
unit-scripts = "./resources/maintainer_scripts/casper_node_launcher"
restart-after-upgrade = false
[package.metadata.rpm.targets]
casper-node-launcher = { path = "/usr/bin/casper-node-launcher" }
"../../resources/BIN_README.md" = {path = "/var/lib/casper/bin/README.md"}
"../../resources/PLATFORM_RPM" = {path = "/etc/casper/PLATFORM"}
"../../resources/maintainer_scripts/logrotate.d/casper-node" = {path = "/etc/logrotate.d/casper-node"}
"../../resources/maintainer_scripts/network_configs/casper.conf" = {path = "/etc/casper/network_configs/casper.conf"}
"../../resources/maintainer_scripts/network_configs/casper-test.conf" = {path = "/etc/casper/network_configs/casper-test.conf"}
"../../resources/maintainer_scripts/node_util.py" = {path = "/etc/casper/node_util.py"}
"../../resources/ETC_README.md" = {path = "/etc/casper/README.md"}
"../../resources/VALIDATOR_KEYS_README.md" = {path = "/etc/casper/validator_keys/README.md"}
"../../resources/maintainer_scripts/casper_node_launcher/casper-node-launcher.service" = {path = "/etc/systemd/system/casper-node-launcher.service"}