opam-version: "2.0"
maintainer: "Richard Mortier <mort@cantab.net>"
authors: [ "Richard Mortier" ]
license: "ISC"

homepage: "https://github.com/mor1/mrt-format"
dev-repo: "git+https://github.com/mor1/mrt-format.git"
bug-reports: "https://github.com/mor1/mrt-format/issues"
doc: "https://mor1.github.io/mrt-format/"

build: [
  [ "jbuilder" "subst" "-p" name ] {pinned}
  [ "jbuilder" "build" "-p" name "-j" jobs ]
]

depends: [
  "ocaml" {< "4.08.0"}
  "ocamlfind" {build}
  "alcotest" {with-test}
  "cstruct" {>= "1.0.1" & <"5.0.0"}
  "ppx_cstruct"
]
synopsis: "MRT parsing library and CLI"
description:
  "A basic implementation of the [Multi-Threaded Routing Toolkit](https://tools.ietf.org/html/rfc6396) format, following my implementation in the [Python Routeing Toolkit](https://github.com/mor1/pyrt) and documentation in the [RFC](https://tools.ietf.org/html/rfc6396) and the [PyRT README](https://github.com/mor1/pyrt/blob/master/README.mrtd). Provides (incomplete) parsing libraries and a simple CLI tool."
url {
  src:
    "https://github.com/mor1/mrt-format/releases/download/0.2.0/mrt-format-0.2.0.tbz"
  checksum: "md5=89db2bf6d242a128cd578bc3ab6d037f"
}
