diff --git a/dune-project b/dune-project index 8c1d67e8e..9f20b4124 100644 --- a/dune-project +++ b/dune-project @@ -31,7 +31,7 @@ possible and does not make any assumptions about IO. ") (depends (jsonrpc (= :version)) - yojson + (yojson (< 3.0.0)) (ppx_yojson_conv_lib (>= "v0.14")) (cinaps :with-test) (ppx_expect (and (>= v0.17.0) :with-test)) @@ -45,7 +45,7 @@ possible and does not make any assumptions about IO. (synopsis "LSP Server for OCaml") (description "An LSP server for OCaml.") (depends - yojson + (yojson (< 3.0.0)) (base (>= v0.16.0)) (lsp (= :version)) (jsonrpc (= :version)) diff --git a/lsp.opam b/lsp.opam index 2ae4b8101..955469ce0 100644 --- a/lsp.opam +++ b/lsp.opam @@ -25,7 +25,7 @@ bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" depends: [ "dune" {>= "3.0"} "jsonrpc" {= version} - "yojson" + "yojson" {< "3.0.0"} "ppx_yojson_conv_lib" {>= "v0.14"} "cinaps" {with-test} "ppx_expect" {>= "v0.17.0" & with-test} diff --git a/ocaml-lsp-server.opam b/ocaml-lsp-server.opam index 8710e83ff..8cfaf16b4 100644 --- a/ocaml-lsp-server.opam +++ b/ocaml-lsp-server.opam @@ -20,7 +20,7 @@ homepage: "https://github.com/ocaml/ocaml-lsp" bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" depends: [ "dune" {>= "3.0"} - "yojson" + "yojson" {< "3.0.0"} "base" {>= "v0.16.0"} "lsp" {= version} "jsonrpc" {= version}