{
  "name": "libgit2",
  "href": "https://vcpkg.link/ports/libgit2",
  "supports": "!uwp",
  "published_at": "2026-08-17T18:29:43.000Z",
  "is_deprecated": false,
  "is_featured": false,
  "documentation_href": null,
  "homepage_href": "https://github.com/libgit2/libgit2",
  "description": [
    "A cross-platform, linkable library implementation of Git that you can use in your application."
  ],
  "license": null,
  "version": {
    "type": "semver",
    "value": "1.9.7",
    "port": 0
  },
  "commit": {
    "tree_href": "https://github.com/microsoft/vcpkg/tree/9ff1bd435a9e0591a223033766f6de6260c080ad/ports/libgit2",
    "hash": "9ff1bd435a9e0591a223033766f6de6260c080ad"
  },
  "repository": {
    "type": "github",
    "href": "https://github.com/libgit2/libgit2",
    "stars": 10616
  },
  "dependencies": [
    {
      "name": "http-parser",
      "href": "https://vcpkg.link/ports/http-parser",
      "is_host": false,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "vcpkg-cmake",
      "href": "https://vcpkg.link/ports/vcpkg-cmake",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "vcpkg-cmake-config",
      "href": "https://vcpkg.link/ports/vcpkg-cmake-config",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "zlib",
      "href": "https://vcpkg.link/ports/zlib",
      "is_host": false,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    }
  ],
  "dev_dependencies": [],
  "features": [
    {
      "name": "mbedtls",
      "default": [],
      "description": [
        "SSL support (mbedTLS)"
      ],
      "supports": "!windows",
      "dependencies": [
        {
          "name": "mbedtls",
          "href": "https://vcpkg.link/ports/mbedtls",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "openssl",
      "default": [],
      "description": [
        "SSL support (OpenSSL)"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "openssl",
          "href": "https://vcpkg.link/ports/openssl",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "pcre",
      "default": [
        "all"
      ],
      "description": [
        "Build against external libpcre"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "pcre",
          "href": "https://vcpkg.link/ports/pcre",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "pcre2",
      "default": [],
      "description": [
        "Build against external libpcre2"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "pcre2",
          "href": "https://vcpkg.link/ports/pcre2",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "sectransp",
      "default": [],
      "description": [
        "SSL support (sectransp)"
      ],
      "supports": "osx",
      "dependencies": []
    },
    {
      "name": "sha256",
      "default": [],
      "description": [
        "[experimental] SHA256 OID support"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "ssh",
      "default": [],
      "description": [
        "SSH support via libssh2"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libssh2",
          "href": "https://vcpkg.link/ports/libssh2",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "ssl",
      "default": [
        "all"
      ],
      "description": [
        "Default SSL backend"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libgit2",
          "href": "https://vcpkg.link/ports/libgit2",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "osx"
        },
        {
          "name": "libgit2",
          "href": "https://vcpkg.link/ports/libgit2",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "windows"
        },
        {
          "name": "libgit2",
          "href": "https://vcpkg.link/ports/libgit2",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "!windows & !osx"
        }
      ]
    },
    {
      "name": "tools",
      "default": [],
      "description": [
        "Build CLI tools"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "winhttp",
      "default": [],
      "description": [
        "SSL support (WinHTTP)"
      ],
      "supports": "windows & !uwp",
      "dependencies": []
    }
  ]
}