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

Upgrade to mirage-crypto-rng and relay on use_default #2354

Merged
merged 1 commit into from
Mar 4, 2025
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 examples/sync.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

open Lwt.Syntax

let () = Mirage_crypto_rng_unix.initialize (module Mirage_crypto_rng.Fortuna)
let () = Mirage_crypto_rng_unix.use_default ()
let info = Irmin_git_unix.info

let path =
Expand Down
2 changes: 1 addition & 1 deletion irmin-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ depends: [
"irmin-test" {= version & with-test}
"alcotest-lwt" {with-test & >= "1.8.0"}
"irmin-watcher" {with-test & >= "0.5.0"}
"mirage-crypto-rng-lwt" {with-test & >= "1.1.0"}
"mirage-crypto-rng" {with-test & >= "2.0.0"}
]
build: [
["dune" "subst"] {dev}
Expand Down
2 changes: 1 addition & 1 deletion test/irmin-client/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
websocket-lwt-unix
conduit-lwt-unix
alcotest-lwt
mirage-crypto-rng-lwt
mirage-crypto-rng.unix
irmin-test
irmin-watcher)
(enabled_if
Expand Down
2 changes: 1 addition & 1 deletion test/irmin-client/util.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

open Lwt.Infix

let () = Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna)
let () = Mirage_crypto_rng_unix.use_default ()

module Store = Irmin_mem.KV.Make (Irmin.Contents.String)
module Client = Irmin_client_unix.Make (Store)
Expand Down