mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-07 05:53:37 +01:00
Merge pull request #250 from QuantumPackage/no-crypto
Removed Cryptokit
This commit is contained in:
commit
75847222c5
@ -316,7 +316,7 @@ OCaml
|
|||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
opam install ocamlbuild cryptokit zmq sexplib ppx_sexp_conv ppx_deriving getopt
|
opam install ocamlbuild zmq sexplib ppx_sexp_conv ppx_deriving getopt
|
||||||
|
|
||||||
|
|
||||||
Docopt
|
Docopt
|
||||||
|
2
external/qp2-dependencies
vendored
2
external/qp2-dependencies
vendored
@ -1 +1 @@
|
|||||||
Subproject commit b8cd5815bce14c9b880e3c5ea3d5fc2652f5955c
|
Subproject commit ce14f57b50511825a9fedb096749200779d3f4d4
|
@ -43,7 +43,7 @@ $(QP_ROOT)/data/executables: remake_executables element_create_db.byte Qptypes.m
|
|||||||
$(QP_ROOT)/ocaml/element_create_db.byte
|
$(QP_ROOT)/ocaml/element_create_db.byte
|
||||||
|
|
||||||
external_libs:
|
external_libs:
|
||||||
opam install cryptokit sexplib
|
opam install sexplib
|
||||||
|
|
||||||
qpackage.odocl: $(MLIFILES)
|
qpackage.odocl: $(MLIFILES)
|
||||||
ls $(MLIFILES) | sed "s/\.mli//" > qpackage.odocl
|
ls $(MLIFILES) | sed "s/\.mli//" > qpackage.odocl
|
||||||
|
@ -4,8 +4,8 @@ open Sexplib
|
|||||||
let to_md5 sexp_of_t t =
|
let to_md5 sexp_of_t t =
|
||||||
sexp_of_t t
|
sexp_of_t t
|
||||||
|> Sexp.to_string
|
|> Sexp.to_string
|
||||||
|> Cryptokit.hash_string (Cryptokit.Hash.md5 ())
|
|> Digest.string
|
||||||
|> Cryptokit.transform_string (Cryptokit.Hexa.encode ())
|
|> Digest.to_hex
|
||||||
|> MD5.of_string
|
|> MD5.of_string
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
true: package(cryptokit,zarith,zmq,str,sexplib,ppx_sexp_conv,ppx_deriving,getopt)
|
true: package(zarith,zmq,str,sexplib,ppx_sexp_conv,ppx_deriving,getopt)
|
||||||
true: thread
|
true: thread
|
||||||
false: profile
|
false: profile
|
||||||
<*byte> : linkdep(c_bindings.o), custom
|
<*byte> : linkdep(c_bindings.o), custom
|
||||||
|
Loading…
Reference in New Issue
Block a user