(lang dune 3.13)

(name mqtt)

(generate_opam_files true)

(source
 (github hyper-systems/ocaml-mqtt))

(authors "Rizo I. <rizo@odis.io>" "Josh Allmann <joshua.allmann@gmail.com>")

(maintainers "Rizo I. <rizo@odis.io>" "Leo Soares <leojrfs@gmail.com>")

(license BSD-3-clause)

(documentation https://hyper-systems.github.io/ocaml-mqtt)

(package
 (name mqtt)
 (synopsis "OCaml MQTT client")
 (depends
  (ocaml
   (>= 4.08.0))
  dune
  (ocplib-endian
   (>= 0.6))
  (logs
   (>= 0.7.0))
  (fmt
   (>= 0.8.7))
  (lwt
   (>= 5.7.0))
  (lwt_ppx
   (>= 2.1.0))
  (tls
   (>= 0.17.3))
  (tls-lwt
   (>= 0.17.3))
  (alcotest
   (and
    :with-test
    (>= 1.5.0)))
  (alcotest-lwt
   (and
    :with-test
    (>= 1.5.0)))
  (cohttp
   (and
    :with-test
    (>= 5.0.0)))
  (cohttp-lwt-unix
   (and
    :with-test
    (>= 5.0.0)))
  (ocaml-lsp-server :with-dev-setup)
  (ocamlformat
   (and
    :with-dev-setup
    (>= 0.26.1)))
  (odoc
   (and
    :with-doc
    (>= 2.4.1)))))
