Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cryptonite -> crypton #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions cryptostore.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: cryptostore
version: 0.3.1.0
version: 0.4.0.0
synopsis: Serialization of cryptographic data types
description: Haskell implementation of PKCS \#8, PKCS \#12 and CMS
(Cryptographic Message Syntax).
Expand All @@ -19,11 +19,6 @@ source-repository head
type: git
location: https://github.com/ocheron/cryptostore

flag use_crypton
description: Use crypton instead of cryptonite
manual: True
default: False

library
hs-source-dirs: src
exposed-modules: Crypto.Store.CMS
Expand Down Expand Up @@ -65,14 +60,9 @@ library
, asn1-types >= 0.3.1 && < 0.4
, asn1-encoding >= 0.9 && < 0.10
, hourglass >= 0.2
if flag(use_crypton)
build-depends: crypton
, crypton
, crypton-x509
, crypton-x509-validation
else
build-depends: cryptonite >=0.26
, x509 >= 1.7.5
, x509-validation >= 1.5
default-language: Haskell2010
ghc-options: -Wall

Expand Down Expand Up @@ -103,11 +93,7 @@ test-suite test-cryptostore
, hourglass
, pem
, cryptostore
if flag(use_crypton)
build-depends: crypton
, crypton
, crypton-x509
else
build-depends: cryptonite >=0.25
, x509
default-language: Haskell2010
ghc-options: -Wall