Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warning #14

Merged
merged 1 commit into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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