diff --git a/angstrom-async.opam b/angstrom-async.opam index 6db5a0b..a95f3d4 100644 --- a/angstrom-async.opam +++ b/angstrom-async.opam @@ -1,10 +1,20 @@ +# This file is generated by dune, edit dune-project instead opam-version: "2.0" -maintainer: "Spiros Eliopoulos " -authors: [ "Spiros Eliopoulos " ] +synopsis: "Async support for Angstrom" +maintainer: ["Spiros Eliopoulos "] +authors: ["Spiros Eliopoulos "] license: "BSD-3-clause" homepage: "https://github.com/inhabitedtype/angstrom" bug-reports: "https://github.com/inhabitedtype/angstrom/issues" -dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" +depends: [ + "dune" {>= "3.16"} + "ocaml" {>= "4.04.1"} + "angstrom" {= version} + "async" {>= "v0.10.0"} + "core_bench" {with-test} + "core_unix" {>= "v0.15.0" & with-test} + "odoc" {with-doc} +] build: [ ["dune" "subst"] {dev} [ @@ -19,12 +29,4 @@ build: [ "@doc" {with-doc} ] ] -depends: [ - "ocaml" {>= "4.04.1"} - "dune" {>= "3.16"} - "angstrom" {= version} - "async" {>= "v0.10.0"} - "core_bench" {with-test} - "core_unix" {with-test & >= "v0.15.0"} -] -synopsis: "Async support for Angstrom" +dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" diff --git a/angstrom-lwt-unix.opam b/angstrom-lwt-unix.opam index d057f31..e34909e 100644 --- a/angstrom-lwt-unix.opam +++ b/angstrom-lwt-unix.opam @@ -1,10 +1,20 @@ +# This file is generated by dune, edit dune-project instead opam-version: "2.0" -maintainer: "Spiros Eliopoulos " -authors: [ "Spiros Eliopoulos " ] +synopsis: "Lwt_unix support for Angstrom" +maintainer: ["Spiros Eliopoulos "] +authors: ["Spiros Eliopoulos "] license: "BSD-3-clause" homepage: "https://github.com/inhabitedtype/angstrom" bug-reports: "https://github.com/inhabitedtype/angstrom/issues" -dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" +depends: [ + "dune" {>= "3.16"} + "ocaml" {>= "4.03.0"} + "angstrom" {= version} + "lwt" + "base-unix" + "core_bench" {with-test} + "odoc" {with-doc} +] build: [ ["dune" "subst"] {dev} [ @@ -19,12 +29,4 @@ build: [ "@doc" {with-doc} ] ] -depends: [ - "ocaml" {>= "4.03.0"} - "dune" {>= "3.16"} - "angstrom" {= version} - "lwt" - "base-unix" - "core_bench" {with-test} -] -synopsis: "Lwt_unix support for Angstrom" +dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" diff --git a/angstrom-unix.opam b/angstrom-unix.opam index 24e2115..5f95393 100644 --- a/angstrom-unix.opam +++ b/angstrom-unix.opam @@ -1,10 +1,18 @@ +# This file is generated by dune, edit dune-project instead opam-version: "2.0" -maintainer: "Spiros Eliopoulos " -authors: [ "Spiros Eliopoulos " ] +synopsis: "Unix support for Angstrom" +maintainer: ["Spiros Eliopoulos "] +authors: ["Spiros Eliopoulos "] license: "BSD-3-clause" homepage: "https://github.com/inhabitedtype/angstrom" bug-reports: "https://github.com/inhabitedtype/angstrom/issues" -dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" +depends: [ + "dune" {>= "3.16"} + "ocaml" {>= "4.03.0"} + "angstrom" {= version} + "base-unix" + "odoc" {with-doc} +] build: [ ["dune" "subst"] {dev} [ @@ -19,10 +27,4 @@ build: [ "@doc" {with-doc} ] ] -depends: [ - "ocaml" {>= "4.03.0"} - "dune" {>= "3.16"} - "angstrom" {= version} - "base-unix" -] -synopsis: "Unix support for Angstrom" +dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" diff --git a/angstrom.opam b/angstrom.opam index 1c833f7..861cb40 100644 --- a/angstrom.opam +++ b/angstrom.opam @@ -1,10 +1,32 @@ +# This file is generated by dune, edit dune-project instead opam-version: "2.0" -maintainer: "Spiros Eliopoulos " -authors: [ "Spiros Eliopoulos " ] +synopsis: "Parser combinators built for speed and memory-efficiency" +description: """ +Angstrom is a parser-combinator library that makes it easy to write +efficient, expressive, and reusable parsers suitable for +high-performance applications. It exposes monadic and applicative +interfaces for composition, and supports incremental input through +buffered and unbuffered interfaces. Both interfaces give the user +total control over the blocking behavior of their application, with +the unbuffered interface enabling zero-copy IO. Parsers are +backtracking by default and support unbounded lookahead. +""" +maintainer: ["Spiros Eliopoulos "] +authors: ["Spiros Eliopoulos "] license: "BSD-3-clause" homepage: "https://github.com/inhabitedtype/angstrom" bug-reports: "https://github.com/inhabitedtype/angstrom/issues" -dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" +depends: [ + "dune" {>= "3.16"} + "ocaml" {>= "4.04.0"} + "alcotest" {>= "0.8.1" & with-test} + "bigstringaf" + "ppx_let" {>= "v0.14.0" & with-test} + "core_bench" {with-test} + "core_unix" {>= "v0.15.0" & with-test} + "ocaml-syntax-shims" {build} + "odoc" {with-doc} +] build: [ ["dune" "subst"] {dev} [ @@ -19,22 +41,4 @@ build: [ "@doc" {with-doc} ] ] -depends: [ - "ocaml" {>= "4.04.0"} - "dune" {>= "3.16"} - "alcotest" {with-test & >= "0.8.1"} - "bigstringaf" - "ppx_let" {with-test & >= "v0.14.0"} - "core_bench" {with-test} - "core_unix" {with-test & >= "v0.15.0"} - "ocaml-syntax-shims" {build} -] -synopsis: "Parser combinators built for speed and memory-efficiency" -description: """ -Angstrom is a parser-combinator library that makes it easy to write efficient, -expressive, and reusable parsers suitable for high-performance applications. It -exposes monadic and applicative interfaces for composition, and supports -incremental input through buffered and unbuffered interfaces. Both interfaces -give the user total control over the blocking behavior of their application, -with the unbuffered interface enabling zero-copy IO. Parsers are backtracking by -default and support unbounded lookahead.""" +dev-repo: "git+https://github.com/inhabitedtype/angstrom.git" diff --git a/dune-project b/dune-project index 166c2d0..3c6a19d 100644 --- a/dune-project +++ b/dune-project @@ -1,3 +1,60 @@ (lang dune 3.16) (name angstrom) + (formatting (enabled_for dune)) +(generate_opam_files true) + +(source (github inhabitedtype/angstrom)) +(license "BSD-3-clause") +(authors "Spiros Eliopoulos ") +(maintainers "Spiros Eliopoulos ") + +(package + (name angstrom) + (synopsis "Parser combinators built for speed and memory-efficiency") + (description +"\| Angstrom is a parser-combinator library that makes it easy to write +"\| efficient, expressive, and reusable parsers suitable for +"\| high-performance applications. It exposes monadic and applicative +"\| interfaces for composition, and supports incremental input through +"\| buffered and unbuffered interfaces. Both interfaces give the user +"\| total control over the blocking behavior of their application, with +"\| the unbuffered interface enabling zero-copy IO. Parsers are +"\| backtracking by default and support unbounded lookahead. + ) + (depends + (ocaml (>= "4.04.0")) + (alcotest (and (>= "0.8.1") :with-test)) + bigstringaf + (ppx_let (and (>= "v0.14.0") :with-test)) + (core_bench :with-test) + (core_unix (and (>= "v0.15.0") :with-test)) + (ocaml-syntax-shims :build))) + +(package + (name angstrom-unix) + (synopsis "Unix support for Angstrom") + (depends + (ocaml (>= "4.03.0")) + (angstrom (= :version)) + base-unix)) + +(package + (name angstrom-lwt-unix) + (synopsis "Lwt_unix support for Angstrom") + (depends + (ocaml (>= "4.03.0")) + (angstrom (= :version)) + lwt + base-unix + (core_bench :with-test))) + +(package + (name angstrom-async) + (synopsis "Async support for Angstrom") + (depends + (ocaml (>= "4.04.1")) + (angstrom (= :version)) + (async (>= "v0.10.0")) + (core_bench :with-test) + (core_unix (and (>= "v0.15.0") :with-test))))