mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-11 21:48:46 -05:00
move to picos_io
This commit is contained in:
parent
fd89c81f57
commit
09b5a343ab
5 changed files with 10 additions and 10 deletions
|
|
@ -25,8 +25,8 @@
|
||||||
(thread-local-storage (and (>= 0.2) (< 0.3)))
|
(thread-local-storage (and (>= 0.2) (< 0.3)))
|
||||||
(odoc :with-doc)
|
(odoc :with-doc)
|
||||||
(hmap :with-test)
|
(hmap :with-test)
|
||||||
picos
|
(picos (and (>= 0.5) (< 0.6)))
|
||||||
picos_std
|
(picos_std (and (>= 0.5) (< 0.6)))
|
||||||
(mdx
|
(mdx
|
||||||
(and
|
(and
|
||||||
(>= 1.9.0)
|
(>= 1.9.0)
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
(allow_empty) ; on < 5.0
|
(allow_empty) ; on < 5.0
|
||||||
(depends
|
(depends
|
||||||
(moonpool (= :version))
|
(moonpool (= :version))
|
||||||
picos_stdio
|
(picos_io (and (>= 0.5) (< 0.6)))
|
||||||
(ocaml (>= 5.0))
|
(ocaml (>= 5.0))
|
||||||
(trace :with-test)
|
(trace :with-test)
|
||||||
(trace-tef :with-test)
|
(trace-tef :with-test)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ bug-reports: "https://github.com/c-cube/moonpool/issues"
|
||||||
depends: [
|
depends: [
|
||||||
"dune" {>= "3.0"}
|
"dune" {>= "3.0"}
|
||||||
"moonpool" {= version}
|
"moonpool" {= version}
|
||||||
"picos_stdio"
|
"picos_io" {>= "0.5" & < "0.6"}
|
||||||
"ocaml" {>= "5.0"}
|
"ocaml" {>= "5.0"}
|
||||||
"trace" {with-test}
|
"trace" {with-test}
|
||||||
"trace-tef" {with-test}
|
"trace-tef" {with-test}
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ depends: [
|
||||||
"thread-local-storage" {>= "0.2" & < "0.3"}
|
"thread-local-storage" {>= "0.2" & < "0.3"}
|
||||||
"odoc" {with-doc}
|
"odoc" {with-doc}
|
||||||
"hmap" {with-test}
|
"hmap" {with-test}
|
||||||
"picos"
|
"picos" {>= "0.5" & < "0.6"}
|
||||||
"picos_std"
|
"picos_std" {>= "0.5" & < "0.6"}
|
||||||
"mdx" {>= "1.9.0" & with-test}
|
"mdx" {>= "1.9.0" & with-test}
|
||||||
]
|
]
|
||||||
depopts: [
|
depopts: [
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@
|
||||||
(synopsis "Async IO for moonpool, using Picos")
|
(synopsis "Async IO for moonpool, using Picos")
|
||||||
(enabled_if
|
(enabled_if
|
||||||
(>= %{ocaml_version} 5.0))
|
(>= %{ocaml_version} 5.0))
|
||||||
(libraries moonpool picos_stdio picos_stdio.select picos_stdio.fd))
|
(libraries moonpool picos_io picos_io.select picos_io.fd))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module Fd = Picos_stdio_fd
|
module Fd = Picos_io_fd
|
||||||
module Unix = Picos_stdio.Unix
|
module Unix = Picos_io.Unix
|
||||||
module Select = Picos_stdio_select
|
module Select = Picos_io_select
|
||||||
|
|
||||||
let fd_of_unix_fd : Unix.file_descr -> Fd.t = Fun.id
|
let fd_of_unix_fd : Unix.file_descr -> Fd.t = Fun.id
|
||||||
let configure = Select.configure
|
let configure = Select.configure
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue