# dysonltd/commitment-issues architecture

> Architecture diagram of the GitHub repository dysonltd/commitment-issues, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-03-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dysonltd/commitment-issues
- Repository: https://github.com/dysonltd/commitment-issues

## Overview

##### Core Layer
- **Commitment Issues Library**
- `lib.rs`
- `macros.rs`

##### Integration Layer
- **Project Template**
- `Cargo.toml.liquid`
- `build.rs`
- `src/main.rs`

##### Automation Layer
- **CI/CD Workflows**
- Continuous Build
- Dependabot
- MegaLinter

##### Support Layer
- **Configuration Files**
- `.mega-linter.yaml`
- `.markdownlint.json`
- **Documentation**
- `README.md`
- `LICENSE-APACHE`
- `LICENSE-MIT`

## Diagram (Mermaid)

```mermaid
flowchart TD
    
    %% Subgraphs and modules
    subgraph "Core Layer"
        CoreLib["Commitment Issues Library"]:::library
        Macros["Metadata Embedding Macros"]:::library
    end

    subgraph "Integration Layer"
        Template["Project Template"]:::template
        CargoConfig["Cargo Template Configuration"]:::template
        TemplateBuild["Template Build Script"]:::template
        TemplateMain["Template Main Source"]:::template
    end

    subgraph "Automation Layer"
        CICD["CI/CD Workflows"]:::cicd
        ContinuousBuild["Continuous Build"]:::cicd
        Dependabot["Dependabot"]:::cicd
        MegaLinter["MegaLinter"]:::cicd
    end

    subgraph "Support Layer"
        MegaLinterConfig[".mega-linter.yaml"]:::config
        MarkdownLint[".markdownlint.json"]:::config
        Readme["README.md"]:::docs
        LicenseApache["LICENSE-APACHE"]:::docs
        LicenseMit["LICENSE-MIT"]:::docs
    end

    %% Connections
    CoreLib -->|"uses"| Macros
    Template -->|"depends on"| CoreLib
    Template -->|"includes"| CargoConfig
    Template -->|"includes"| TemplateBuild
    Template -->|"includes"| TemplateMain
    CICD -->|"automates"| CoreLib
    CICD -->|"automates"| Template
    ContinuousBuild -->|"builds"| CoreLib
    Dependabot -->|"manages dependencies"| CoreLib
    MegaLinter -->|"ensures quality"| CoreLib
    MegaLinterConfig -.->|"configures"| MegaLinter
    MarkdownLint -.->|"configures"| CICD
    Readme -->|"documents"| CoreLib
    Readme -->|"documents"| Template
    LicenseApache -->|"licenses"| CoreLib
    LicenseMit -->|"licenses"| Template

    %% Click Events
    click CoreLib "https://github.com/dysonltd/commitment-issues/tree/main/src/"
    click Macros "https://github.com/dysonltd/commitment-issues/blob/main/src/macros.rs"
    click Template "https://github.com/dysonltd/commitment-issues/tree/main/template/"
    click CargoConfig "https://github.com/dysonltd/commitment-issues/blob/main/template/Cargo.toml.liquid"
    click TemplateBuild "https://github.com/dysonltd/commitment-issues/blob/main/template/build.rs"
    click TemplateMain "https://github.com/dysonltd/commitment-issues/blob/main/template/src/main.rs"
    click CICD "https://github.com/dysonltd/commitment-issues/tree/main/.github/workflows/"
    click ContinuousBuild "https://github.com/dysonltd/commitment-issues/blob/main/.github/workflows/continuous-build.yaml"
    click Dependabot "https://github.com/dysonltd/commitment-issues/blob/main/.github/workflows/dependabot.yaml"
    click MegaLinter "https://github.com/dysonltd/commitment-issues/blob/main/.github/workflows/mega-linter.yaml"
    click MegaLinterConfig "https://github.com/dysonltd/commitment-issues/blob/main/.mega-linter.yaml"
    click MarkdownLint "https://github.com/dysonltd/commitment-issues/blob/main/.markdownlint.json"
    click Readme "https://github.com/dysonltd/commitment-issues/blob/main/README.md"
    click LicenseApache "https://github.com/dysonltd/commitment-issues/tree/main/LICENSE-APACHE"
    click LicenseMit "https://github.com/dysonltd/commitment-issues/tree/main/LICENSE-MIT"

    %% Styles
    classDef library fill:#1f77b4,stroke:#000,stroke-width:1px
    classDef template fill:#2ca02c,stroke:#000,stroke-width:1px
    classDef cicd fill:#ff7f0e,stroke:#000,stroke-width:1px
    classDef config fill:#7f7f7f,stroke:#000,stroke-width:1px
    classDef docs fill:#bcbd22,stroke:#000,stroke-width:1px
```
