Merge pull request #605 from diogob/microlens

Replace lens dependency for microlens
This commit is contained in:
Joe Nelson
2016-05-21 11:48:07 -07:00
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -40,8 +40,8 @@ executable postgrest
, http-types
, interpolatedstring-perl6
, jwt
, lens >=3.8 && < 5.0
, lens-aeson >= 1.0.0.0 && < 1.1.0.0
, microlens >= 0.4.2 && < 0.5
, microlens-aeson >= 2.1.1 && < 2.2
, mtl
, optparse-applicative >= 0.11 && < 0.13
, parsec
@@ -84,8 +84,8 @@ library
, http-types
, interpolatedstring-perl6
, jwt
, lens
, lens-aeson
, microlens
, microlens-aeson
, mtl
, optparse-applicative
, parsec
@@ -158,8 +158,8 @@ Test-Suite spec
, http-types
, interpolatedstring-perl6
, jwt
, lens
, lens-aeson
, microlens
, microlens-aeson
, monad-control
, mtl
, optparse-applicative
+2 -2
View File
@@ -18,9 +18,9 @@ module PostgREST.Auth (
, tokenJWT
) where
import Control.Lens
import Lens.Micro
import Lens.Micro.Aeson
import Data.Aeson (Value (..), parseJSON, toJSON)
import Data.Aeson.Lens
import Data.Aeson.Types (parseMaybe, emptyObject, emptyArray)
import qualified Data.ByteString as BS
import qualified Data.Vector as V