Skip to content

Commit 35d36cc

Browse files
committed
[new release] tiny_httpd (3 packages) (0.20)
CHANGES: - eio backend, second try (c-cube/tiny_httpd#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
1 parent 66fe1c2 commit 35d36cc

3 files changed

Lines changed: 131 additions & 0 deletions

File tree

  • packages
    • tiny_httpd_camlzip/tiny_httpd_camlzip.0.20
    • tiny_httpd_eio/tiny_httpd_eio.0.20
    • tiny_httpd/tiny_httpd.0.20
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
opam-version: "2.0"
2+
synopsis: "Minimal HTTP server using threads"
3+
maintainer: ["c-cube"]
4+
authors: ["c-cube"]
5+
license: "MIT"
6+
tags: [
7+
"http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver"
8+
]
9+
homepage: "https://github.com/c-cube/tiny_httpd/"
10+
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
11+
depends: [
12+
"dune" {>= "3.2"}
13+
"seq"
14+
"base-threads"
15+
"result"
16+
"hmap"
17+
"iostream" {>= "0.2"}
18+
"ocaml" {>= "4.13"}
19+
"odoc" {with-doc}
20+
"logs" {with-test}
21+
"conf-libcurl" {with-test}
22+
"ptime" {with-test}
23+
"qcheck-core" {>= "0.91" & with-test}
24+
]
25+
depopts: [
26+
"logs"
27+
"magic-mime"
28+
"mtime" {>= "2.0"}
29+
]
30+
build: [
31+
["dune" "subst"] {dev}
32+
[
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@runtest" {with-test}
41+
"@doc" {with-doc}
42+
]
43+
]
44+
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
45+
url {
46+
src:
47+
"https://github.com/c-cube/tiny_httpd/releases/download/v0.20/tiny_httpd-0.20.tbz"
48+
checksum: [
49+
"sha256=618f0ec983d8986f2408e2f68e4f030c9cc7f3be2779f18ca288d3cb9266edce"
50+
"sha512=f13b04ae7a84981d29eccb865c74cf5b4ab58ebdd635fb686f51b19b8c4213f770ad568767cf47031f351ff882b0b4b18522105cb62246401a46a14bfd2d4369"
51+
]
52+
}
53+
x-commit-hash: "f7ec687158da627778f482520ca5311947de5167"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
synopsis: "Interface to camlzip for tiny_httpd"
3+
maintainer: ["c-cube"]
4+
authors: ["c-cube"]
5+
license: "MIT"
6+
homepage: "https://github.com/c-cube/tiny_httpd/"
7+
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
8+
depends: [
9+
"dune" {>= "3.2"}
10+
"tiny_httpd" {= version}
11+
"camlzip" {>= "1.06"}
12+
"iostream-camlzip" {>= "0.2.1"}
13+
"logs" {with-test}
14+
"odoc" {with-doc}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
]
30+
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
31+
url {
32+
src:
33+
"https://github.com/c-cube/tiny_httpd/releases/download/v0.20/tiny_httpd-0.20.tbz"
34+
checksum: [
35+
"sha256=618f0ec983d8986f2408e2f68e4f030c9cc7f3be2779f18ca288d3cb9266edce"
36+
"sha512=f13b04ae7a84981d29eccb865c74cf5b4ab58ebdd635fb686f51b19b8c4213f770ad568767cf47031f351ff882b0b4b18522105cb62246401a46a14bfd2d4369"
37+
]
38+
}
39+
x-commit-hash: "f7ec687158da627778f482520ca5311947de5167"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
opam-version: "2.0"
2+
synopsis: "Use eio for tiny_httpd"
3+
maintainer: ["c-cube"]
4+
authors: ["c-cube"]
5+
license: "MIT"
6+
homepage: "https://github.com/c-cube/tiny_httpd/"
7+
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
8+
depends: [
9+
"dune" {>= "3.2"}
10+
"tiny_httpd" {= version}
11+
"eio" {>= "1.0" & < "2.0"}
12+
"base-unix"
13+
"logs" {with-test}
14+
"odoc" {with-doc}
15+
]
16+
build: [
17+
["dune" "subst"] {dev}
18+
[
19+
"dune"
20+
"build"
21+
"-p"
22+
name
23+
"-j"
24+
jobs
25+
"@install"
26+
"@runtest" {with-test}
27+
"@doc" {with-doc}
28+
]
29+
]
30+
dev-repo: "git+https://github.com/c-cube/tiny_httpd.git"
31+
url {
32+
src:
33+
"https://github.com/c-cube/tiny_httpd/releases/download/v0.20/tiny_httpd-0.20.tbz"
34+
checksum: [
35+
"sha256=618f0ec983d8986f2408e2f68e4f030c9cc7f3be2779f18ca288d3cb9266edce"
36+
"sha512=f13b04ae7a84981d29eccb865c74cf5b4ab58ebdd635fb686f51b19b8c4213f770ad568767cf47031f351ff882b0b4b18522105cb62246401a46a14bfd2d4369"
37+
]
38+
}
39+
x-commit-hash: "f7ec687158da627778f482520ca5311947de5167"

0 commit comments

Comments
 (0)