opam-version: "2.0"
maintainer: "Antonio Monteiro <anmonteiro@gmail.com>"
authors: [ "Antonio Monteiro <anmonteiro@gmail.com>" ]
license: "BSD-3-clause"
homepage: "https://github.com/anmonteiro/ocaml-h2"
bug-reports: "https://github.com/anmonteiro/ocaml-h2/issues"
dev-repo: "git+https://github.com/anmonteiro/ocaml-h2.git"
doc: "https://anmonteiro.github.io/ocaml-h2/"
build: [
  ["dune" "build" "-p" name "-j" jobs]
]
depends: [
  "ocaml" {>= "4.06"}
  "dune" {>= "1.7"}
  "alcotest" {with-test}
  "yojson" {with-test}
  "hex" {with-test}
  "base64"
  "bigstringaf" {>= "0.5.0"}
  "angstrom" {>= "0.14.0"}
  "faraday" {>= "0.5.0"}
  "psq"
  "hpack"
  "httpaf"
]
synopsis:
  "A high-performance, memory-efficient, and scalable HTTP/2 library for OCaml"
description: """
h2 is an implementation of the HTTP/2 specification entirely in OCaml. It
is based on the concepts in http/af, and therefore uses the Angstrom and
Faraday libraries to implement the parsing and serialization layers of the
HTTP/2 standard as a state machine that is agnostic to the underlying I/O
specifics. It also preserves the same API as http/af wherever possible.
"""
x-commit-hash: "a696a1ce66f573c23041840322d0e1770d5ebc70"
url {
  src:
    "https://github.com/anmonteiro/ocaml-h2/releases/download/0.8.0/h2-0.8.0.tbz"
  checksum: [
    "sha256=c6675a092f8ef9f69d04eb830fe3809557a71910cba6275d0a0482efb71f9661"
    "sha512=b01897990a18ac8da7a88fb9ed8348175cefddf468173d3e28f784cd79ca0395061a3e6504b308eb79cf75035715f9e6e6d571b4fcc5dcd548f79762e495d892"
  ]
}
