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 , http-types
, interpolatedstring-perl6 , interpolatedstring-perl6
, jwt , jwt
, lens >=3.8 && < 5.0 , microlens >= 0.4.2 && < 0.5
, lens-aeson >= 1.0.0.0 && < 1.1.0.0 , microlens-aeson >= 2.1.1 && < 2.2
, mtl , mtl
, optparse-applicative >= 0.11 && < 0.13 , optparse-applicative >= 0.11 && < 0.13
, parsec , parsec
@@ -84,8 +84,8 @@ library
, http-types , http-types
, interpolatedstring-perl6 , interpolatedstring-perl6
, jwt , jwt
, lens , microlens
, lens-aeson , microlens-aeson
, mtl , mtl
, optparse-applicative , optparse-applicative
, parsec , parsec
@@ -158,8 +158,8 @@ Test-Suite spec
, http-types , http-types
, interpolatedstring-perl6 , interpolatedstring-perl6
, jwt , jwt
, lens , microlens
, lens-aeson , microlens-aeson
, monad-control , monad-control
, mtl , mtl
, optparse-applicative , optparse-applicative
+2 -2
View File
@@ -18,9 +18,9 @@ module PostgREST.Auth (
, tokenJWT , tokenJWT
) where ) where
import Control.Lens import Lens.Micro
import Lens.Micro.Aeson
import Data.Aeson (Value (..), parseJSON, toJSON) import Data.Aeson (Value (..), parseJSON, toJSON)
import Data.Aeson.Lens
import Data.Aeson.Types (parseMaybe, emptyObject, emptyArray) import Data.Aeson.Types (parseMaybe, emptyObject, emptyArray)
import qualified Data.ByteString as BS import qualified Data.ByteString as BS
import qualified Data.Vector as V import qualified Data.Vector as V