Crate ab_cli_utils

Crate ab_cli_utils 

Source
Expand description

Utilities used in various CLI applications

Functionsยง

init_logger
Initialize logger with typical settings
raise_fd_limit
Raise soft file descriptor limit to the hard limit, if possible
set_exit_on_panic
Install a panic handler which exits on panics, rather than unwinding. Unwinding can hang the tokio runtime waiting for stuck tasks or threads.
shutdown_signal
Create a future that waits for SIGINT or SIGTERM to be sent to the process