Crate mecomp_core

Source

Modules§

audio
config
Handles the configuration of the daemon.
errors
logger
rpc
This module contains the service definitions.
state
udp
Implementation for the UDP stack used by the server to broadcast events to clients

Macros§

function_name
This macro returns the name of the enclosing function. As the internal implementation is based on the std::any::type_name, this macro derives all the limitations of this function.

Functions§

format_duration
get_config_dir
Get the config directory for the application.
get_data_dir
Get the data directory for the application.
is_server_running
Check if a server is already running on localhost on the given port. If a server is already running, return true, otherwise return false.