File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
typed-protocols-stateful-cborg
src/Network/TypedProtocol/Stateful/Codec Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ repository cardano-haskell-packages
1212
1313index-state :
1414 hackage.haskell.org 2024-08-27T18:06 :30Z
15- , cardano-haskell-packages 2024-06-27T10:53 :24Z
15+ , cardano-haskell-packages 2024-07-24T14:16 :32Z
1616
1717packages : ./typed-protocols
1818 ./typed-protocols-cborg
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ mkCodecCborStrictBS cborMsgEncode cborMsgDecode =
7272 :: (forall s . CBOR. Decoder s a )
7373 -> m (DecodeStep BS. ByteString DeserialiseFailure m a )
7474 convertCborDecoder cborDecode =
75- withLiftST ( convertCborDecoderBS cborDecode)
75+ convertCborDecoderBS cborDecode stToIO
7676
7777-- | Construct a 'Codec' for a CBOR based serialisation format, using lazy
7878-- 'BS.ByteString's.
@@ -114,7 +114,7 @@ mkCodecCborLazyBS cborMsgEncode cborMsgDecode =
114114 :: (forall s . CBOR. Decoder s a )
115115 -> m (DecodeStep LBS. ByteString CBOR. DeserialiseFailure m a )
116116 convertCborDecoder cborDecode =
117- withLiftST ( convertCborDecoderLBS cborDecode)
117+ convertCborDecoderLBS cborDecode stToIO
118118
119119{-# NOINLINE toLazyByteString #-}
120120toLazyByteString :: BS. Builder -> LBS. ByteString
Original file line number Diff line number Diff line change 1+ cabal-version : 3.0
12name : typed-protocols-stateful-cborg
23version : 0.2.0.0
34synopsis : CBOR codecs for typed-protocols
@@ -15,8 +16,6 @@ build-type: Simple
1516-- These should probably be added at some point.
1617extra-source-files : ChangeLog.md, README.md
1718
18- cabal-version : >= 1.10
19-
2019library
2120 exposed-modules : Network.TypedProtocol.Stateful.Codec.CBOR
2221
You can’t perform that action at this time.
0 commit comments