Skip to content

Commit f7ec687

Browse files
committed
prepare for 0.20
1 parent 1b53064 commit f7ec687

5 files changed

Lines changed: 70 additions & 40 deletions

File tree

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

2+
## 0.20
3+
4+
- eio backend, second try (#95)
5+
- hardening bugfixes
6+
- feat WS: abstraction for critical section
7+
- feat route: add `to_url`, to produce a URL path from a route
8+
- fix some warnings
9+
210
## 0.19
311

412
- feat(headers): `set` will not reallocate whole list if not needed

dune-project

Lines changed: 59 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,73 @@
11
(lang dune 3.2)
2+
23
(name tiny_httpd)
4+
35
(generate_opam_files true)
46

57
(authors c-cube)
8+
69
(maintainers c-cube)
7-
(version 0.19)
8-
(source (github c-cube/tiny_httpd))
10+
11+
(version 0.20)
12+
13+
(source
14+
(github c-cube/tiny_httpd))
15+
916
(homepage https://github.com/c-cube/tiny_httpd/)
17+
1018
(license MIT)
1119

1220
(package
13-
(name tiny_httpd)
14-
(synopsis "Minimal HTTP server using threads")
15-
(tags (http thread server tiny_httpd http_of_dir simplehttpserver))
16-
(depopts
17-
logs
18-
magic-mime
19-
(mtime (>= 2.0)))
20-
(depends
21-
seq
22-
base-threads
23-
result
24-
hmap
25-
(iostream (>= 0.2))
26-
(ocaml (>= 4.13))
27-
(odoc :with-doc)
28-
(logs :with-test)
29-
(conf-libcurl :with-test)
30-
(ptime :with-test)
31-
(qcheck-core (and (>= 0.91) :with-test))))
21+
(name tiny_httpd)
22+
(synopsis "Minimal HTTP server using threads")
23+
(tags
24+
(http thread server tiny_httpd http_of_dir simplehttpserver))
25+
(depopts
26+
logs
27+
magic-mime
28+
(mtime
29+
(>= 2.0)))
30+
(depends
31+
seq
32+
base-threads
33+
result
34+
hmap
35+
(iostream
36+
(>= 0.2))
37+
(ocaml
38+
(>= 4.13))
39+
(odoc :with-doc)
40+
(logs :with-test)
41+
(conf-libcurl :with-test)
42+
(ptime :with-test)
43+
(qcheck-core
44+
(and
45+
(>= 0.91)
46+
:with-test))))
3247

3348
(package
34-
(name tiny_httpd_camlzip)
35-
(synopsis "Interface to camlzip for tiny_httpd")
36-
(depends
37-
(tiny_httpd (= :version))
38-
(camlzip (>= 1.06))
39-
(iostream-camlzip (>= 0.2.1))
40-
(logs :with-test)
41-
(odoc :with-doc)))
49+
(name tiny_httpd_camlzip)
50+
(synopsis "Interface to camlzip for tiny_httpd")
51+
(depends
52+
(tiny_httpd
53+
(= :version))
54+
(camlzip
55+
(>= 1.06))
56+
(iostream-camlzip
57+
(>= 0.2.1))
58+
(logs :with-test)
59+
(odoc :with-doc)))
4260

4361
(package
44-
(name tiny_httpd_eio)
45-
(synopsis "Use eio for tiny_httpd")
46-
(depends
47-
(tiny_httpd (= :version))
48-
(eio (and (>= 1.0) (< 2.0)))
49-
base-unix
50-
(logs :with-test)
51-
(odoc :with-doc)))
62+
(name tiny_httpd_eio)
63+
(synopsis "Use eio for tiny_httpd")
64+
(depends
65+
(tiny_httpd
66+
(= :version))
67+
(eio
68+
(and
69+
(>= 1.0)
70+
(< 2.0)))
71+
base-unix
72+
(logs :with-test)
73+
(odoc :with-doc)))

tiny_httpd.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.19"
3+
version: "0.20"
44
synopsis: "Minimal HTTP server using threads"
55
maintainer: ["c-cube"]
66
authors: ["c-cube"]

tiny_httpd_camlzip.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.19"
3+
version: "0.20"
44
synopsis: "Interface to camlzip for tiny_httpd"
55
maintainer: ["c-cube"]
66
authors: ["c-cube"]

tiny_httpd_eio.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.19"
3+
version: "0.20"
44
synopsis: "Use eio for tiny_httpd"
55
maintainer: ["c-cube"]
66
authors: ["c-cube"]

0 commit comments

Comments
 (0)