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
/// Executable name of the Unix process termination utility.
pub const KILL: &str = "kill";
/// Executable name of the Cargo package manager.
pub const CARGO: &str = "cargo";
/// Cargo subcommand that installs a crate from crates.io.
pub const INSTALL: &str = "install";
/// Executable name of the cargo-watch hot-reload tool.
pub const CARGO_WATCH: &str = "cargo-watch";
/// Signal passed to the Unix `kill` utility for a graceful termination.
pub const KILL_SIGNAL: &str = "-TERM";
/// Environment variable name for daemon mode detection.
pub const RUNNING_AS_DAEMON: &str = "RUNNING_AS_DAEMON";
/// Arguments installing the named crate with cargo.
pub const CARGO_INSTALL_ARGS: = ;
/// Value indicating the process is running in daemon mode.
pub const RUNNING_AS_DAEMON_VALUE: &str = "1";
/// Message printed when cargo-watch is missing and an installation is attempted.
pub const CARGO_WATCH_ABSENT_MESSAGE: &str =
"Cargo-watch not found. Attempting to install...";
/// Message printed after a successful automatic cargo-watch installation.
pub const CARGO_WATCH_INSTALLED_MESSAGE: &str = "Cargo-watch installed successfully.";
/// Arguments listing every globally installed cargo package.
pub const CARGO_WATCH_INSTALL_LIST_ARGS: = ;
/// Error message returned when the automatic cargo-watch installation fails.
pub const CARGO_WATCH_INSTALL_FAILED_MESSAGE: &str =
"Failed to install cargo-watch. Please install it manually: `cargo install cargo-watch`";