Skip to content

Commit

Permalink
Support Aeson 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vekhir authored and christiaanb committed Sep 18, 2023
1 parent 9bfca00 commit 37658b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion clash-lib/clash-lib.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ Library
RecordWildCards
TemplateHaskell

Build-depends: aeson >= 0.6.2.0 && < 2.2,
Build-depends: aeson >= 0.6.2.0 && < 2.3,
attoparsec-aeson >= 2.1 && < 2.3,
aeson-pretty >= 0.8 && < 0.9,
ansi-terminal >= 0.8.0.0 && < 1.1,
array,
Expand Down Expand Up @@ -337,6 +338,7 @@ executable v16-upgrade-primitives
Build-Depends:
base,
aeson,
attoparsec-aeson,
deepseq,
yaml,
bytestring,
Expand Down Expand Up @@ -404,6 +406,7 @@ test-suite unittests
ghc-typelits-knownnat,

aeson,
attoparsec-aeson,
aeson-pretty,
base,
base16-bytestring,
Expand Down
3 changes: 2 additions & 1 deletion clash-lib/src/Data/Aeson/Extra.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import Data.List (intercalate)
import Data.List.NonEmpty (NonEmpty (..))
import qualified Data.List.NonEmpty as NE
import Data.Tuple.Extra (second, first)
import Data.Aeson (FromJSON, Result (..), fromJSON, json)
import Data.Aeson (FromJSON, Result (..), fromJSON)
import Data.Aeson.Parser (json)
import Data.Attoparsec.Lazy (Result (..), parse)
import Data.ByteString.Lazy (ByteString)
import qualified Data.ByteString.Lazy as BS
Expand Down

0 comments on commit 37658b5

Please sign in to comment.