Skip to content

Commit

Permalink
bump to aeson-2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact authored and andreabedini committed Mar 18, 2024
1 parent df541c5 commit 899ef0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions app/Foliage/Meta/Aeson.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -29,7 +28,3 @@ instance ToJSON PackageVersionSource where
{ sumEncoding = ObjectWithSingleField
, omitNothingFields = True
}

instance ToJSON URI where
toJSON :: URI -> Value
toJSON = toJSON . show
2 changes: 1 addition & 1 deletion foliage.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 899ef0e

Please sign in to comment.