packages feed

cql 3.0.3 → 3.0.4

raw patch · 3 files changed

+12/−4 lines, 3 filesdep ~iproute

Dependency ranges changed: iproute

Files

CHANGELOG.txt view
@@ -1,3 +1,8 @@+3.0.4+-----+- Update `iproute` upper bound+- Handle `SockAddrCan` from network >= 2.6.1+ 3.0.3 ----- - Update `iproute` upper bound
cql.cabal view
@@ -1,8 +1,8 @@ name:                 cql-version:              3.0.3+version:              3.0.4 synopsis:             Cassandra CQL binary protocol. stability:            experimental-license:              OtherLicense+license:              MPL-2.0 license-file:         LICENSE.txt author:               Toralf Wittner, Roman S. Borschel maintainer:           Toralf Wittner <tw@dtex.org>@@ -36,7 +36,6 @@     default-language: Haskell2010     hs-source-dirs:   src     ghc-options:      -Wall -O2 -fwarn-tabs -funbox-strict-fields-    ghc-prof-options: -prof -auto-all      exposed-modules:         Database.CQL.Protocol@@ -58,7 +57,7 @@         , bytestring       >= 0.10   && < 1.0         , cereal           >= 0.3    && < 0.5         , Decimal          >= 0.3    && < 1.0-        , iproute          >= 1.3    && < 1.5+        , iproute          >= 1.3    && < 2.0         , network          >= 2.4    && < 3.0         , text             >= 0.11   && < 2.0         , template-haskell
src/Database/CQL/Protocol/Codec.hs view
@@ -3,6 +3,7 @@ -- file, You can obtain one at http://mozilla.org/MPL/2.0/.  {-# LANGUAGE BangPatterns      #-}+{-# LANGUAGE CPP               #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TupleSections     #-} @@ -251,6 +252,9 @@     putWord32host d     putWord32be (fromIntegral p) encodeSockAddr (SockAddrUnix _) = fail "encode-socket: unix address not allowed"+#if MIN_VERSION_network(2,6,1)+encodeSockAddr (SockAddrCan _) = fail "encode-socket: can address not allowed"+#endif  decodeSockAddr :: Get SockAddr decodeSockAddr = do