Skip to content

Commit

Permalink
Add dependencies to fix opam-dune-lint
Browse files Browse the repository at this point in the history
For each added dependency, I looked elsewhere in the file for
occurrences of the same library, and kept the same version bound if
there was one, and none otherwise.
  • Loading branch information
mbarbin committed Jan 9, 2024
1 parent 6c82d79 commit b0fdc98
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1 deletion.
29 changes: 28 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
(depends
(ocaml
(>= 4.08))
(bigstringaf
(>= 0.9.1))
(h2
(>= 0.9.0))
ppx_deriving
Expand All @@ -50,6 +52,8 @@
(depends
(grpc
(= :version))
(h2
(>= 0.9.0))
(lwt
(>= 5.3.0))
stringext))
Expand All @@ -68,6 +72,10 @@
(>= v0.16))
(grpc
(= :version))
(h2
(>= 0.9.0))
(ppx_jane
(>= v0.16.0))
stringext))

(package
Expand All @@ -80,6 +88,8 @@
(>= 0.12))
(grpc
(= :version))
(h2
(>= 0.9.0))
stringext))

(package
Expand All @@ -89,16 +99,28 @@
(tags
(network rpc serialisation))
(depends
(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
grpc-eio
grpc-lwt
(h2
(>= 0.9.0))
h2-async
h2-eio
h2-lwt-unix
(lwt
(>= 5.3.0))
(lwt_ssl
(>= 1.2.0))
(mdx
Expand All @@ -107,9 +129,14 @@
:with-test))
(ocaml-protoc-plugin
(>= 4.5))
ppx_deriving
ppx_deriving_yojson
(ppx_jane
(>= v0.16.0))
stringext
tls-async))
tls-async
(uri
(>= 4.0.0))))

(package
(name grpc-bench)
Expand Down
2 changes: 2 additions & 0 deletions grpc-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ depends: [
"ocaml" {>= "4.11"}
"async" {>= "v0.16"}
"grpc" {= version}
"h2" {>= "0.9.0"}
"ppx_jane" {>= "v0.16.0"}
"stringext"
"odoc" {with-doc}
]
Expand Down
1 change: 1 addition & 0 deletions grpc-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ depends: [
"dune" {>= "3.7"}
"eio" {>= "0.12"}
"grpc" {= version}
"h2" {>= "0.9.0"}
"stringext"
"odoc" {with-doc}
]
Expand Down
10 changes: 10 additions & 0 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"}
"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"
"grpc-eio"
"grpc-lwt"
"h2" {>= "0.9.0"}
"h2-async"
"h2-eio"
"h2-lwt-unix"
"lwt" {>= "5.3.0"}
"lwt_ssl" {>= "1.2.0"}
"mdx" {>= "2.2.1" & with-test}
"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
1 change: 1 addition & 0 deletions grpc.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bug-reports: "https://github.com/dialohq/ocaml-grpc/issues"
depends: [
"dune" {>= "3.7"}
"ocaml" {>= "4.08"}
"bigstringaf" {>= "0.9.1"}
"h2" {>= "0.9.0"}
"ppx_deriving"
"uri" {>= "4.0.0"}
Expand Down

0 comments on commit b0fdc98

Please sign in to comment.