Skip to content

Commit 297ab9e

Browse files
authored
Merge pull request ocaml#23737 from mseri/release-http-v6.0.0_alpha1
[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)
2 parents 1398636 + d8a8d0e commit 297ab9e

File tree

13 files changed

+829
-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

+829
-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.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: opam-version >= "2.1.0" & arch != "s390x"
65+
flags: [ avoid-version ]
66+
url {
67+
src:
68+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
69+
checksum: [
70+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
71+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
72+
]
73+
}
74+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
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.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+
available: opam-version >= "2.1.0"
39+
flags: [ avoid-version ]
40+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
41+
build: [
42+
["dune" "subst"] {dev}
43+
[
44+
"dune"
45+
"build"
46+
"-p"
47+
name
48+
"-j"
49+
jobs
50+
"@install"
51+
"@cohttp-curl-async/runtest" {with-test}
52+
"@doc" {with-doc}
53+
]
54+
]
55+
url {
56+
src:
57+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
58+
checksum: [
59+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
60+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
61+
]
62+
}
63+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
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 & 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+
available: opam-version >= "2.1.0"
39+
flags: [ avoid-version ]
40+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
41+
build: [
42+
["dune" "subst"] {dev}
43+
[
44+
"dune"
45+
"build"
46+
"-p"
47+
name
48+
"-j"
49+
jobs
50+
"@install"
51+
"@cohttp-curl-lwt/runtest" {with-test}
52+
"@doc" {with-doc}
53+
]
54+
]
55+
url {
56+
src:
57+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
58+
checksum: [
59+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
60+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
61+
]
62+
}
63+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
available: opam-version >= "2.1.0"
28+
flags: [ avoid-version ]
29+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
30+
build: [
31+
["dune" "subst"] {dev}
32+
[
33+
"dune"
34+
"build"
35+
"-p"
36+
name
37+
"-j"
38+
jobs
39+
"@install"
40+
"@cohttp-curl/runtest" {with-test}
41+
"@doc" {with-doc}
42+
]
43+
]
44+
url {
45+
src:
46+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
47+
checksum: [
48+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
49+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
50+
]
51+
}
52+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
available: opam-version >= "2.1.0"
33+
flags: [ avoid-version ]
34+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
35+
build: [
36+
["dune" "subst"] {dev}
37+
[
38+
"dune"
39+
"build"
40+
"-p"
41+
name
42+
"-j"
43+
jobs
44+
"@install"
45+
"@cohttp-eio/runtest" {with-test}
46+
"@doc" {with-doc}
47+
]
48+
]
49+
url {
50+
src:
51+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
52+
checksum: [
53+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
54+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
55+
]
56+
}
57+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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+
available: opam-version >= "2.1.0"
40+
flags: [ avoid-version ]
41+
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
42+
build: [
43+
["dune" "subst"] {dev}
44+
[
45+
"dune"
46+
"build"
47+
"-p"
48+
name
49+
"-j"
50+
jobs
51+
"@install"
52+
"@cohttp-lwt-jsoo/runtest" {with-test}
53+
"@doc" {with-doc}
54+
]
55+
]
56+
url {
57+
src:
58+
"https://github.com/mirage/ocaml-cohttp/releases/download/v6.0.0_alpha1/cohttp-6.0.0.alpha1.tbz"
59+
checksum: [
60+
"sha256=4e3ece8ade6493fe731c0842f519cc0f8f564753d71c985aa4ed6de3f0753646"
61+
"sha512=5db6f1ffab6fc2ab30baffb1fc82b7f50b11ddb31ec19fc4415dac40f04766f29e816a4cf99ddb152b93c8acbefade7779ad3dc3d092e2f88fa1deea3fc2721a"
62+
]
63+
}
64+
x-commit-hash: "16e991ec1f7e5f0c99615cd1f58b99b02e3d0499"

0 commit comments

Comments
 (0)