Mountain/
Library.rs

1//! # Mountain Crate Library
2//!
3//! This file conceptually represents the library root for the Mountain
4//! application, declaring all of its major internal components. This allows
5//! the `Binary.rs` file to have a clean entry point that orchestrates these
6//! components.
7
8#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
9#![allow(non_snake_case, non_camel_case_types)]
10#![feature(trivial_bounds)]
11
12pub mod ApplicationState;
13
14pub mod Command;
15
16pub mod Environment;
17
18pub mod ExtensionManagement;
19
20pub mod FileSystem;
21
22pub mod ProcessManagement;
23
24pub mod RunTime;
25
26pub mod Track;
27
28pub mod Vine;
29
30pub mod WorkSpace;
31
32// The main binary entry point is defined in its own module.
33pub mod Binary;
34
35/// The main entry point for mobile builds, which is required by Tauri but
36/// delegates to the primary binary logic.
37#[allow(dead_code)]
38#[cfg_attr(mobile, tauri::mobile_entry_point)]
39fn main() { Binary::Fn(); }