Skip to content

Commit e5ede6b

Browse files
authored
Merge pull request #716 from robhoes/httpun
Add httpun and h2 (with dependencies)
2 parents d2b1d26 + 5bd10d2 commit e5ede6b

File tree

9 files changed

+285
-0
lines changed
  • packages
    • bigstring/bigstring.0.3
    • bigstring-unix/bigstring-unix.0.3
    • faraday/faraday.0.8.2
    • gluten/gluten.0.5.2
    • h2/h2.0.13.0
    • hpack/hpack.0.13.0
    • httpun/httpun.0.2.0
    • httpun-types/httpun-types.0.2.0
    • xs-toolstack/xs-toolstack.master

9 files changed

+285
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
name: "bigstring-unix"
3+
version: "0.3"
4+
synopsis:
5+
"I/O functions for bigstrings using file descriptors and memory-maps"
6+
maintainer: "Simon Cruanes <simon.cruanes.2007@m4x.org>"
7+
authors: "Simon Cruanes <simon.cruanes.2007@m4x.org>"
8+
license: "BSD-2-Clause"
9+
tags: ["bigstring" "bigarray"]
10+
homepage: "https://github.com/c-cube/ocaml-bigstring/"
11+
bug-reports: "https://github.com/c-cube/ocaml-bigstring/issues"
12+
depends: [
13+
"dune" {>= "1.2"}
14+
"base-bigarray"
15+
"base-unix"
16+
"ocaml" {>= "4.03.0"}
17+
"alcotest" {with-test}
18+
"bigstring" {with-test}
19+
]
20+
build: [
21+
["dune" "build" "-p" name "-j" jobs]
22+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
23+
]
24+
dev-repo: "git+https://github.com/c-cube/ocaml-bigstring.git"
25+
url {
26+
src: "https://github.com/c-cube/ocaml-bigstring/archive/0.3.tar.gz"
27+
checksum: [
28+
"md5=dff09605881c7f6efd4a8a1a71790889"
29+
"sha512=d0c530603e9bb37a704d736137953e4f2a1b1e16517587010f2fb323a5c3e4d887f558775349231ea15a98d3c085ed9daaf0a7603f165cdd0097ff2548ce790a"
30+
]
31+
}

packages/bigstring/bigstring.0.3/opam

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
name: "bigstring-unix"
3+
version: "0.3"
4+
synopsis:
5+
"I/O functions for bigstrings using file descriptors and memory-maps"
6+
maintainer: "Simon Cruanes <simon.cruanes.2007@m4x.org>"
7+
authors: "Simon Cruanes <simon.cruanes.2007@m4x.org>"
8+
license: "BSD-2-Clause"
9+
tags: ["bigstring" "bigarray"]
10+
homepage: "https://github.com/c-cube/ocaml-bigstring/"
11+
bug-reports: "https://github.com/c-cube/ocaml-bigstring/issues"
12+
depends: [
13+
"dune" {>= "1.2"}
14+
"base-bigarray"
15+
"base-unix"
16+
"ocaml" {>= "4.03.0"}
17+
"alcotest" {with-test}
18+
"bigstring" {with-test}
19+
]
20+
build: [
21+
["dune" "build" "-p" name "-j" jobs]
22+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
23+
]
24+
dev-repo: "git+https://github.com/c-cube/ocaml-bigstring.git"
25+
url {
26+
src: "https://github.com/c-cube/ocaml-bigstring/archive/0.3.tar.gz"
27+
checksum: [
28+
"md5=dff09605881c7f6efd4a8a1a71790889"
29+
"sha512=d0c530603e9bb37a704d736137953e4f2a1b1e16517587010f2fb323a5c3e4d887f558775349231ea15a98d3c085ed9daaf0a7603f165cdd0097ff2548ce790a"
30+
]
31+
}

packages/faraday/faraday.0.8.2/opam

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
name: "faraday"
3+
version: "0.8.2"
4+
synopsis: "A library for writing fast and memory-efficient serializers"
5+
description: """\
6+
Faraday is a library for writing fast and memory-efficient serializers. Its
7+
core type and related operation gives the user fine-grained control over
8+
copying and allocation behavior while serializing user-defined types, and
9+
presents the output in a form that makes it possible to use vectorized write
10+
operations, such as the writev system call, or any other platform or
11+
application-specific output APIs."""
12+
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
13+
authors: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
14+
license: "BSD-3-clause"
15+
homepage: "https://github.com/inhabitedtype/faraday"
16+
bug-reports: "https://github.com/inhabitedtype/faraday/issues"
17+
depends: [
18+
"ocaml" {>= "4.03.0"}
19+
"dune" {>= "1.11"}
20+
"alcotest" {with-test & >= "0.4.1"}
21+
"bigstringaf"
22+
]
23+
build: [
24+
["dune" "subst"] {dev}
25+
["dune" "build" "-p" name "-j" jobs]
26+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
27+
]
28+
dev-repo: "git+https://github.com/inhabitedtype/faraday.git"
29+
url {
30+
src: "https://github.com/inhabitedtype/faraday/archive/0.8.2.tar.gz"
31+
checksum: [
32+
"sha256=720ea90b39fd3ea7de6e8722330a25514e67306e94d4af41ad48d8a7cfa035c6"
33+
"md5=307dccc4ea67ff0eeff394701d05bbe7"
34+
]
35+
}

packages/gluten/gluten.0.5.2/opam

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
opam-version: "2.0"
2+
name: "gluten"
3+
version: "0.5.2"
4+
synopsis: "A reusable runtime library for network protocols"
5+
description:
6+
"gluten implements platform specific runtime code for driving network libraries based on state machines, such as http/af, h2 and websocketaf."
7+
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
8+
authors: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
9+
license: "BSD-3-clause"
10+
homepage: "https://github.com/anmonteiro/gluten"
11+
bug-reports: "https://github.com/anmonteiro/gluten/issues"
12+
depends: [
13+
"dune" {>= "2.7"}
14+
"ocaml" {>= "4.08.0"}
15+
"bigstringaf" {>= "0.4.0"}
16+
"faraday" {>= "0.7.3"}
17+
"odoc" {with-doc}
18+
]
19+
build: [
20+
["dune" "subst"] {dev}
21+
[
22+
"dune"
23+
"build"
24+
"-p"
25+
name
26+
"-j"
27+
jobs
28+
"@install"
29+
"@runtest" {with-test}
30+
"@doc" {with-doc}
31+
]
32+
]
33+
dev-repo: "git+https://github.com/anmonteiro/gluten.git"
34+
url {
35+
src:
36+
"https://github.com/anmonteiro/gluten/releases/download/0.5.2/gluten-0.5.2.tbz"
37+
checksum: [
38+
"sha256=b1eed89f9f6080bb4bd289cc8d252c6bcf01f03d395726e66fa6067207e7015f"
39+
"sha512=105e549d5ff83c43be6ab5e71ec1c19b27140a279002f04e02792e778f9e75deaecf4251324e6273e43039e38572b45ea236626b3afa7ef5c3c72baa3002c129"
40+
]
41+
}
42+
x-commit-hash: "6a438739280b855474d5eb7906e4daa2b129ffa8"

packages/h2/h2.0.13.0/opam

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
opam-version: "2.0"
2+
name: "h2"
3+
version: "0.13.0"
4+
synopsis:
5+
"A high-performance, memory-efficient, and scalable HTTP/2 library for OCaml"
6+
description:
7+
"h2 is an implementation of the HTTP/2 specification entirely in OCaml. It is based on the concepts in httpun, and therefore uses the Angstrom and Faraday libraries to implement the parsing and serialization layers of the HTTP/2 standard as a state machine that is agnostic to the underlying I/O specifics. It also preserves the same API as httpun wherever possible."
8+
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
9+
authors: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
10+
license: "BSD-3-clause"
11+
homepage: "https://github.com/anmonteiro/ocaml-h2"
12+
bug-reports: "https://github.com/anmonteiro/ocaml-h2/issues"
13+
depends: [
14+
"dune" {>= "2.7"}
15+
"ocaml" {>= "4.08.0"}
16+
"base64" {>= "3.0.0"}
17+
"angstrom" {>= "0.14.0"}
18+
"faraday" {>= "0.7.3"}
19+
"bigstringaf" {>= "0.5.0"}
20+
"psq"
21+
"hpack" {= version}
22+
"httpun-types"
23+
"alcotest" {with-test}
24+
"yojson" {with-test}
25+
"hex" {with-test}
26+
"odoc" {with-doc}
27+
]
28+
build: [
29+
["dune" "subst"] {dev}
30+
["dune" "build" "-p" name "-j" jobs "@install" "@doc" {with-doc}]
31+
]
32+
dev-repo: "git+https://github.com/anmonteiro/ocaml-h2.git"
33+
url {
34+
src:
35+
"https://github.com/anmonteiro/ocaml-h2/releases/download/0.13.0/h2-0.13.0.tbz"
36+
checksum: [
37+
"sha256=0d89b6f178175294e7a207223be81d5b83fc31b97549bec34f0432a3b2a8070f"
38+
"sha512=a442cb80f40fd179211e9ab7b4b748a4d2f7ad6ece75301d74a5363c08cd05a70b94ae90ff6fc6b95e8284c57c14cc17cbe7ade5dbf19b21b56207c6f984faf4"
39+
]
40+
}
41+
x-commit-hash: "49c0591ce90e54187625919a460b694c8f3d003b"

packages/hpack/hpack.0.13.0/opam

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
opam-version: "2.0"
2+
name: "hpack"
3+
version: "0.13.0"
4+
synopsis: "An HPACK (Header Compression for HTTP/2) implementation in OCaml"
5+
description:
6+
"hpack is an implementation of the HPACK: Header Compression for HTTP/2 specification (RFC7541) written in OCaml. It uses Angstrom and Faraday for parsing and serialization, respectively."
7+
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
8+
authors: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
9+
license: "BSD-3-clause"
10+
homepage: "https://github.com/anmonteiro/ocaml-h2"
11+
bug-reports: "https://github.com/anmonteiro/ocaml-h2/issues"
12+
depends: [
13+
"dune" {>= "2.7"}
14+
"ocaml" {>= "4.08.0"}
15+
"angstrom"
16+
"faraday" {>= "0.7.3"}
17+
"yojson" {with-test}
18+
"hex" {with-test}
19+
"odoc" {with-doc}
20+
]
21+
build: [
22+
["dune" "subst"] {dev}
23+
["dune" "build" "-p" name "-j" jobs "@install" "@doc" {with-doc}]
24+
]
25+
dev-repo: "git+https://github.com/anmonteiro/ocaml-h2.git"
26+
url {
27+
src:
28+
"https://github.com/anmonteiro/ocaml-h2/releases/download/0.13.0/h2-0.13.0.tbz"
29+
checksum: [
30+
"sha256=0d89b6f178175294e7a207223be81d5b83fc31b97549bec34f0432a3b2a8070f"
31+
"sha512=a442cb80f40fd179211e9ab7b4b748a4d2f7ad6ece75301d74a5363c08cd05a70b94ae90ff6fc6b95e8284c57c14cc17cbe7ade5dbf19b21b56207c6f984faf4"
32+
]
33+
}
34+
x-commit-hash: "49c0591ce90e54187625919a460b694c8f3d003b"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
name: "httpun-types"
3+
version: "0.2.0"
4+
synopsis: "Common HTTP/1.x types"
5+
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
6+
authors: [
7+
"Spiros Eliopoulos <spiros@inhabitedtype.com>"
8+
"Antonio Nuno Monteiro <anmonteiro@gmail.com>"
9+
]
10+
license: "BSD-3-clause"
11+
homepage: "https://github.com/anmonteiro/httpun"
12+
bug-reports: "https://github.com/anmonteiro/httpun/issues"
13+
depends: [
14+
"ocaml" {>= "4.08.0"}
15+
"dune" {>= "3.0.0"}
16+
"faraday" {>= "0.8.0"}
17+
]
18+
build: [
19+
["dune" "build" "-p" name "-j" jobs]
20+
["dune" "runtest" "-p" name] {with-test}
21+
]
22+
dev-repo: "git+https://github.com/anmonteiro/httpun.git"
23+
url {
24+
src:
25+
"https://github.com/anmonteiro/httpun/releases/download/0.2.0/httpun-0.2.0.tbz"
26+
checksum: [
27+
"sha256=a2ce27ef4c85ae8e1c1008d1e3d5e893d6b211b934586a1dd2942f7db687bd2c"
28+
"sha512=53ae8409321533b4092df166c69cd219a4e2071bb3b9fa3361072205eda6d62df25fe964c62d2b49c14530fd34746b8d8c8f010293ebe099bed0237d0f55a66b"
29+
]
30+
}
31+
x-commit-hash: "80755658e548fce295ee3df118d6c1b8f5fa6956"

packages/httpun/httpun.0.2.0/opam

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
opam-version: "2.0"
2+
name: "httpun"
3+
version: "0.2.0"
4+
synopsis:
5+
"A high-performance, memory-efficient, and scalable HTTP library for OCaml"
6+
maintainer: "Antonio Nuno Monteiro <anmonteiro@gmail.com>"
7+
authors: [
8+
"Spiros Eliopoulos <spiros@inhabitedtype.com>"
9+
"Antonio Nuno Monteiro <anmonteiro@gmail.com>"
10+
]
11+
license: "BSD-3-clause"
12+
homepage: "https://github.com/anmonteiro/httpun"
13+
bug-reports: "https://github.com/anmonteiro/httpun/issues"
14+
depends: [
15+
"ocaml" {>= "4.08.0"}
16+
"dune" {>= "3.0.0"}
17+
"alcotest" {with-test}
18+
"httpun-types" {= version}
19+
"bigstringaf" {>= "0.9.0"}
20+
"angstrom" {>= "0.15.0"}
21+
"faraday" {>= "0.8.0"}
22+
]
23+
build: [
24+
["dune" "build" "-p" name "-j" jobs]
25+
["dune" "runtest" "-p" name] {with-test}
26+
]
27+
dev-repo: "git+https://github.com/anmonteiro/httpun.git"
28+
url {
29+
src:
30+
"https://github.com/anmonteiro/httpun/releases/download/0.2.0/httpun-0.2.0.tbz"
31+
checksum: [
32+
"sha256=a2ce27ef4c85ae8e1c1008d1e3d5e893d6b211b934586a1dd2942f7db687bd2c"
33+
"sha512=53ae8409321533b4092df166c69cd219a4e2071bb3b9fa3361072205eda6d62df25fe964c62d2b49c14530fd34746b8d8c8f010293ebe099bed0237d0f55a66b"
34+
]
35+
}
36+
x-commit-hash: "80755658e548fce295ee3df118d6c1b8f5fa6956"

packages/xs-toolstack/xs-toolstack.master/opam

+4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@ depends: [
1010
"conf-libev" # needed for lwt to avoid using select
1111
"goblint" # Edwin wants this to test some FFI properties
1212
"ocamlformat" # needed to use it while developing the koji rpm
13+
"bigstring-unix"
1314
"clock"
1415
"forkexec"
16+
"gluten"
1517
"gzip"
18+
"h2"
1619
"http-lib"
20+
"httpun"
1721
"message-switch"
1822
"message-switch-cli"
1923
"nbd-tool"

0 commit comments

Comments
 (0)