Skip to content

Commit 5731c8d

Browse files
committed
[new release] cohttp (14 packages) (6.1.1)
CHANGES: - cohttp-mirage: make client usable again -- this fixes a regression introduced by mirage/ocaml-cohttp#1080 (@Firobe, review by @edwintorok, mirage/ocaml-cohttp#1110) - rename main function on README example (@Unn4m3DD, mirage/ocaml-cohttp#1097)
1 parent ca82381 commit 5731c8d

File tree

14 files changed

+887
-0
lines changed
  • packages
    • cohttp-async/cohttp-async.6.1.1
    • cohttp-bench/cohttp-bench.6.1.1
    • cohttp-curl-async/cohttp-curl-async.6.1.1
    • cohttp-curl-lwt/cohttp-curl-lwt.6.1.1
    • cohttp-curl/cohttp-curl.6.1.1
    • cohttp-eio/cohttp-eio.6.1.1
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.6.1.1
    • cohttp-lwt-unix/cohttp-lwt-unix.6.1.1
    • cohttp-lwt/cohttp-lwt.6.1.1
    • cohttp-mirage/cohttp-mirage.6.1.1
    • cohttp-server-lwt-unix/cohttp-server-lwt-unix.6.1.1
    • cohttp-top/cohttp-top.6.1.1
    • cohttp/cohttp.6.1.1
    • http/http.6.1.1

14 files changed

+887
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
opam-version: "2.0"
2+
synopsis: "CoHTTP implementation for the Async concurrency library"
3+
description: """
4+
An implementation of an HTTP client and server using the Async
5+
concurrency library. See the `Cohttp_async` module for information
6+
on how to use this. The package also installs `cohttp-curl-async`
7+
and a `cohttp-server-async` binaries for quick uses of a HTTP(S)
8+
client and server respectively.
9+
"""
10+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
11+
authors: [
12+
"Anil Madhavapeddy"
13+
"Stefano Zacchiroli"
14+
"David Sheets"
15+
"Thomas Gazagnaire"
16+
"David Scott"
17+
"Rudi Grinberg"
18+
"Andy Ray"
19+
"Anurag Soni"
20+
]
21+
license: "ISC"
22+
homepage: "https://github.com/mirage/ocaml-cohttp"
23+
doc: "https://mirage.github.io/ocaml-cohttp/"
24+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
25+
depends: [
26+
"dune" {>= "3.8"}
27+
"ocaml" {>= "4.14" & < "5.3.0"}
28+
"http" {= version}
29+
"cohttp" {= version}
30+
"async_kernel" {>= "v0.16.0"}
31+
"async_unix" {>= "v0.16.0"}
32+
"async" {>= "v0.16.0"}
33+
"base" {>= "v0.16.0"}
34+
"core" {with-test}
35+
"core_unix" {>= "v0.14.0"}
36+
"conduit-async" {>= "1.2.0"}
37+
"magic-mime"
38+
"digestif" {with-test}
39+
"logs"
40+
"fmt" {>= "0.8.2"}
41+
"sexplib0"
42+
"ppx_sexp_conv" {>= "v0.13.0"}
43+
"ounit2" {with-test}
44+
"uri" {>= "2.0.0"}
45+
"uri-sexp"
46+
"ipaddr"
47+
"odoc" {with-doc}
48+
]
49+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
50+
build: [
51+
["dune" "subst"] {dev}
52+
[
53+
"dune"
54+
"build"
55+
"-p"
56+
name
57+
"-j"
58+
jobs
59+
"@install"
60+
"@cohttp-async/runtest" {with-test}
61+
"@doc" {with-doc}
62+
]
63+
]
64+
available: arch != "s390x"
65+
x-maintenance-intent: [ "(latest)" ]
66+
url {
67+
src:
68+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
69+
checksum: [
70+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
71+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
72+
]
73+
}
74+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
synopsis: "Benchmarks binaries for Cohttp"
3+
description: """
4+
This package contains some benchmarks for http and cohttp.
5+
The benchmarks for the server latency will require wrk2
6+
(https://github.com/giltene/wrk2) to run. The latency graphs
7+
can then be generated with HdrHistogram plotter, also available
8+
online at https://hdrhistogram.github.io/HdrHistogram/plotFiles.html."""
9+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
10+
authors: [
11+
"Anil Madhavapeddy"
12+
"Stefano Zacchiroli"
13+
"David Sheets"
14+
"Thomas Gazagnaire"
15+
"David Scott"
16+
"Rudi Grinberg"
17+
"Andy Ray"
18+
"Anurag Soni"
19+
]
20+
license: "ISC"
21+
homepage: "https://github.com/mirage/ocaml-cohttp"
22+
doc: "https://mirage.github.io/ocaml-cohttp/"
23+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
24+
depends: [
25+
"dune" {>= "3.8"}
26+
"core" {>= "v0.13.0"}
27+
"core_bench"
28+
"eio" {>= "0.12"}
29+
"eio_main"
30+
"http" {= version}
31+
"cohttp" {= version}
32+
"cohttp-eio" {= version}
33+
"cohttp-lwt-unix" {= version}
34+
"cohttp-server-lwt-unix" {= version}
35+
"cohttp-async" {= version}
36+
"odoc" {with-doc}
37+
]
38+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
39+
build: [
40+
["dune" "subst"] {dev}
41+
[
42+
"dune"
43+
"build"
44+
"-p"
45+
name
46+
"-j"
47+
jobs
48+
"@install"
49+
"@cohttp-bench/runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
x-maintenance-intent: [ "(latest)" ]
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
57+
checksum: [
58+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
59+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
60+
]
61+
}
62+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
opam-version: "2.0"
2+
synopsis: "Cohttp client using Curl & Async as the backend"
3+
description: """
4+
An HTTP client that relies on Curl + Async for the backend. Does not require
5+
conduit for SSL."""
6+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
7+
authors: [
8+
"Anil Madhavapeddy"
9+
"Stefano Zacchiroli"
10+
"David Sheets"
11+
"Thomas Gazagnaire"
12+
"David Scott"
13+
"Rudi Grinberg"
14+
"Andy Ray"
15+
"Anurag Soni"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/mirage/ocaml-cohttp"
19+
doc: "https://mirage.github.io/ocaml-cohttp/"
20+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
21+
depends: [
22+
"dune" {>= "3.8"}
23+
"ocurl" {>= "0.9.2"}
24+
"http" {= version}
25+
"stringext"
26+
"cohttp-curl" {= version}
27+
"core" {>= "v0.16.0"}
28+
"core_unix" {>= "v0.14.0"}
29+
"core_kernel" {with-test}
30+
"async_kernel" {with-test & >= "v0.17.0"}
31+
"async_unix" {with-test}
32+
"cohttp-async" {with-test & = version}
33+
"uri" {with-test & >= "4.2.0"}
34+
"fmt" {with-test}
35+
"ounit2" {with-test}
36+
"alcotest" {with-test & >= "1.7.0"}
37+
"odoc" {with-doc}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
build: [
41+
["dune" "subst"] {dev}
42+
[
43+
"dune"
44+
"build"
45+
"-p"
46+
name
47+
"-j"
48+
jobs
49+
"@install"
50+
"@cohttp-curl-async/runtest" {with-test}
51+
"@doc" {with-doc}
52+
]
53+
]
54+
x-maintenance-intent: [ "(latest)" ]
55+
url {
56+
src:
57+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
58+
checksum: [
59+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
60+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
61+
]
62+
}
63+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
opam-version: "2.0"
2+
synopsis: "Cohttp client using Curl & Lwt as the backend"
3+
description: """
4+
An HTTP client that relies on Curl + Lwt for the backend. Does not require
5+
conduit for SSL."""
6+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
7+
authors: [
8+
"Anil Madhavapeddy"
9+
"Stefano Zacchiroli"
10+
"David Sheets"
11+
"Thomas Gazagnaire"
12+
"David Scott"
13+
"Rudi Grinberg"
14+
"Andy Ray"
15+
"Anurag Soni"
16+
]
17+
license: "ISC"
18+
homepage: "https://github.com/mirage/ocaml-cohttp"
19+
doc: "https://mirage.github.io/ocaml-cohttp/"
20+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
21+
depends: [
22+
"dune" {>= "3.8"}
23+
"ocaml" {>= "4.08"}
24+
"ocurl" {>= "0.9.2"}
25+
"http" {= version}
26+
"cohttp-curl" {= version}
27+
"stringext"
28+
"lwt" {>= "5.3.0"}
29+
"uri" {with-test & >= "4.2.0"}
30+
"alcotest" {with-test & >= "1.7.0"}
31+
"cohttp-lwt-unix" {with-test & = version}
32+
"cohttp" {with-test & = version}
33+
"cohttp-lwt" {with-test & = version}
34+
"conduit-lwt" {with-test}
35+
"ounit2" {with-test}
36+
"odoc" {with-doc}
37+
]
38+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
39+
build: [
40+
["dune" "subst"] {dev}
41+
[
42+
"dune"
43+
"build"
44+
"-p"
45+
name
46+
"-j"
47+
jobs
48+
"@install"
49+
"@cohttp-curl-lwt/runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
x-maintenance-intent: [ "(latest)" ]
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
57+
checksum: [
58+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
59+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
60+
]
61+
}
62+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
opam-version: "2.0"
2+
synopsis: "Shared code between the individual cohttp-curl clients"
3+
description: "Use cohttp-curl-lwt or cohttp-curl-async"
4+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
5+
authors: [
6+
"Anil Madhavapeddy"
7+
"Stefano Zacchiroli"
8+
"David Sheets"
9+
"Thomas Gazagnaire"
10+
"David Scott"
11+
"Rudi Grinberg"
12+
"Andy Ray"
13+
"Anurag Soni"
14+
]
15+
license: "ISC"
16+
homepage: "https://github.com/mirage/ocaml-cohttp"
17+
doc: "https://mirage.github.io/ocaml-cohttp/"
18+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
19+
depends: [
20+
"dune" {>= "3.8"}
21+
"ocaml" {>= "4.08"}
22+
"ocurl" {>= "0.9.2"}
23+
"http" {= version}
24+
"stringext"
25+
"odoc" {with-doc}
26+
]
27+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
28+
build: [
29+
["dune" "subst"] {dev}
30+
[
31+
"dune"
32+
"build"
33+
"-p"
34+
name
35+
"-j"
36+
jobs
37+
"@install"
38+
"@cohttp-curl/runtest" {with-test}
39+
"@doc" {with-doc}
40+
]
41+
]
42+
x-maintenance-intent: [ "(latest)" ]
43+
url {
44+
src:
45+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
46+
checksum: [
47+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
48+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
49+
]
50+
}
51+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
opam-version: "2.0"
2+
synopsis: "CoHTTP implementation with eio backend"
3+
description:
4+
"A CoHTTP server and client implementation based on `eio` library. `cohttp-eio`features a multicore capable HTTP 1.1 server. The library promotes and is built with direct style of coding as opposed to a monadic."
5+
maintainer: ["Anil Madhavapeddy <[email protected]>"]
6+
authors: [
7+
"Anil Madhavapeddy"
8+
"Stefano Zacchiroli"
9+
"David Sheets"
10+
"Thomas Gazagnaire"
11+
"David Scott"
12+
"Rudi Grinberg"
13+
"Andy Ray"
14+
"Anurag Soni"
15+
]
16+
license: "ISC"
17+
homepage: "https://github.com/mirage/ocaml-cohttp"
18+
doc: "https://mirage.github.io/ocaml-cohttp/"
19+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
20+
depends: [
21+
"dune" {>= "3.8"}
22+
"alcotest" {with-test & >= "1.7.0"}
23+
"base-domains"
24+
"cohttp" {= version}
25+
"eio" {>= "0.12"}
26+
"eio_main" {with-test}
27+
"mdx" {with-test}
28+
"logs"
29+
"uri"
30+
"tls-eio" {with-test & >= "1.0.0"}
31+
"mirage-crypto-rng" {with-test & >= "1.2.0"}
32+
"ca-certs" {with-test & >= "1.0.0"}
33+
"fmt"
34+
"ptime"
35+
"http" {= version}
36+
"ppx_here" {with-test}
37+
"odoc" {with-doc}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
build: [
41+
["dune" "subst"] {dev}
42+
[
43+
"dune"
44+
"build"
45+
"-p"
46+
name
47+
"-j"
48+
jobs
49+
"@install"
50+
"@cohttp-eio/runtest" {with-test}
51+
"@doc" {with-doc}
52+
]
53+
]
54+
x-maintenance-intent: [ "(latest)" ]
55+
url {
56+
src:
57+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.1.1/cohttp-6.1.1.tbz"
58+
checksum: [
59+
"sha256=6b420c56203b3a0b515964f036bcea0fb9a362876b5791cd7ff50e12366c489c"
60+
"sha512=839ff6156658ca6d7922e6eed63ebb84dd09c76107790477be55a1ffc4a3800bf49c435147a0ed628f147eaeccff9a8d34565e3787f32c15e187b6e8855f0b93"
61+
]
62+
}
63+
x-commit-hash: "ca90e54281fdaec9765452ca753388f532f5c4cb"

0 commit comments

Comments
 (0)