Skip to content

Commit 51e54a2

Browse files
committed
Upgrade to mirage-crypto-rng and relay on use_default
1 parent 421c09f commit 51e54a2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/sync.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
open Lwt.Syntax
1818

19-
let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna)
19+
let () = Mirage_crypto_rng_unix.use_default ()
2020
let info = Irmin_git_unix.info
2121

2222
let path =

irmin-client.opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ depends: [
2424
"irmin-test" {= version & with-test}
2525
"alcotest-lwt" {with-test & >= "1.8.0"}
2626
"irmin-watcher" {with-test & >= "0.5.0"}
27-
"mirage-crypto-rng-lwt" {with-test & >= "1.1.0"}
27+
"mirage-crypto-rng" {with-test & >= "2.0.0"}
2828
]
2929
build: [
3030
["dune" "subst"] {dev}

test/irmin-client/dune

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
websocket-lwt-unix
99
conduit-lwt-unix
1010
alcotest-lwt
11-
mirage-crypto-rng-lwt
11+
mirage-crypto-rng.unix
1212
irmin-test
1313
irmin-watcher)
1414
(enabled_if

test/irmin-client/util.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
open Lwt.Infix
1818

19-
let () = Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna)
19+
let () = Mirage_crypto_rng_unix.use_default ()
2020

2121
module Store = Irmin_mem.KV.Make (Irmin.Contents.String)
2222
module Client = Irmin_client_unix.Make (Store)

0 commit comments

Comments
 (0)