-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[new release] conduit-lwt-unix and conduit-async (v1.2.0) #12552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| An OCaml network connection establishment library | ||
|
|
||
| [](https://travis-ci.org/mirage/ocaml-conduit) | ||
|
|
||
| The `conduit` library takes care of establishing and listening for | ||
| TCP and SSL/TLS connections for the Lwt and Async libraries. | ||
|
|
||
| The reason this library exists is to provide a degree of abstraction | ||
| from the precise SSL library used, since there are a variety of ways | ||
| to bind to a library (e.g. the C FFI, or the Ctypes library), as well | ||
| as well as which library is used (just OpenSSL for now). | ||
|
|
||
| By default, OpenSSL is used as the preferred connection library, but | ||
| you can force the use of the pure OCaml TLS stack by setting the | ||
| environment variable `CONDUIT_TLS=native` when starting your program. | ||
|
|
||
| The opam packages available are: | ||
|
|
||
| - `conduit`: the main `Conduit` module | ||
| - `conduit-lwt`: the portable Lwt implementation | ||
| - `conduit-lwt-unix`: the Lwt/Unix implementation | ||
| - `conduit-async` the Jane Street Async implementation | ||
| - `mirage-conduit`: the MirageOS compatible implementation | ||
|
|
||
| ### Debugging | ||
|
|
||
| Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` | ||
| environment variable to output debugging information to standard error. | ||
| Just set this variable when running the program to see what URIs | ||
| are being resolved to. | ||
|
|
||
| ### Further Informartion | ||
|
|
||
| * **API Docs:** http://docs.mirage.io/ | ||
| * **WWW:** https://github.com/mirage/ocaml-conduit | ||
| * **E-mail:** <mirageos-devel@lists.xenproject.org> | ||
| * **Bugs:** https://github.com/mirage/ocaml-conduit/issues |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| opam-version: "1.2" | ||
| maintainer: "anil@recoil.org" | ||
| authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] | ||
| homepage: "https://github.com/mirage/ocaml-conduit" | ||
| dev-repo: "https://github.com/mirage/ocaml-conduit.git" | ||
| bug-reports: "https://github.com/mirage/ocaml-conduit/issues" | ||
| tags: "org:mirage" | ||
| license: "ISC" | ||
|
|
||
| build: [ | ||
| ["jbuilder" "subst" "-n" name] {pinned} | ||
| ["jbuilder" "build" "-p" name "-j" jobs] | ||
| ] | ||
| depends: [ | ||
| "jbuilder" {build & >="1.0+beta9"} | ||
| "core" | ||
| "ppx_sexp_conv" | ||
| "sexplib" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this always needed or is it tied to ppx_sexp_conv and its need depends on the version of ppx_sexp_conv?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's used in the code (with |
||
| "conduit" | ||
| "async" {>= "v0.10.0"} | ||
| ] | ||
| depopts: [ "async_ssl" ] | ||
| conflicts: [ | ||
| "async_ssl" {<"v0.9.0" } | ||
| ] | ||
| available: [ocaml-version >= "4.03.0"] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.2.0/conduit-1.2.0.tbz" | ||
| checksum: "fe5f619935ba765619e1854e5ee2e4a5" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| An OCaml network connection establishment library | ||
|
|
||
| [](https://travis-ci.org/mirage/ocaml-conduit) | ||
|
|
||
| The `conduit` library takes care of establishing and listening for | ||
| TCP and SSL/TLS connections for the Lwt and Async libraries. | ||
|
|
||
| The reason this library exists is to provide a degree of abstraction | ||
| from the precise SSL library used, since there are a variety of ways | ||
| to bind to a library (e.g. the C FFI, or the Ctypes library), as well | ||
| as well as which library is used (just OpenSSL for now). | ||
|
|
||
| By default, OpenSSL is used as the preferred connection library, but | ||
| you can force the use of the pure OCaml TLS stack by setting the | ||
| environment variable `CONDUIT_TLS=native` when starting your program. | ||
|
|
||
| The opam packages available are: | ||
|
|
||
| - `conduit`: the main `Conduit` module | ||
| - `conduit-lwt`: the portable Lwt implementation | ||
| - `conduit-lwt-unix`: the Lwt/Unix implementation | ||
| - `conduit-async` the Jane Street Async implementation | ||
| - `mirage-conduit`: the MirageOS compatible implementation | ||
|
|
||
| ### Debugging | ||
|
|
||
| Some of the `Lwt_unix`-based modules use a non-empty `CONDUIT_DEBUG` | ||
| environment variable to output debugging information to standard error. | ||
| Just set this variable when running the program to see what URIs | ||
| are being resolved to. | ||
|
|
||
| ### Further Informartion | ||
|
|
||
| * **API Docs:** http://docs.mirage.io/ | ||
| * **WWW:** https://github.com/mirage/ocaml-conduit | ||
| * **E-mail:** <mirageos-devel@lists.xenproject.org> | ||
| * **Bugs:** https://github.com/mirage/ocaml-conduit/issues |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| opam-version: "1.2" | ||
| maintainer: "anil@recoil.org" | ||
| authors: ["Anil Madhavapeddy" "Thomas Leonard" "Thomas Gazagnaire" "Rudi Grinberg"] | ||
| homepage: "https://github.com/mirage/ocaml-conduit" | ||
| dev-repo: "https://github.com/mirage/ocaml-conduit.git" | ||
| bug-reports: "https://github.com/mirage/ocaml-conduit/issues" | ||
| tags: "org:mirage" | ||
| license: "ISC" | ||
|
|
||
| build: [ | ||
| ["jbuilder" "subst" "-n" name] {pinned} | ||
| ["jbuilder" "build" "-p" name "-j" jobs] | ||
| ] | ||
| depends: [ | ||
| "base-unix" | ||
| "jbuilder" {build & >="1.0+beta9"} | ||
| "ppx_sexp_conv" | ||
| "conduit-lwt" | ||
| "lwt" {>= "3.0.0"} | ||
| "uri" {>="1.9.4"} | ||
| "ipaddr" {>="2.8.0"} | ||
| ] | ||
| depopts: [ | ||
| "tls" | ||
| "lwt_ssl" | ||
| "launchd" | ||
| ] | ||
| conflicts: [ | ||
| "tls" {<"0.8.0" } | ||
| ] | ||
| available: [ocaml-version >= "4.03.0"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| archive: "https://github.com/mirage/ocaml-conduit/releases/download/v1.2.0/conduit-1.2.0.tbz" | ||
| checksum: "fe5f619935ba765619e1854e5ee2e4a5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have the
{build}tagThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mseri no. see #11852 for more details -- ppx_sexp_conv actually ships with a runtime dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes, you are right. I got confused because it is a build dependency below.