49 lines
1.6 KiB
Text
49 lines
1.6 KiB
Text
opam-version: "2.0"
|
|
maintainer: "team AT robur dot io"
|
|
authors: ["Hannes Mehnert <hannes@mehnert.org>" "Reynir Björnsson <reynir@reynir.dk>"]
|
|
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" {>= "2.0.0"}
|
|
"ocaml" {>= "4.08.0"}
|
|
"logs" "ptime"
|
|
"fmt" {>= "0.8.8"}
|
|
"domain-name" {>= "0.4.0"}
|
|
"gmap" {>= "0.3.0"}
|
|
"cstruct" {>= "6.0.0"}
|
|
"ipaddr" {>= "5.2.0"}
|
|
"alcotest" {with-test}
|
|
"lru" {>= "0.3.0"}
|
|
"duration" {>= "0.1.2"}
|
|
"metrics"
|
|
"base64" {>= "3.3.0"}
|
|
]
|
|
conflicts: [ "result" {< "1.5"} ]
|
|
build: [
|
|
["dune" "subst"] {dev}
|
|
["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#secondary-avoid-synflood"
|
|
}
|