Skip to content

Commit 05c9cb1

Browse files
committed
[new release] cohttp-async, cohttp-curl-async, cohttp-curl-lwt, cohttp-curl, cohttp-eio, cohttp-lwt-jsoo, cohttp-lwt-unix, cohttp-lwt, cohttp-mirage, cohttp-server-lwt-unix, cohttp-top, cohttp and http (6.0.0~alpha1)
CHANGES: - cohttp,cohttp-async server: correctly close broken streams (reported by Stéphane Glondu, fix by samhot and anuragsoni) - cohttp-eio: remove unused code from tests to work with Eio 0.8 (talex5 mirage/ocaml-cohttp#967) - Upgrade dune to v3.0 (bikallem mirage/ocaml-cohttp#947) - cohttp-eio: allow client to optionally configure request pipelining (bikallem mirage/ocaml-cohttp#949) - cohttp-eio: update to Eio 0.7 (talex5 mirage/ocaml-cohttp#952) - cohttp-eio: update examples to use eio 0.7 primitives (bikallem mirage/ocaml-cohttp#957) - cohttp-eio: generate Date header in responses (bikallem mirage/ocaml-cohttp#955) - cohttp-eio: further improve Cohttp_eio.Client ergonomics (bikallem #?) - cohttp-eio: server api improvements (bikallem mirage/ocaml-cohttp#962)
1 parent b3466c7 commit 05c9cb1

File tree

13 files changed

+804
-0
lines changed
  • packages
    • cohttp-async/cohttp-async.6.0.0~alpha1
    • cohttp-curl-async/cohttp-curl-async.6.0.0~alpha1
    • cohttp-curl-lwt/cohttp-curl-lwt.6.0.0~alpha1
    • cohttp-curl/cohttp-curl.6.0.0~alpha1
    • cohttp-eio/cohttp-eio.6.0.0~alpha1
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.6.0.0~alpha1
    • cohttp-lwt-unix/cohttp-lwt-unix.6.0.0~alpha1
    • cohttp-lwt/cohttp-lwt.6.0.0~alpha1
    • cohttp-mirage/cohttp-mirage.6.0.0~alpha1
    • cohttp-server-lwt-unix/cohttp-server-lwt-unix.6.0.0~alpha1
    • cohttp-top/cohttp-top.6.0.0~alpha1
    • cohttp/cohttp.6.0.0~alpha1
    • http/http.6.0.0~alpha1

13 files changed

+804
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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.0"}
27+
"ocaml" {>= "4.08"}
28+
"http" {= version}
29+
"cohttp" {= version}
30+
"async_kernel" {>= "v0.14.0"}
31+
"async_unix" {>= "v0.14.0"}
32+
"async" {>= "v0.14.0"}
33+
"base" {>= "v0.11.0"}
34+
"core" {with-test}
35+
"core_unix" {>= "v0.14.0"}
36+
"conduit-async" {>= "1.2.0"}
37+
"magic-mime"
38+
"mirage-crypto" {with-test}
39+
"logs"
40+
"fmt" {>= "0.8.2"}
41+
"sexplib0"
42+
"ppx_sexp_conv" {>= "v0.13.0"}
43+
"ounit" {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+
url {
66+
src:
67+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
68+
checksum: [
69+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
70+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
71+
]
72+
}
73+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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.0"}
23+
"ocurl"
24+
"http" {= version}
25+
"stringext"
26+
"cohttp-curl" {= version}
27+
"core"
28+
"core_unix" {>= "v0.14.0"}
29+
"async_kernel"
30+
"async_unix"
31+
"cohttp-async" {with-test & = version}
32+
"uri" {with-test & >= "4.2.0"}
33+
"fmt" {with-test}
34+
"ounit" {with-test}
35+
"alcotest" {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-async/runtest" {with-test}
50+
"@doc" {with-doc}
51+
]
52+
]
53+
url {
54+
src:
55+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
56+
checksum: [
57+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
58+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
59+
]
60+
}
61+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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.0"}
23+
"ocaml" {>= "4.08"}
24+
"ocurl"
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}
31+
"cohttp-lwt-unix" {with-test & = version}
32+
"cohttp" {with-test & = version}
33+
"cohttp-lwt" {with-test & = version}
34+
"conduit-lwt" {with-test}
35+
"ounit" {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+
url {
54+
src:
55+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
56+
checksum: [
57+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
58+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
59+
]
60+
}
61+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.0"}
21+
"ocaml" {>= "4.08"}
22+
"ocurl"
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+
url {
43+
src:
44+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
45+
checksum: [
46+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
47+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
48+
]
49+
}
50+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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.0"}
22+
"base-domains"
23+
"eio" {>= "0.7"}
24+
"eio_main" {with-test}
25+
"mdx" {with-test}
26+
"uri" {with-test}
27+
"fmt"
28+
"ptime"
29+
"http" {= version}
30+
"odoc" {with-doc}
31+
]
32+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
33+
build: [
34+
["dune" "subst"] {dev}
35+
[
36+
"dune"
37+
"build"
38+
"-p"
39+
name
40+
"-j"
41+
jobs
42+
"@install"
43+
"@cohttp-eio/runtest" {with-test}
44+
"@doc" {with-doc}
45+
]
46+
]
47+
url {
48+
src:
49+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
50+
checksum: [
51+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
52+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
53+
]
54+
}
55+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
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 implementation for the Js_of_ocaml JavaScript compiler"
3+
description: """
4+
An implementation of an HTTP client for JavaScript, but using the
5+
CoHTTP types. This lets you build HTTP clients that can compile
6+
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`)
7+
and also to native JavaScript via js_of_ocaml.
8+
"""
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.0"}
26+
"ocaml" {>= "4.08"}
27+
"http" {= version}
28+
"cohttp" {= version}
29+
"cohttp-lwt" {= version}
30+
"logs"
31+
"lwt" {>= "3.0.0"}
32+
"lwt_ppx" {with-test}
33+
"conf-npm" {with-test}
34+
"js_of_ocaml" {>= "3.3.0"}
35+
"js_of_ocaml-ppx" {>= "3.3.0"}
36+
"js_of_ocaml-lwt" {>= "3.5.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-lwt-jsoo/runtest" {with-test}
51+
"@doc" {with-doc}
52+
]
53+
]
54+
url {
55+
src:
56+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
57+
checksum: [
58+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
59+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
60+
]
61+
}
62+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"

0 commit comments

Comments
 (0)