45 lines
1.6 KiB
Text
45 lines
1.6 KiB
Text
|
opam-version: "2.0"
|
||
|
maintainer: "team AT robur dot io"
|
||
|
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
|
||
|
homepage: "https://github.com/mirage/ocaml-dns"
|
||
|
doc: "https://mirage.github.io/ocaml-dns/"
|
||
|
dev-repo: "git+https://github.com/mirage/ocaml-dns.git"
|
||
|
bug-reports: "https://github.com/mirage/ocaml-dns/issues"
|
||
|
license: "BSD-2-Clause"
|
||
|
|
||
|
depends: [
|
||
|
"dune" {>= "1.2.0"}
|
||
|
"ocaml" {>= "4.07.0"}
|
||
|
"rresult" "astring" "fmt" "logs" "ptime"
|
||
|
"domain-name" {>= "0.3.0"}
|
||
|
"gmap" {>= "0.3.0"}
|
||
|
"cstruct" {>= "3.2.0"}
|
||
|
"ipaddr" {>= "3.0.0"}
|
||
|
"alcotest" {with-test}
|
||
|
"lru" {>= "0.3.0"}
|
||
|
"duration" {>= "0.1.2"}
|
||
|
"metrics"
|
||
|
]
|
||
|
build: [
|
||
|
["dune" "subst"] {pinned}
|
||
|
["dune" "build" "-p" name "-j" jobs]
|
||
|
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
||
|
]
|
||
|
|
||
|
synopsis: "An opinionated Domain Name System (DNS) library"
|
||
|
description: """
|
||
|
µDNS supports most of the domain name system used in the wild. It adheres to
|
||
|
strict conventions. Failing early and hard. It is mostly implemented in the
|
||
|
pure fragment of OCaml (no mutation, isolated IO, no exceptions).
|
||
|
|
||
|
Legacy resource record types are not dealt with, and there is no plan to support
|
||
|
`ISDN`, `MAILA`, `MAILB`, `WKS`, `MB`, `NULL`, `HINFO`, ... . `AXFR` is only
|
||
|
handled via TCP connections. The only resource class supported is `IN` (the
|
||
|
Internet). Truncated hmac in `TSIG` are not supported (always the full length
|
||
|
of the hash algorithm is used).
|
||
|
|
||
|
Please read [the blog article](https://hannes.nqsb.io/Posts/DNS) for a more
|
||
|
detailed overview.
|
||
|
"""
|
||
|
url { src: "git+https://github.com/hannesm/ocaml-dns.git#certify-allow-raw-in-additional" }
|