From 8931def188acbb114acc106c8e5a27715dc71a1c Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 2 Jul 2025 21:08:29 -0400 Subject: [PATCH] package tiny_httpd_lwt --- dune-project | 10 ++++++++++ tiny_httpd_lwt.opam | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 tiny_httpd_lwt.opam diff --git a/dune-project b/dune-project index 6446bd94..533e54b3 100644 --- a/dune-project +++ b/dune-project @@ -39,3 +39,13 @@ (iostream-camlzip (>= 0.2.1)) (logs :with-test) (odoc :with-doc))) + +(package + (name tiny_httpd_lwt) + (synopsis "Tiny_httpd backend based on lwt.unix for OCaml 5") + (depends + (tiny_httpd (= :version)) + (lwt (>= 5.0)) + base-unix + (logs :with-test) + (odoc :with-doc))) diff --git a/tiny_httpd_lwt.opam b/tiny_httpd_lwt.opam new file mode 100644 index 00000000..2afaf170 --- /dev/null +++ b/tiny_httpd_lwt.opam @@ -0,0 +1,32 @@ +# This file is generated by dune, edit dune-project instead +opam-version: "2.0" +version: "0.19" +synopsis: "Tiny_httpd backend based on lwt.unix for OCaml 5" +maintainer: ["c-cube"] +authors: ["c-cube"] +license: "MIT" +homepage: "https://github.com/c-cube/tiny_httpd/" +bug-reports: "https://github.com/c-cube/tiny_httpd/issues" +depends: [ + "dune" {>= "3.2"} + "tiny_httpd" {= version} + "lwt" {>= "5.0"} + "base-unix" + "logs" {with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"