init_rust_components

Function initialize

Source
pub fn initialize(profile_path: String)
Expand description

Global initialization routines for Rust components, when logins/keydb feature is activated. Must be called before any other calls to Rust components.

Receives the path to the profile directory.

For adding additional initialization code: Note that this function is called very early in the app lifetime and therefore affects the startup time. Only the most necessary things should be done here.