{
  "authors": [
    "Stephane.Carrez@gmail.com"
  ],
  "available": {
    "case(os)": {
      "...": false,
      "linux": true,
      "macos": true,
      "windows": true
    }
  },
  "configuration": {
    "disabled": true
  },
  "depends-on": [
    {
      "elada": "^1.8.6",
      "utilada": "^2.6.0",
      "xmlada": "~23.0.0"
    }
  ],
  "description": "Advanced Resource Embedder",
  "environment": {
    "MANPATH": {
      "prepend": "${CRATE_ROOT}/man"
    },
    "PATH": {
      "prepend": "${CRATE_ROOT}/bin"
    }
  },
  "executables": [
    "are"
  ],
  "gpr-externals": {
    "ARE_BUILD": [
      "distrib",
      "debug",
      "optimize",
      "profile",
      "coverage"
    ],
    "ARE_SWITCH": [
      "NO_CALLBACK",
      "HAS_CALLBACK"
    ],
    "UTIL_OS": [
      "win32",
      "win64",
      "linux32",
      "linux64",
      "macos64",
      "netbsd32",
      "netbsd64",
      "freebsd32",
      "freebsd64"
    ]
  },
  "gpr-set-externals": {
    "ARE_BUILD": "distrib",
    "ARE_SWITCH": "HAS_CALLBACK",
    "case(os)": {
      "linux": {
        "case(word-size)": {
          "bits-32": {
            "UTIL_OS": "linux32"
          },
          "bits-64": {
            "UTIL_OS": "linux64"
          }
        }
      },
      "macos": {
        "UTIL_OS": "macos64"
      },
      "windows": {
        "case(word-size)": {
          "bits-32": {
            "UTIL_OS": "win32"
          },
          "bits-64": {
            "UTIL_OS": "win64"
          }
        }
      }
    }
  },
  "licenses": "Apache-2.0",
  "long-description": "\n[![Build Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/resource-embedder/badges/build.json)](https://porion.vacs.fr/porion/projects/view/resource-embedder)\n[![Test Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/resource-embedder/badges/tests.json)](https://porion.vacs.fr/porion/projects/view/resource-embedder)\n[![Coverage](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/resource-embedder/badges/coverage.json)](https://porion.vacs.fr/porion/projects/view/resource-embedder)\n[![Documentation Status](https://readthedocs.org/projects/resource-embedder/badge/?version=latest)](https://resource-embedder.readthedocs.io/en/latest/?badge=latest)\n\nThe resource embedder allows to embed files in binaries by producing C, Ada or Go source\nfiles that contain the original files.\n\nTo generate a `config.ads` and `config.adb` Ada package with the resources, you may use:\n\n```\nare --lang=Ada -o src --resource=config --name-access --fileset='**/*.conf' config\n```\n\nComplex resource integrations are best described with and XML and are generated with:\n\n```\nare --lang=Ada -o src --rule=package.xml --name-access .\n```\n\nFor Ada, it generates the following package declaration with the `Get_Content` function\nthat gives access to the files.  The Ada body contains the content of each embedded file.\n\n```Ada\npackage Config is\n  function Get_Content (Name : in String)\n    return access constant String;\nend Config;\n```\n\n",
  "maintainers": [
    "Stephane.Carrez@gmail.com"
  ],
  "maintainers-logins": [
    "stcarrez"
  ],
  "name": "are",
  "origin": {
    "commit": "492468e6cc293a393949ac800ce0ba76d6e899b0",
    "url": "git+https://gitlab.com/stcarrez/resource-embedder.git"
  },
  "project-files": [
    "are_tool.gpr"
  ],
  "tags": [
    "resource",
    "embedder",
    "generator"
  ],
  "version": "1.5.0",
  "website": "https://gitlab.com/stcarrez/resource-embedder"
}
