test: Switch to mirage-crypto-rng
This commit is contained in:
parent
c6cd38db9c
commit
0a5367e7c6
3 changed files with 3 additions and 4 deletions
|
@ -19,9 +19,8 @@ depends: [
|
||||||
"httpaf"
|
"httpaf"
|
||||||
"alcotest-lwt" {with-test}
|
"alcotest-lwt" {with-test}
|
||||||
"mirage-clock-unix" {with-test}
|
"mirage-clock-unix" {with-test}
|
||||||
"mirage-random-stdlib" {with-test}
|
"mirage-crypto-rng" {with-test}
|
||||||
"mirage-time-unix" {with-test}
|
"mirage-time-unix" {with-test}
|
||||||
"mirage-entropy" {with-test & >= "0.5.0"} # dependency issue with mirage-random-stdlib
|
|
||||||
"h2"
|
"h2"
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(executable
|
(executable
|
||||||
(name test)
|
(name test)
|
||||||
(libraries http-mirage-client tcpip.stack-socket paf.mirage
|
(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))
|
mimic-happy-eyeballs alcotest-lwt))
|
||||||
|
|
||||||
(rule
|
(rule
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
(* Functoria *)
|
(* Functoria *)
|
||||||
|
|
||||||
module DNS_client =
|
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)
|
(Tcpip_stack_socket.V4V6)
|
||||||
|
|
||||||
module Happy_eyeballs =
|
module Happy_eyeballs =
|
||||||
|
|
Loading…
Reference in a new issue