Skip to content

Commit

Permalink
data-default-class -> data-default
Browse files Browse the repository at this point in the history
data-default 0.8 deprecates data-default-class by moving the `Default`
class from `Data.Default.Class` to `Data.Default`.

This is used upstream in `tls`.

See: kazu-yamamoto/crypton-certificate#11
See: haskell-tls/hs-tls#486
See: commercialhaskell/stackage#7545
  • Loading branch information
9999years committed Oct 25, 2024
1 parent 953669d commit ef10744
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Network/Connection.hs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import Network.Socket
import qualified Network.Socket.ByteString as N

import Data.Tuple (swap)
import Data.Default.Class
import Data.Default
import Data.Data
import Data.ByteString (ByteString)
import qualified Data.ByteString as B
Expand Down
2 changes: 1 addition & 1 deletion Network/Connection/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Network.Connection.Types

import Control.Concurrent.MVar (MVar)

import Data.Default.Class
import Data.Default
import Data.X509.CertificateStore
import Data.ByteString (ByteString)

Expand Down
2 changes: 1 addition & 1 deletion crypton-connection.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Library
, basement
, bytestring
, containers
, data-default-class
, data-default >= 0.8
, network >= 2.6.3
, tls >= 1.7 && < 2.2
, socks >= 0.6
Expand Down

0 comments on commit ef10744

Please sign in to comment.