diff --git a/dune-project b/dune-project index cd123544..36a3d94e 100644 --- a/dune-project +++ b/dune-project @@ -25,8 +25,8 @@ (thread-local-storage (and (>= 0.2) (< 0.3))) (odoc :with-doc) (hmap :with-test) - picos - picos_std + (picos (and (>= 0.5) (< 0.6))) + (picos_std (and (>= 0.5) (< 0.6))) (mdx (and (>= 1.9.0) @@ -56,7 +56,7 @@ (allow_empty) ; on < 5.0 (depends (moonpool (= :version)) - picos_stdio + (picos_io (and (>= 0.5) (< 0.6))) (ocaml (>= 5.0)) (trace :with-test) (trace-tef :with-test) diff --git a/moonpool-io.opam b/moonpool-io.opam index 97eefe0b..76a6ab82 100644 --- a/moonpool-io.opam +++ b/moonpool-io.opam @@ -10,7 +10,7 @@ bug-reports: "https://github.com/c-cube/moonpool/issues" depends: [ "dune" {>= "3.0"} "moonpool" {= version} - "picos_stdio" + "picos_io" {>= "0.5" & < "0.6"} "ocaml" {>= "5.0"} "trace" {with-test} "trace-tef" {with-test} diff --git a/moonpool.opam b/moonpool.opam index 9ca18dad..f3c884ac 100644 --- a/moonpool.opam +++ b/moonpool.opam @@ -18,8 +18,8 @@ depends: [ "thread-local-storage" {>= "0.2" & < "0.3"} "odoc" {with-doc} "hmap" {with-test} - "picos" - "picos_std" + "picos" {>= "0.5" & < "0.6"} + "picos_std" {>= "0.5" & < "0.6"} "mdx" {>= "1.9.0" & with-test} ] depopts: [ diff --git a/src/io/dune b/src/io/dune index 8d290f98..8ba05ca5 100644 --- a/src/io/dune +++ b/src/io/dune @@ -4,4 +4,4 @@ (synopsis "Async IO for moonpool, using Picos") (enabled_if (>= %{ocaml_version} 5.0)) - (libraries moonpool picos_stdio picos_stdio.select picos_stdio.fd)) + (libraries moonpool picos_io picos_io.select picos_io.fd)) diff --git a/src/io/moonpool_io.ml b/src/io/moonpool_io.ml index 198a9671..9b249347 100644 --- a/src/io/moonpool_io.ml +++ b/src/io/moonpool_io.ml @@ -1,6 +1,6 @@ -module Fd = Picos_stdio_fd -module Unix = Picos_stdio.Unix -module Select = Picos_stdio_select +module Fd = Picos_io_fd +module Unix = Picos_io.Unix +module Select = Picos_io_select let fd_of_unix_fd : Unix.file_descr -> Fd.t = Fun.id let configure = Select.configure