{
  "authors": [
    "Francesc Rocher"
  ],
  "build-switches": {
    "*": {
      "ada_version": [
        "-gnat2022",
        "-gnatW8",
        "-gnatX"
      ]
    }
  },
  "depends-on": [
    {
      "ada_toml": "~0.3.0",
      "gnat": ">=2021 | (>=12 & <2000)",
      "simple_logging": "^1.2.0"
    }
  ],
  "description": "Meta-variable Operations for Lean Development (lib)",
  "licenses": "MIT",
  "long-description": "[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html)\n[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html)\n![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg)\n[![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib)\n[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest)\n[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE)\n\n## Welcome to **Mold (lib)**\n\n> **MOLD**: *Meta-variable Operations for Lean Development*\n\nMold is a Template Processor, or Template Engine, to work with repository\ntemplates. The main motivation of Mold is to have repositories in GitHub used\nas template repositories to create new, customized repositories for other\nusers.\n\nMain features supported in Mold include\n\n  * variable replacement in mold files (*.mold)\n\n  * for a given directory, variable replacement recursively for all mold files\n    in all subdirectories\n\n  * variable replacement in file names\n\n  * inclusion of other templates\n\n  * definition of variables with a simple TOML file\n\n  * predefined and custom text filters to easy text transformations\n\nVariable replacement can be specified as *normal*, *optional* or *mandatory*.\nFor example, the variable `foo = \"bar\"` can be specified with `{{foo}}`,\n`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling\nof errors when an undefined variable is encountered.\n\nAll mold files must end with the extension `.mold`, for example\n`README.md.mold`. Destination files (with variables replaced) have the same\nname without the mold extension: `README.md`. This simplifies the work done in\nlarge subdirectories with few templates.\n\nThis crate contains the Ada library and unit tests. For a CLI tool, please\ntake a look at the crate `mold`.\n\n## Reference Guide\n\nPlease visit [Mold documentation](https://rocher.github.io/mold) for more\ninformation.\n\n---\n## License\nMIT (c) 2023 Francesc Rocher\n",
  "maintainers": [
    "Francesc Rocher <francesc.rocher@gmail.com>"
  ],
  "maintainers-logins": [
    "rocher"
  ],
  "name": "mold_lib",
  "origin": {
    "commit": "c9309f10f8b34aa1ba2770381ed99731b12cbfc5",
    "url": "git+https://github.com//rocher/mold_lib.git"
  },
  "tags": [
    "template",
    "template-engine",
    "template-repo"
  ],
  "version": "2.1.1",
  "website": "https://rocher.github.io/mold"
}
