packages feed

protocol-buffers 2.4.14 → 2.4.16

raw patch · 3 files changed

+15/−1 lines, 3 files

Files

Changes view
@@ -1,5 +1,14 @@ Newest at the top. +2.4.16++- PR #93. Fix up a534ea to support older base16-bytestring again, via CPP++2.4.15++- PR #92. Allow newer haskell-src-exts and test for GHC-8.10.2+- PR #90. Use base16-bytestring >= 1.0.0.0 after 'decode' API change+ 2.4.14  - Issue #89 defaultUserHooks in Setup.hs is deprecated
Text/ProtocolBuffers/ProtoJSON.hs view
@@ -41,5 +41,10 @@ parseJSONByteString = withObject "bytes" $ \o -> do     t <- o .: "payload"     case B16.decode (T.encodeUtf8 t) of+#    if MIN_VERSION_base16_bytestring(1,0,0)+      Right bs -> return (BL.fromStrict bs)+      Left err -> fail $ "Failed to parse base16: " <> err+#    else       (bs, "") -> return (BL.fromStrict bs)       _ -> fail "Failed to parse base16."+#    endif
protocol-buffers.cabal view
@@ -1,5 +1,5 @@ name:           protocol-buffers-version:        2.4.14+version:        2.4.16 cabal-version:  >= 1.10 build-type:     Simple license:        BSD3