|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: [ |
| 4 | + "Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg" |
| 5 | +] |
| 6 | +license: "ISC" |
| 7 | +tags: "org:mirage" |
| 8 | +homepage: "https://github.com/mirage/ocaml-conduit" |
| 9 | +doc: "https://mirage.github.io/ocaml-conduit/" |
| 10 | +bug-reports: "https://github.com/mirage/ocaml-conduit/issues" |
| 11 | +depends: [ |
| 12 | + "ocaml" {>= "4.03.0"} |
| 13 | + "dune" {>= "2.0"} |
| 14 | + "ppx_sexp_conv" {>="v0.13.0"} |
| 15 | + "sexplib" |
| 16 | + "astring" |
| 17 | + "uri" |
| 18 | + "logs" {>= "0.5.0"} |
| 19 | + "ipaddr" {>= "4.0.0"} |
| 20 | + "ipaddr-sexp" |
| 21 | +] |
| 22 | +build: [ |
| 23 | + ["dune" "subst"] {dev} |
| 24 | + ["dune" "build" "-p" name "-j" jobs] |
| 25 | +] |
| 26 | +dev-repo: "git+https://github.com/mirage/ocaml-conduit.git" |
| 27 | +synopsis: "A network connection establishment library" |
| 28 | +description: """ |
| 29 | +The `conduit` library takes care of establishing and listening for |
| 30 | +TCP and SSL/TLS connections for the Lwt and Async libraries. |
| 31 | + |
| 32 | +The reason this library exists is to provide a degree of abstraction |
| 33 | +from the precise SSL library used, since there are a variety of ways |
| 34 | +to bind to a library (e.g. the C FFI, or the Ctypes library), as well |
| 35 | +as well as which library is used (just OpenSSL for now). |
| 36 | + |
| 37 | +By default, OpenSSL is used as the preferred connection library, but |
| 38 | +you can force the use of the pure OCaml TLS stack by setting the |
| 39 | +environment variable `CONDUIT_TLS=native` when starting your program. |
| 40 | + |
| 41 | +The useful opam packages available that extend this library are: |
| 42 | + |
| 43 | +- `conduit`: the main `Conduit` module |
| 44 | +- `conduit-lwt`: the portable Lwt implementation |
| 45 | +- `conduit-lwt-unix`: the Lwt/Unix implementation |
| 46 | +- `conduit-async` the Jane Street Async implementation |
| 47 | +- `conduit-mirage`: the MirageOS compatible implementation |
| 48 | +""" |
| 49 | +url { |
| 50 | + src: |
| 51 | + "https://github.com/mirage/ocaml-conduit/releases/download/v6.1.0/conduit-6.1.0.tbz" |
| 52 | + checksum: [ |
| 53 | + "sha256=a2e29088630bbef92c1a902192a09548ab4a6b3f75a7eee6722426eca1efc05f" |
| 54 | + "sha512=308041a9cccf5b01827365ae9e75915bf33c812658ff1a802b275827f4c9af98dd991df9106a5b8d70374cc0d41398621bbafd8de829acfef4cb86e6b9523712" |
| 55 | + ] |
| 56 | +} |
| 57 | +x-commit-hash: "dc7af98ec25c71dd7e4ea78223e330b2596ec3f1" |
0 commit comments