Skip to content

Commit

Permalink
Merge pull request #2 from bellroy/unliftio-core
Browse files Browse the repository at this point in the history
Use `unliftio-core` instead of `unliftio`
  • Loading branch information
JackKelly-Bellroy authored Aug 5, 2024
2 parents c91cd89 + fe853d4 commit a9c133d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for unliftio-servant-server

## 0.1.0.1 -- 2024-08-06

* Use `unliftio-core` instead of `unliftio` for smaller dependency
footprint.

## 0.1.0.0 -- 2024-07-05

* First version. Released on an unsuspecting world.
2 changes: 1 addition & 1 deletion src/UnliftIO/Servant/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ where

import Control.Monad ((>=>))
import Control.Monad.Except (ExceptT, runExceptT, throwError)
import Control.Monad.IO.Unlift (MonadUnliftIO (..), liftIO)
import Data.Proxy (Proxy)
import Servant.API.Generic (AsApi, GenericServant, ToServant, ToServantApi)
import Servant.Server
Expand All @@ -68,7 +69,6 @@ import Servant.Server
import qualified Servant.Server as Servant
import Servant.Server.Generic (AsServerT)
import qualified Servant.Server.Generic as Servant
import UnliftIO (MonadUnliftIO (..), liftIO)

-- | Convert a Servant API into an 'Application', by unlifting the
-- monad in which it runs.
Expand Down
2 changes: 1 addition & 1 deletion unliftio-servant-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ library
, mtl >=2.2.2 && <2.4
, servant >=0.19 && <0.21
, servant-server >=0.19 && <0.21
, unliftio >=0.1.0.0 && <0.3.0.0
, unliftio-core >=0.1.0.0 && <0.3.0.0

default-language: Haskell2010

0 comments on commit a9c133d

Please sign in to comment.