From 899ef0eba377af147f71d6257b3f55e6f8d328a3 Mon Sep 17 00:00:00 2001 From: Daniel Firth Date: Mon, 16 Oct 2023 18:01:25 +0000 Subject: [PATCH] bump to aeson-2.2 --- app/Foliage/Meta/Aeson.hs | 5 ----- foliage.cabal | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Foliage/Meta/Aeson.hs b/app/Foliage/Meta/Aeson.hs index bae3cc7..cd74bd1 100644 --- a/app/Foliage/Meta/Aeson.hs +++ b/app/Foliage/Meta/Aeson.hs @@ -10,7 +10,6 @@ import Data.Text import Distribution.Types.Orphans () import Foliage.Meta import Foliage.Utils.Aeson -import Network.URI (URI) deriving via MyAesonEncoding RevisionSpec instance ToJSON RevisionSpec @@ -29,7 +28,3 @@ instance ToJSON PackageVersionSource where { sumEncoding = ObjectWithSingleField , omitNothingFields = True } - -instance ToJSON URI where - toJSON :: URI -> Value - toJSON = toJSON . show diff --git a/foliage.cabal b/foliage.cabal index 6086770..4c1ff7e 100644 --- a/foliage.cabal +++ b/foliage.cabal @@ -44,7 +44,7 @@ executable foliage build-depends: base >=4.14.3.0 && <4.20, - aeson >=2.0.3.0 && <2.3, + aeson >=2.2 && <2.3, base16 >=0.3.2.0 && <1.1, binary >=0.8.9.0 && <0.9, bytestring >=0.10.12.0 && <0.13,