40 lines
1.5 KiB
Rust
40 lines
1.5 KiB
Rust
// file: crates/ksp-app-config-desk/src/lib.rs
|
|
// version: 3
|
|
|
|
//! Tauri desktop application for managing and validating KSP configuration.
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![deny(unreachable_pub)]
|
|
#![warn(missing_docs)]
|
|
|
|
mod app_state;
|
|
mod bootstrap;
|
|
mod constants;
|
|
mod dto_common;
|
|
mod errors;
|
|
mod frontend_logging;
|
|
mod tauri;
|
|
|
|
/// Runs the KSP configuration desktop application.
|
|
pub use self::tauri::run;
|
|
|
|
pub(crate) use self::app_state::AppState;
|
|
pub(crate) use self::bootstrap::config_management;
|
|
pub(crate) use self::bootstrap::initialize_logging;
|
|
pub(crate) use self::constants::TRACING_DOMAIN_BOOTSTRAP;
|
|
pub(crate) use self::constants::TRACING_DOMAIN_FRONTEND;
|
|
pub(crate) use self::constants::TRACING_TARGET;
|
|
pub(crate) use self::constants::TRACING_TARGET_FRONTEND;
|
|
pub(crate) use self::constants::TRACING_TARGET_FRONTEND_MAIN;
|
|
pub(crate) use self::constants::TRACING_TARGET_FRONTEND_SPLASH;
|
|
pub(crate) use self::dto_common::AppSnapshotDto;
|
|
pub(crate) use self::dto_common::CommandErrorDto;
|
|
pub(crate) use self::errors::ERROR_CODE_APP_STATE_INVALID;
|
|
pub(crate) use self::errors::ERROR_CODE_APP_STATE_LOCK_FAILED;
|
|
pub(crate) use self::errors::ERROR_CODE_FRONTEND_LOG_LEVEL_INVALID;
|
|
pub(crate) use self::errors::ERROR_CODE_FRONTEND_LOG_TARGET_INVALID;
|
|
pub(crate) use self::errors::ERROR_CODE_LOGGING_BOOTSTRAP_FAILED;
|
|
pub(crate) use self::errors::ERROR_CODE_TAURI_RUNTIME_FAILED;
|
|
pub(crate) use self::frontend_logging::FrontendLogPayloadDto;
|
|
pub(crate) use self::frontend_logging::emit_frontend_log_event;
|