Skip to content

Commit 821b11f

Browse files
authored
Constrain capnp-rpc-* < 2.0 (#259)
1 parent b8c8378 commit 821b11f

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

current_ocluster.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ depends: [
2222
"dune" {>= "3.7"}
2323
"ocluster-api" {= version}
2424
"ocaml" {>= "4.14.1"}
25-
"capnp-rpc-unix" {>= "1.2.3"}
25+
"capnp-rpc-unix" {>= "1.2.3" & < "2.0"}
2626
"current" {>= "0.6.4"}
2727
"current_git" {>= "0.6.4"}
2828
"duration"

dune-project

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
(description "OCaml bindings for the OCluster Cap'n Proto API.")
2424
(depends
2525
(ocaml (>= 4.14.1))
26-
(capnp-rpc-lwt (>= 1.2.3))
26+
(capnp-rpc-lwt (and (>= 1.2.3) (< 2.0)))
2727
fmt
2828
(lwt (>= 5.6.1))
2929
ppx_deriving
@@ -36,7 +36,7 @@
3636
(depends
3737
(ocluster-api (= :version))
3838
(ocaml (>= 4.14.1))
39-
(capnp-rpc-lwt (>= 1.2.3))
39+
(capnp-rpc-lwt (and (>= 1.2.3) (< 2.0)))
4040
(cohttp-lwt-unix (>= 4.0))
4141
(digestif (>= 0.8))
4242
(extunix (>= 0.4.1))
@@ -54,9 +54,9 @@
5454
(ocluster-api (= :version))
5555
(ocluster-worker (= :version))
5656
(ocaml (>= 4.14.1))
57-
(capnp-rpc-lwt (>= 1.2.3))
58-
(capnp-rpc-net (>= 1.2.3))
59-
(capnp-rpc-unix (>= 1.2.3))
57+
(capnp-rpc-lwt (and (>= 1.2.3) (< 2.0)))
58+
(capnp-rpc-net (and (>= 1.2.3) (< 2.0)))
59+
(capnp-rpc-unix (and (>= 1.2.3) (< 2.0)))
6060
(cmdliner (>= 1.2.0))
6161
(conf-libev (<> :os "win32"))
6262
(digestif (>= 0.8))
@@ -89,7 +89,7 @@
8989
(depends
9090
(ocluster-api (= :version))
9191
(ocaml (>= 4.14.1))
92-
(capnp-rpc-unix (>= 1.2.3))
92+
(capnp-rpc-unix (and (>= 1.2.3) (< 2.0)))
9393
(current (>= 0.6.4))
9494
(current_git (>= 0.6.4))
9595
duration

ocluster-api.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bug-reports: "https://github.com/ocurrent/ocluster/issues"
2020
depends: [
2121
"dune" {>= "3.7"}
2222
"ocaml" {>= "4.14.1"}
23-
"capnp-rpc-lwt" {>= "1.2.3"}
23+
"capnp-rpc-lwt" {>= "1.2.3" & < "2.0"}
2424
"fmt"
2525
"lwt" {>= "5.6.1"}
2626
"ppx_deriving"

ocluster-worker.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"dune" {>= "3.7"}
2222
"ocluster-api" {= version}
2323
"ocaml" {>= "4.14.1"}
24-
"capnp-rpc-lwt" {>= "1.2.3"}
24+
"capnp-rpc-lwt" {>= "1.2.3" & < "2.0"}
2525
"cohttp-lwt-unix" {>= "4.0"}
2626
"digestif" {>= "0.8"}
2727
"extunix" {>= "0.4.1"}

ocluster.opam

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ depends: [
3131
"ocluster-api" {= version}
3232
"ocluster-worker" {= version}
3333
"ocaml" {>= "4.14.1"}
34-
"capnp-rpc-lwt" {>= "1.2.3"}
35-
"capnp-rpc-net" {>= "1.2.3"}
36-
"capnp-rpc-unix" {>= "1.2.3"}
34+
"capnp-rpc-lwt" {>= "1.2.3" & < "2.0"}
35+
"capnp-rpc-net" {>= "1.2.3" & < "2.0"}
36+
"capnp-rpc-unix" {>= "1.2.3" & < "2.0"}
3737
"cmdliner" {>= "1.2.0"}
3838
"conf-libev" {os != "win32"}
3939
"digestif" {>= "0.8"}

0 commit comments

Comments
 (0)