Skip to content

Commit

Permalink
Merge pull request #14 from talex5/eio-0.8
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
talex5 authored Feb 20, 2023
2 parents 38e6143 + 56903e0 commit 0a66612
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
(synopsis "Run Lwt code within Eio")
(description "An Lwt engine that allows running Lwt within an Eio event loop.")
(depends
(eio (>= 0.3))
(eio (>= 0.7))
lwt
(mdx (and (>= 1.10.0) :with-test))
(eio_main :with-test)))
Expand Down
2 changes: 1 addition & 1 deletion examples/chat.ml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module Eio_server = struct
try
while true do
let buf = Cstruct.create 100 in
let len = Eio.Flow.read flow buf in
let len = Eio.Flow.single_read flow buf in
Stream.add prod (Cstruct.to_string buf ~len)
done
with End_of_file ->
Expand Down
2 changes: 1 addition & 1 deletion lwt_eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ doc: "https://ocaml-multicore.github.io/lwt_eio"
bug-reports: "https://github.com/ocaml-multicore/lwt_eio/issues"
depends: [
"dune" {>= "2.9"}
"eio" {>= "0.3"}
"eio" {>= "0.7"}
"lwt"
"mdx" {>= "1.10.0" & with-test}
"eio_main" {with-test}
Expand Down

0 comments on commit 0a66612

Please sign in to comment.