-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kinoru
committed
Dec 5, 2015
1 parent
9fc7062
commit 44d090a
Showing
6 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module Crypto | ||
module Unbreak.Crypto | ||
( getRandomBytes | ||
, scrypt | ||
, encrypt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{-# LANGUAGE DeriveGeneric #-} | ||
|
||
module Format | ||
module Unbreak.Format | ||
( FromJSON(..) | ||
, dec | ||
, EncodeJSON(..) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,26 +4,41 @@ synopsis: Secure editing of remote documents with unstable connection | |
license: AGPL-3 | ||
license-file: LICENSE | ||
author: Kinoru | ||
maintainer: [email protected] | ||
copyright: Copyright (C) 2015 Kinoru | ||
category: Web | ||
build-type: Simple | ||
cabal-version: >=1.18 | ||
|
||
executable u | ||
library | ||
hs-source-dirs: lib | ||
exposed-modules: | ||
Unbreak.Crypto, | ||
Unbreak.Format, | ||
Unbreak.Run, | ||
Data.ByteString.OverheadFree | ||
default-extensions: OverloadedStrings, RecordWildCards | ||
main-is: Main.hs | ||
other-modules: Data.ByteString.OverheadFree, Crypto, Format, Run | ||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
build-depends: | ||
aeson >= 0.9, | ||
aeson-pretty >= 0.7, | ||
bytestring >= 0.10, | ||
cmdargs >= 0.10, | ||
cryptonite >= 0.9, | ||
memory >= 0.10, | ||
process == 1.*, | ||
text == 1.*, | ||
unix == 2.*, | ||
base >=4.8 && <4.9 | ||
ghc-options: -Wall -O2 -threaded -static -optl-pthread -optl-static | ||
ghc-options: -Wall -fwarn-incomplete-uni-patterns -O2 -threaded | ||
|
||
executable u | ||
default-extensions: OverloadedStrings, RecordWildCards | ||
main-is: Main.hs | ||
hs-source-dirs: src | ||
build-depends: | ||
bytestring >= 0.10, | ||
cmdargs >= 0.10, | ||
unbreak, | ||
base >=4.8 && <4.9 | ||
ghc-options: -Wall -fwarn-incomplete-uni-patterns -O2 -threaded -static -optl-pthread -optl-static | ||
default-language: Haskell2010 |