prepare for 0.20
Some checks failed
format / format (push) Has been cancelled
build / build (4.13.x, ubuntu-latest) (push) Has been cancelled
build / build (4.14.x, ubuntu-latest) (push) Has been cancelled
build / build (5.03.x, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Simon Cruanes 2026-02-15 21:19:22 -05:00
parent 1b53064ed6
commit f7ec687158
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 70 additions and 40 deletions

View file

@ -1,4 +1,12 @@
## 0.20
- eio backend, second try (#95)
- hardening bugfixes
- feat WS: abstraction for critical section
- feat route: add `to_url`, to produce a URL path from a route
- fix some warnings
## 0.19
- feat(headers): `set` will not reallocate whole list if not needed

View file

@ -1,42 +1,60 @@
(lang dune 3.2)
(name tiny_httpd)
(generate_opam_files true)
(authors c-cube)
(maintainers c-cube)
(version 0.19)
(source (github c-cube/tiny_httpd))
(version 0.20)
(source
(github c-cube/tiny_httpd))
(homepage https://github.com/c-cube/tiny_httpd/)
(license MIT)
(package
(name tiny_httpd)
(synopsis "Minimal HTTP server using threads")
(tags (http thread server tiny_httpd http_of_dir simplehttpserver))
(tags
(http thread server tiny_httpd http_of_dir simplehttpserver))
(depopts
logs
magic-mime
(mtime (>= 2.0)))
(mtime
(>= 2.0)))
(depends
seq
base-threads
result
hmap
(iostream (>= 0.2))
(ocaml (>= 4.13))
(iostream
(>= 0.2))
(ocaml
(>= 4.13))
(odoc :with-doc)
(logs :with-test)
(conf-libcurl :with-test)
(ptime :with-test)
(qcheck-core (and (>= 0.91) :with-test))))
(qcheck-core
(and
(>= 0.91)
:with-test))))
(package
(name tiny_httpd_camlzip)
(synopsis "Interface to camlzip for tiny_httpd")
(depends
(tiny_httpd (= :version))
(camlzip (>= 1.06))
(iostream-camlzip (>= 0.2.1))
(tiny_httpd
(= :version))
(camlzip
(>= 1.06))
(iostream-camlzip
(>= 0.2.1))
(logs :with-test)
(odoc :with-doc)))
@ -44,8 +62,12 @@
(name tiny_httpd_eio)
(synopsis "Use eio for tiny_httpd")
(depends
(tiny_httpd (= :version))
(eio (and (>= 1.0) (< 2.0)))
(tiny_httpd
(= :version))
(eio
(and
(>= 1.0)
(< 2.0)))
base-unix
(logs :with-test)
(odoc :with-doc)))

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.19"
version: "0.20"
synopsis: "Minimal HTTP server using threads"
maintainer: ["c-cube"]
authors: ["c-cube"]

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.19"
version: "0.20"
synopsis: "Interface to camlzip for tiny_httpd"
maintainer: ["c-cube"]
authors: ["c-cube"]

View file

@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.19"
version: "0.20"
synopsis: "Use eio for tiny_httpd"
maintainer: ["c-cube"]
authors: ["c-cube"]