···11+opam-version: "2.0"
22+maintainer: "anil@recoil.org"
33+authors: [
44+ "Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"
55+]
66+license: "ISC"
77+tags: "org:mirage"
88+homepage: "https://github.com/mirage/ocaml-conduit"
99+doc: "https://mirage.github.io/ocaml-conduit/"
1010+bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
1111+depends: [
1212+ "ocaml" {>= "4.03.0"}
1313+ "dune" {>= "2.0"}
1414+ "ppx_sexp_conv" {>="v0.13.0"}
1515+ "sexplib"
1616+ "astring"
1717+ "uri"
1818+ "logs" {>= "0.5.0"}
1919+ "ipaddr" {>= "4.0.0"}
2020+ "ipaddr-sexp"
2121+]
2222+build: [
2323+ ["dune" "subst"] {dev}
2424+ ["dune" "build" "-p" name "-j" jobs]
2525+]
2626+dev-repo: "git+https://github.com/mirage/ocaml-conduit.git"
2727+synopsis: "A network connection establishment library"
2828+description: """
2929+The `conduit` library takes care of establishing and listening for
3030+TCP and SSL/TLS connections for the Lwt and Async libraries.
3131+3232+The reason this library exists is to provide a degree of abstraction
3333+from the precise SSL library used, since there are a variety of ways
3434+to bind to a library (e.g. the C FFI, or the Ctypes library), as well
3535+as well as which library is used (just OpenSSL for now).
3636+3737+By default, OpenSSL is used as the preferred connection library, but
3838+you can force the use of the pure OCaml TLS stack by setting the
3939+environment variable `CONDUIT_TLS=native` when starting your program.
4040+4141+The useful opam packages available that extend this library are:
4242+4343+- `conduit`: the main `Conduit` module
4444+- `conduit-lwt`: the portable Lwt implementation
4545+- `conduit-lwt-unix`: the Lwt/Unix implementation
4646+- `conduit-async` the Jane Street Async implementation
4747+- `conduit-mirage`: the MirageOS compatible implementation
4848+"""
4949+x-commit-hash: "d3662ad5b40440c8474197a1856c4287294df372"
5050+url {
5151+ src:
5252+ "https://github.com/mirage/ocaml-conduit/releases/download/v4.0.1/conduit-v4.0.1.tbz"
5353+ checksum: [
5454+ "sha256=500d95bf2a524f4851e94373e32d26b6e99ee04e5134db69fe6e151c3aad9b1f"
5555+ "sha512=449aa5d1c609adaa507791c3130eda634cba4f89f46d94e557a076a1add90f93b0db3b22c43e4cb67266a7f8a52d47f5aae49af8e60ef8d07e1ca9b1f2381186"
5656+ ]
5757+}