From 75ba569be2bb4356f8016d40b05aa03b8dca36a9 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Sat, 5 Aug 2017 11:26:07 -0400 Subject: [PATCH] Specify dependencies more precisely fmt/logs/magic-mime are in fact not dependencies of cohttp and should be moved to their appropriate subpackages or set as test deps. --- cohttp-async.opam | 1 + cohttp-lwt-unix.opam | 1 + cohttp.opam | 4 +--- cohttp/test/jbuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cohttp-async.opam b/cohttp-async.opam index c165115f5f..5063438f35 100644 --- a/cohttp-async.opam +++ b/cohttp-async.opam @@ -24,6 +24,7 @@ depends: [ "cohttp" "conduit-async" "magic-mime" + "logs" "fmt" "ounit" {test} ] diff --git a/cohttp-lwt-unix.opam b/cohttp-lwt-unix.opam index 82837b630c..1fe4d891ff 100644 --- a/cohttp-lwt-unix.opam +++ b/cohttp-lwt-unix.opam @@ -23,6 +23,7 @@ depends: [ "jbuilder" {build & >= "1.0+beta10"} "conduit-lwt-unix" "cmdliner" + "magic-mime" "logs" "fmt" "cohttp-lwt" diff --git a/cohttp.opam b/cohttp.opam index 957ef8927d..c0a3ac6e0a 100644 --- a/cohttp.opam +++ b/cohttp.opam @@ -30,9 +30,7 @@ depends: [ "ppx_sexp_conv" {build & >="v0.9.0"} "stringext" "base64" {>= "2.0.0"} - "magic-mime" - "fmt" - "logs" + "fmt" {test} "jsonm" {build} "alcotest" {test} ] diff --git a/cohttp/test/jbuild b/cohttp/test/jbuild index 556c60aa5a..65bc5c1455 100644 --- a/cohttp/test/jbuild +++ b/cohttp/test/jbuild @@ -1,7 +1,7 @@ (jbuild_version 1) (executables - ((libraries (cohttp alcotest)) + ((libraries (cohttp alcotest fmt)) (modules (test_accept)) (names (test_accept))))