Project Structure

    The GenUI project adopts a typical Rust Workspace structure, consisting of multiple sub-projects. The following is a description of the project directory and its functions:

    TIP
    • #: Descriptor, the specific name is unknown, for example, #workspace means the project name of a workspace project created by the user
    • []: means optional

    About file configuration:

    workspace
    1#workspace
    23├── source_project             // Source code package
    4│   ├── src/                   // Rust source code files
    5│   │   └── main.rs            // Project entry file (usually empty)
    6│   ├── resources/             // Static resources
    7│   ├── views/                 // Main page files
    8│   │   ├── root.gen           // UI entry file
    9│   │   ├── home.gen           // Home page
    10│   │   └── mod.gen            // Page export mod file
    11│   ├── components/            // Component files
    12│   │   ├── hello.gen          // Hello component
    13│   │   ├── easy.gen           // Easy component
    14│   │   └── mod.gen            // Component export mod file
    15│   ├── .gen_ui_cache/         // Cache files
    16│   ├── Cargo.toml             // Rust package configuration file
    17│   └── gen_ui.toml            // GenUI project configuration file
    1819├── compiled_project           // Compiled result package
    2021├── .ract                      // Ract configuration file
    22├── Cargo.toml                 // Workspace configuration file
    23├── Cargo.lock                 // Dependency lock file
    24├── [.gitignore]               // gitignore (optional)
    25└── [LICENSE]                  // Project license file (optional)