Skip to content

Commit 3e6311f

Browse files
committed
xenstore-tool: use camlp-streams
Stdlib.Streams is deprecated Signed-off-by: Pau Ruiz Safont <[email protected]>
1 parent 8431aba commit 3e6311f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

cli/dune

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(executables
22
(names xs_client_cli)
3-
(libraries lwt lwt.unix xenstore xenstore_transport)
3+
(libraries camlp-streams lwt lwt.unix xenstore xenstore_transport)
44
(flags :standard -safe-string))
55

66
(install

cli/xs_client_cli.ml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ open Xs_protocol
1717
module Client = Xs_client_lwt.Client (Xs_transport_lwt_unix_client)
1818
open Client
1919

20-
let ( |> ) a b = b a
21-
2220
(* Used for expressing a xenstore 'wait' condition and also in
2321
the special case of a set of writes (And(Eq, And(Eq, ...))) *)
2422
type expr =

xenstore-tool.opam

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ bug-reports: "http://github.com/xapi-project/ocaml-xenstore-clients/issues"
2020
depends: [
2121
"ocaml" {>= "4.04.0"}
2222
"dune" {build & >= "1.0"}
23+
"camlp-streams"
2324
"lwt"
2425
"xenstore" {>= "2.0.0"}
2526
"xenstore_transport"

0 commit comments

Comments
 (0)