Skip to main content

Module exec

Module exec 

Source
Expand description

Workspace root discovery at runtime.

The server needs to locate configuration files and TLS certificates relative to the project root. get_crate_root resolves this by walking up from the running executable past the target/ directory.

Functionsยง

get_crate_root
Returns the root directory of the crate, using the current executable path as reference.