diff --git a/http-mirage-client.opam b/http-mirage-client.opam index f684159..e687a51 100644 --- a/http-mirage-client.opam +++ b/http-mirage-client.opam @@ -19,9 +19,8 @@ depends: [ "httpaf" "alcotest-lwt" {with-test} "mirage-clock-unix" {with-test} - "mirage-random-stdlib" {with-test} + "mirage-crypto-rng" {with-test} "mirage-time-unix" {with-test} - "mirage-entropy" {with-test & >= "0.5.0"} # dependency issue with mirage-random-stdlib "h2" ] build: [ diff --git a/test/dune b/test/dune index 92cfa42..5518f22 100644 --- a/test/dune +++ b/test/dune @@ -1,7 +1,7 @@ (executable (name test) (libraries http-mirage-client tcpip.stack-socket paf.mirage - mirage-clock-unix mirage-random-stdlib mirage-time-unix + mirage-clock-unix mirage-crypto-rng mirage-time-unix mimic-happy-eyeballs alcotest-lwt)) (rule diff --git a/test/test.ml b/test/test.ml index 7675162..1810a60 100644 --- a/test/test.ml +++ b/test/test.ml @@ -1,7 +1,7 @@ (* Functoria *) module DNS_client = - Dns_client_mirage.Make (Mirage_random_stdlib) (Time) (Mclock) (Pclock) + Dns_client_mirage.Make (Mirage_crypto_rng) (Time) (Mclock) (Pclock) (Tcpip_stack_socket.V4V6) module Happy_eyeballs =