Skip to content

Commit 428b6a4

Browse files
authored
Merge pull request ocaml#23619 from mseri/release-cohttp-v2.5.7
[new release] cohttp, cohttp-top, cohttp-mirage, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and cohttp-async (2.5.7)
2 parents ae1fd22 + cc3061f commit 428b6a4

File tree

7 files changed

+368
-0
lines changed
  • packages
    • cohttp-async/cohttp-async.2.5.7
    • cohttp-lwt-jsoo/cohttp-lwt-jsoo.2.5.7
    • cohttp-lwt-unix/cohttp-lwt-unix.2.5.7
    • cohttp-lwt/cohttp-lwt.2.5.7
    • cohttp-mirage/cohttp-mirage.2.5.7
    • cohttp-top/cohttp-top.2.5.7
    • cohttp/cohttp.2.5.7

7 files changed

+368
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Async concurrency library"
13+
description: """
14+
An implementation of an HTTP client and server using the Async
15+
concurrency library. See the `Cohttp_async` module for information
16+
on how to use this. The package also installs `cohttp-curl-async`
17+
and a `cohttp-server-async` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
"""
20+
license: "ISC"
21+
tags: ["org:mirage" "org:xapi-project"]
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+
"ocaml" {>= "4.04.1"}
27+
"dune" {>= "1.1.0"}
28+
"async_kernel" {>= "v0.14.0"}
29+
"async_unix" {>= "v0.14.0"}
30+
"async" {>= "v0.14.0"}
31+
"base" {>= "v0.11.0"}
32+
"core" {with-test & < "v0.15.0"}
33+
"cohttp" {=version}
34+
"conduit-async" {>="1.2.0" & < "3.0.0"}
35+
"core_unix" {>= "v0.14.0"}
36+
"magic-mime"
37+
"logs"
38+
"fmt" {>= "0.8.2"}
39+
"sexplib0"
40+
"stdlib-shims"
41+
"ppx_sexp_conv" {>= "v0.13.0"}
42+
"ounit" {with-test}
43+
"uri" {>= "2.0.0"}
44+
"uri-sexp"
45+
]
46+
build: [
47+
["dune" "subst"] {dev}
48+
["dune" "build" "-p" name "-j" jobs]
49+
["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "s390x" & os != "macos"}
50+
]
51+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
52+
url {
53+
src:
54+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
55+
checksum: [
56+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
57+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
58+
]
59+
}
60+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for the Js_of_ocaml JavaScript compiler"
13+
description: """
14+
An implementation of an HTTP client for JavaScript, but using the
15+
CoHTTP types. This lets you build HTTP clients that can compile
16+
natively (using one of the other Cohttp backends such as `cohttp-lwt-unix`)
17+
and also to native JavaScript via js_of_ocaml.
18+
"""
19+
license: "ISC"
20+
tags: ["org:mirage" "org:xapi-project"]
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+
"ocaml" {>= "4.04.1"}
26+
"dune" {>= "1.1.0"}
27+
"cohttp" {=version}
28+
"cohttp-lwt" {=version}
29+
"lwt" {>= "3.0.0"}
30+
"js_of_ocaml" {>= "3.3.0"}
31+
"js_of_ocaml-ppx" {>= "3.3.0"}
32+
"js_of_ocaml-lwt" {>= "3.5.0"}
33+
]
34+
build: [
35+
["dune" "subst"] {dev}
36+
["dune" "build" "-p" name "-j" jobs]
37+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
38+
]
39+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
40+
url {
41+
src:
42+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
43+
checksum: [
44+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
45+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
46+
]
47+
}
48+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation for Unix and Windows using Lwt"
13+
description: """
14+
An implementation of an HTTP client and server using the Lwt
15+
concurrency library. See the `Cohttp_lwt_unix` module for information
16+
on how to use this. The package also installs `cohttp-curl-lwt`
17+
and a `cohttp-server-lwt` binaries for quick uses of a HTTP(S)
18+
client and server respectively.
19+
20+
Although the name implies that this only works under Unix, it
21+
should also be fine under Windows too."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"conduit-lwt-unix" {>= "1.0.3" & < "3.0.0"}
31+
"cmdliner" {< "1.1.0"}
32+
"magic-mime"
33+
"logs"
34+
"fmt" {>= "0.8.2"}
35+
"cohttp-lwt" {=version}
36+
"lwt" {>= "3.0.0"}
37+
"base-unix"
38+
"ounit" {with-test}
39+
]
40+
build: [
41+
["dune" "subst"] {dev}
42+
["dune" "build" "-p" name "-j" jobs]
43+
["dune" "runtest" "-p" name "-j" jobs] {with-test & os != "macos"}
44+
]
45+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
46+
url {
47+
src:
48+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
49+
checksum: [
50+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
51+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
52+
]
53+
}
54+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP implementation using the Lwt concurrency library"
13+
description: """
14+
This is a portable implementation of HTTP that uses the Lwt
15+
concurrency library to multiplex IO. It implements as much of the
16+
logic in an OS-independent way as possible, so that more specialised
17+
modules can be tailored for different targets. For example, you
18+
can install `cohttp-lwt-unix` or `cohttp-lwt-jsoo` for a Unix or
19+
JavaScript backend, or `cohttp-mirage` for the MirageOS unikernel
20+
version of the library. All of these implementations share the same
21+
IO logic from this module."""
22+
license: "ISC"
23+
tags: ["org:mirage" "org:xapi-project"]
24+
homepage: "https://github.com/mirage/ocaml-cohttp"
25+
doc: "https://mirage.github.io/ocaml-cohttp/"
26+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
27+
depends: [
28+
"ocaml" {>= "4.04.1"}
29+
"dune" {>= "1.1.0"}
30+
"cohttp" {=version}
31+
"lwt" {>= "2.6.0"}
32+
"sexplib0"
33+
"ppx_sexp_conv" {>= "v0.13.0"}
34+
"logs"
35+
]
36+
build: [
37+
["dune" "subst"] {dev}
38+
["dune" "build" "-p" name "-j" jobs]
39+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
40+
]
41+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
42+
url {
43+
src:
44+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
45+
checksum: [
46+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
47+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
48+
]
49+
}
50+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: ["Anil Madhavapeddy" "Thomas Gazagnaire"]
4+
license: "ISC"
5+
tags: ["org:mirage" "org:xapi-project"]
6+
homepage: "https://github.com/mirage/ocaml-cohttp"
7+
doc: "https://mirage.github.io/ocaml-cohttp/"
8+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
9+
synopsis: "CoHTTP implementation for the MirageOS unikernel"
10+
description: """
11+
This HTTP implementation uses the Cohttp portable implementaiton
12+
along with the Lwt threading library in order to provide a
13+
`Cohttp_mirage` functor that can be used in MirageOS unikernels
14+
to build very small and efficient HTTP clients and servers
15+
without having a hard dependency on an underlying operating
16+
system.
17+
18+
Please see <https://mirage.io> for a self-hosted explanation
19+
and instructions on how to use this library."""
20+
depends: [
21+
"ocaml" {>= "4.05.0"}
22+
"dune" {>= "1.1.0"}
23+
"mirage-flow" {>= "2.0.0"}
24+
"mirage-channel" {>= "4.0.0"}
25+
"conduit" {>= "2.0.2"}
26+
"conduit-mirage" {>= "2.0.2" & < "2.3.0"}
27+
"mirage-kv" {>= "3.0.0"}
28+
"lwt" {>= "2.4.3"}
29+
"cohttp" {=version}
30+
"cohttp-lwt" {=version}
31+
"astring"
32+
"magic-mime"
33+
"fmt" {>= "0.8.7"}
34+
]
35+
build: [
36+
["dune" "subst"] {dev}
37+
["dune" "build" "-p" name "-j" jobs]
38+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
39+
]
40+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
41+
url {
42+
src:
43+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
44+
checksum: [
45+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
46+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
47+
]
48+
}
49+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "CoHTTP toplevel pretty printers for HTTP types"
13+
description: """
14+
This library installs toplevel prettyprinters for CoHTTP
15+
types such as the `Request`, `Response` and `Types` modules.
16+
Once this library has been loaded, you can directly see the
17+
values of those types in toplevels such as `utop` or `ocaml`."""
18+
license: "ISC"
19+
tags: ["org:mirage" "org:xapi-project"]
20+
homepage: "https://github.com/mirage/ocaml-cohttp"
21+
doc: "https://mirage.github.io/ocaml-cohttp/"
22+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
23+
depends: [
24+
"ocaml" {>= "4.04.1"}
25+
"dune" {>= "1.1.0"}
26+
"cohttp" {=version}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
["dune" "build" "-p" name "-j" jobs]
31+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
32+
]
33+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
34+
url {
35+
src:
36+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
37+
checksum: [
38+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
39+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
40+
]
41+
}
42+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"

packages/cohttp/cohttp.2.5.7/opam

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
opam-version: "2.0"
2+
maintainer: "[email protected]"
3+
authors: [
4+
"Anil Madhavapeddy"
5+
"Stefano Zacchiroli"
6+
"David Sheets"
7+
"Thomas Gazagnaire"
8+
"David Scott"
9+
"Rudi Grinberg"
10+
"Andy Ray"
11+
]
12+
synopsis: "An OCaml library for HTTP clients and servers"
13+
description: """
14+
Cohttp is an OCaml library for creating HTTP daemons. It has a portable
15+
HTTP parser, and implementations using various asynchronous programming
16+
libraries.
17+
18+
See the cohttp-async, cohttp-lwt, cohttp-lwt-unix, cohttp-lwt-jsoo and
19+
cohttp-mirage libraries for concrete implementations for particular
20+
targets.
21+
22+
You can implement other targets using the parser very easily. Look at the `IO`
23+
signature in `lib/s.mli` and implement that in the desired backend.
24+
25+
You can activate some runtime debugging by setting `COHTTP_DEBUG` to any
26+
value, and all requests and responses will be written to stderr. Further
27+
debugging of the connection layer can be obtained by setting `CONDUIT_DEBUG`
28+
to any value."""
29+
license: "ISC"
30+
tags: ["org:mirage" "org:xapi-project"]
31+
homepage: "https://github.com/mirage/ocaml-cohttp"
32+
doc: "https://mirage.github.io/ocaml-cohttp/"
33+
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
34+
depends: [
35+
"ocaml" {>= "4.04.1"}
36+
"dune" {>= "1.1.0"}
37+
"re" {>= "1.9.0"}
38+
"uri" {>= "2.0.0"}
39+
"uri-sexp"
40+
"fieldslib"
41+
"sexplib0"
42+
"ppx_fields_conv" {>= "v0.9.0"}
43+
"ppx_sexp_conv" {>= "v0.13.0"}
44+
"stringext"
45+
"base64" {>= "3.1.0"}
46+
"stdlib-shims"
47+
"fmt" {with-test}
48+
"jsonm" {build}
49+
"alcotest" {with-test}
50+
]
51+
build: [
52+
["dune" "subst"] {dev}
53+
["dune" "build" "-p" name "-j" jobs]
54+
["dune" "runtest" "-p" name "-j" jobs] {with-test & arch != "arm32" & arch != "x86_32"}
55+
]
56+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
57+
url {
58+
src:
59+
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.5.7/cohttp-v2.5.7.tbz"
60+
checksum: [
61+
"sha256=88011a0decf55e2838ab0276540e710faff5602643edc1fc4b55012cc643e82f"
62+
"sha512=77135fa15372de5eb0588cde9b56a2796858131637db2b6f81e4d0a0ff6b9e0b2bf9664fdec9c1875eb3913f642a317dec7eeabc0f250115e3a7abc719af2168"
63+
]
64+
}
65+
x-commit-hash: "a40873ab8313de44e28e354ee0ece5e6b2c8e775"

0 commit comments

Comments
 (0)