Skip to content

Commit

Permalink
Merge pull request #50 from mbarbin/opam-dune-lint
Browse files Browse the repository at this point in the history
Add dependencies to fix `opam-dune-lint`
  • Loading branch information
quernd authored Jan 15, 2024
2 parents 35a45fe + b0fdc98 commit 71d1d84
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 35 deletions.
68 changes: 47 additions & 21 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@
(depends
(ocaml
(>= 4.08))
(uri
(>= 4.0.0))
(bigstringaf
(>= 0.9.1))
(h2
(>= 0.9.0))
ppx_deriving))
ppx_deriving
(uri
(>= 4.0.0))))

(package
(name grpc-lwt)
Expand All @@ -50,6 +52,8 @@
(depends
(grpc
(= :version))
(h2
(>= 0.9.0))
(lwt
(>= 5.3.0))
stringext))
Expand All @@ -64,10 +68,14 @@
(depends
(ocaml
(>= 4.11))
(grpc
(= :version))
(async
(>= v0.16))
(grpc
(= :version))
(h2
(>= 0.9.0))
(ppx_jane
(>= v0.16.0))
stringext))

(package
Expand All @@ -76,10 +84,12 @@
(description
"Functionality for building gRPC services and rpcs with `eio`.")
(depends
(grpc
(= :version))
(eio
(>= 0.12))
(grpc
(= :version))
(h2
(>= 0.9.0))
stringext))

(package
Expand All @@ -89,27 +99,44 @@
(tags
(network rpc serialisation))
(depends
grpc-lwt
h2-lwt-unix
(async
(>= v0.16.0))
cohttp
cohttp-lwt
cohttp-lwt-unix
conduit-lwt-unix
(core
(>= v0.16.2))
(core_unix
(>= v0.16.0))
(eio_main
(>= 0.12))
grpc-async
h2-async
grpc-eio
grpc-lwt
(h2
(>= 0.9.0))
h2-async
h2-eio
(ocaml-protoc-plugin
(>= 4.5))
ppx_deriving_yojson
conduit-lwt-unix
cohttp-lwt-unix
tls-async
h2-lwt-unix
(lwt
(>= 5.3.0))
(lwt_ssl
(>= 1.2.0))
(mdx
(and
(>= 2.2.1)
:with-test))
(eio_main
(>= 0.12))
stringext))
(ocaml-protoc-plugin
(>= 4.5))
ppx_deriving
ppx_deriving_yojson
(ppx_jane
(>= v0.16.0))
stringext
tls-async
(uri
(>= 4.0.0))))

(package
(name grpc-bench)
Expand All @@ -118,13 +145,12 @@
(tags
(network rpc serialisation benchmark))
(depends
grpc
(bechamel
(>= 0.4.0))
notty
(bechamel-notty
(>= 0.4.0))
(bigstringaf
(>= 0.9.1))
grpc
(notty
(>= 0.2.3))))
4 changes: 3 additions & 1 deletion grpc-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"ocaml" {>= "4.11"}
"grpc" {= version}
"async" {>= "v0.16"}
"grpc" {= version}
"h2" {>= "0.9.0"}
"ppx_jane" {>= "v0.16.0"}
"stringext"
"odoc" {with-doc}
]
Expand Down
3 changes: 1 addition & 2 deletions grpc-bench.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ doc: "https://dialohq.github.io/ocaml-grpc"
bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"grpc"
"bechamel" {>= "0.4.0"}
"notty"
"bechamel-notty" {>= "0.4.0"}
"bigstringaf" {>= "0.9.1"}
"grpc"
"notty" {>= "0.2.3"}
"odoc" {with-doc}
]
Expand Down
3 changes: 2 additions & 1 deletion grpc-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ doc: "https://dialohq.github.io/ocaml-grpc"
bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"grpc" {= version}
"eio" {>= "0.12"}
"grpc" {= version}
"h2" {>= "0.9.0"}
"stringext"
"odoc" {with-doc}
]
Expand Down
28 changes: 19 additions & 9 deletions grpc-examples.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,31 @@ doc: "https://dialohq.github.io/ocaml-grpc"
bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"grpc-lwt"
"h2-lwt-unix"
"async" {>= "v0.16.0"}
"cohttp"
"cohttp-lwt"
"cohttp-lwt-unix"
"conduit-lwt-unix"
"core" {>= "v0.16.2"}
"core_unix" {>= "v0.16.0"}
"eio_main" {>= "0.12"}
"grpc-async"
"h2-async"
"grpc-eio"
"grpc-lwt"
"h2" {>= "0.9.0"}
"h2-async"
"h2-eio"
"ocaml-protoc-plugin" {>= "4.5"}
"ppx_deriving_yojson"
"conduit-lwt-unix"
"cohttp-lwt-unix"
"tls-async"
"h2-lwt-unix"
"lwt" {>= "5.3.0"}
"lwt_ssl" {>= "1.2.0"}
"mdx" {>= "2.2.1" & with-test}
"eio_main" {>= "0.12"}
"ocaml-protoc-plugin" {>= "4.5"}
"ppx_deriving"
"ppx_deriving_yojson"
"ppx_jane" {>= "v0.16.0"}
"stringext"
"tls-async"
"uri" {>= "4.0.0"}
"odoc" {with-doc}
]
build: [
Expand Down
1 change: 1 addition & 0 deletions grpc-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"grpc" {= version}
"h2" {>= "0.9.0"}
"lwt" {>= "5.3.0"}
"stringext"
"odoc" {with-doc}
Expand Down
3 changes: 2 additions & 1 deletion grpc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"ocaml" {>= "4.08"}
"uri" {>= "4.0.0"}
"bigstringaf" {>= "0.9.1"}
"h2" {>= "0.9.0"}
"ppx_deriving"
"uri" {>= "4.0.0"}
"odoc" {with-doc}
]
build: [
Expand Down

0 comments on commit 71d1d84

Please sign in to comment.