test: Switch to mirage-crypto-rng

This commit is contained in:
Reynir Björnsson 2023-02-02 14:33:39 +01:00
parent c6cd38db9c
commit 0a5367e7c6
3 changed files with 3 additions and 4 deletions

View file

@ -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: [

View file

@ -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

View file

@ -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 =