move to picos_io

This commit is contained in:
Simon Cruanes 2024-09-04 11:17:56 -04:00
parent fd89c81f57
commit 09b5a343ab
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 10 additions and 10 deletions

View file

@ -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)

View file

@ -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}

View file

@ -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: [

View file

@ -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))

View file

@ -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