Skip to content

Commit

Permalink
Move back to using data-default
Browse files Browse the repository at this point in the history
  • Loading branch information
edsko committed Oct 25, 2024
1 parent bff2ec6 commit 034a2d9
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion grapesy/grapesy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ library
, crypton-x509 >= 1.7 && < 1.8
, crypton-x509-store >= 1.6 && < 1.7
, crypton-x509-system >= 1.6 && < 1.7
, data-default-class >= 0.1 && < 0.2
, data-default >= 0.7 && < 0.9
, deepseq >= 1.4 && < 1.6
, exceptions >= 0.10 && < 0.11
, grpc-spec >= 0.1 && < 0.2
Expand Down
2 changes: 1 addition & 1 deletion grapesy/src/Network/GRPC/Client/Connection.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import Control.Concurrent
import Control.Concurrent.STM
import Control.Monad
import Control.Monad.Catch
import Data.Default.Class
import Data.Default
import GHC.Stack
import Network.HPACK qualified as HPACK
import Network.HTTP2.Client qualified as HTTP2.Client
Expand Down
2 changes: 1 addition & 1 deletion grapesy/src/Network/GRPC/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module Network.GRPC.Common (
, Default(..)
) where

import Data.Default.Class
import Data.Default
import Data.Proxy
import Network.Socket (PortNumber)

Expand Down
2 changes: 1 addition & 1 deletion grapesy/src/Network/GRPC/Common/Compression.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module Network.GRPC.Common.Compression (
, insist
) where

import Data.Default.Class
import Data.Default
import Data.Foldable (toList)
import Data.List.NonEmpty (NonEmpty(..))
import Data.List.NonEmpty qualified as NE
Expand Down
2 changes: 1 addition & 1 deletion grapesy/src/Network/GRPC/Common/HTTP2Settings.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module Network.GRPC.Common.HTTP2Settings
, defaultHTTP2Settings
) where

import Data.Default.Class
import Data.Default
import Data.Word

-- | HTTP\/2 settings
Expand Down
2 changes: 1 addition & 1 deletion grapesy/src/Network/GRPC/Util/TLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module Network.GRPC.Util.TLS (
) where

import Control.Exception
import Data.Default.Class
import Data.Default
import Data.X509 qualified as X509
import Data.X509.CertificateStore qualified as X509
import System.Environment
Expand Down
2 changes: 1 addition & 1 deletion grpc-spec/grpc-spec.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ library
, bytestring >= 0.10.12 && < 0.13
, case-insensitive >= 1.2 && < 1.3
, containers >= 0.6 && < 0.8
, data-default-class >= 0.1 && < 0.2
, data-default >= 0.7 && < 0.9
, deepseq >= 1.4 && < 1.6
, exceptions >= 0.10 && < 0.11
, hashable >= 1.3 && < 1.5
Expand Down
2 changes: 1 addition & 1 deletion grpc-spec/src/Network/GRPC/Spec/Call.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Network.GRPC.Spec.Call (
, callRequestMetadata
) where

import Data.Default.Class
import Data.Default
import Data.Functor.Const

import Network.GRPC.Spec.CustomMetadata.Typed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Network.GRPC.Spec.CustomMetadata.NoMetadata (
) where

import Control.Monad.Catch
import Data.Default.Class
import Data.Default

import Network.GRPC.Spec.CustomMetadata.Typed

Expand Down
2 changes: 1 addition & 1 deletion grpc-spec/src/Network/GRPC/Spec/Headers/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module Network.GRPC.Spec.Headers.Common (
) where

import Data.ByteString qualified as Strict (ByteString)
import Data.Default.Class
import Data.Default
import Data.Proxy
import GHC.Generics (Generic)

Expand Down
2 changes: 1 addition & 1 deletion grpc-spec/src/Network/GRPC/Spec/MessageMeta.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Network.GRPC.Spec.MessageMeta (
) where

import Control.DeepSeq (NFData)
import Data.Default.Class
import Data.Default
import Data.Word
import GHC.Generics (Generic)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Data.Binary.Get qualified as Get
import Data.Binary.Put qualified as Put
import Data.ByteString qualified as Strict (ByteString)
import Data.ByteString.Lazy qualified as BS.Lazy
import Data.Default.Class
import Data.Default
import Data.Maybe (maybeToList)
import Data.Word

Expand Down
2 changes: 1 addition & 1 deletion grpc-spec/src/Network/GRPC/Spec/TraceContext.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Network.GRPC.Spec.TraceContext (
import Data.ByteString qualified as Strict (ByteString)
import Data.ByteString.Base16 qualified as BS.Strict.Base16
import Data.ByteString.Char8 qualified as BS.Strict.Char8
import Data.Default.Class
import Data.Default
import Data.String
import GHC.Generics (Generic)

Expand Down

0 comments on commit 034a2d9

Please sign in to comment.