Support being built with crypton rather than cryptonite
crypton is a fork of cryptonite, and cryptonite's github repo has been archived. Some deps are already using cryptonite so it's clearly the way forward. Added a build flag without a default, so cabal configure will select on its own which to use. stack files pin to cryptonite for now. Sponsored-by: Nicholas Golder-Manning on Patreon
This commit is contained in:
parent
e03e907705
commit
54da44d42a
7 changed files with 19 additions and 3 deletions
|
@ -75,7 +75,11 @@ dependencyVersions = map fmt $ sortBy (comparing (CI.mk . fst))
|
|||
, ("bloomfilter", VERSION_bloomfilter)
|
||||
, ("http-client", VERSION_http_client)
|
||||
, ("persistent-sqlite", VERSION_persistent_sqlite)
|
||||
#ifdef WITH_CRYPTON
|
||||
, ("crypton", VERSION_crypton)
|
||||
#else
|
||||
, ("cryptonite", VERSION_cryptonite)
|
||||
#endif
|
||||
, ("aws", VERSION_aws)
|
||||
, ("DAV", VERSION_DAV)
|
||||
#ifdef WITH_TORRENTPARSER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue