yam 0.5.16 → 0.5.17
raw patch · 2 files changed
+5/−22 lines, 2 filesdep ~basedep ~menshen
Dependency ranges changed: base, menshen
Files
- src/Yam/Internal.hs +0/−17
- yam.cabal +5/−5
src/Yam/Internal.hs view
@@ -3,10 +3,8 @@ module Yam.Internal( -- * Application Functions startYam- , start ) where -import Salak import qualified Data.Vault.Lazy as L import Network.Wai.Handler.Warp import Servant@@ -54,19 +52,4 @@ transApp :: Vault -> Env -> App a -> Handler a transApp v b = liftIO . runApp b . local (\env -> env { reqAttributes = Just v}) -start- :: forall api. (HasSwagger api, HasServer api '[Env])- => PropConfig- -> Version- -> [AppMiddleware]- -> Proxy api- -> ServerT api App- -> IO ()-start p a b c d = defaultLoadSalak p $ do- al <- require "yam.application"- sw <- require "yam.swagger"- md <- require "yam.middleware.default.enabled" .?= True- reloadable $ do- lc <- requireD "yam.logging"- liftIO $ startYam al sw lc md a b c d
yam.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: yam-version: 0.5.16+version: 0.5.17 license: BSD3 license-file: LICENSE copyright: (c) 2018 Daniel YU@@ -50,7 +50,7 @@ ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures build-depends: aeson >=1.4.2.0 && <1.5,- base >=4.9 && <5,+ base >=4.10 && <5, base16-bytestring >=0.1.1.6 && <0.2, binary >=0.8.6.0 && <0.9, bytestring >=0.10.8.2 && <0.11,@@ -59,7 +59,7 @@ http-client >=0.5.14 && <0.7, http-types >=0.12.3 && <0.13, lens ==4.17.*,- menshen >=0.0.1 && <0.1,+ menshen >=0.0.2 && <0.1, monad-logger >=0.3.30 && <0.4, mtl >=2.2.2 && <2.3, mwc-random >=0.14.0.0 && <0.15,@@ -118,7 +118,7 @@ build-depends: QuickCheck >=2.12.6.1 && <2.14, aeson >=1.4.2.0 && <1.5,- base >=4.9 && <5,+ base >=4.10 && <5, base16-bytestring >=0.1.1.6 && <0.2, binary >=0.8.6.0 && <0.9, bytestring >=0.10.8.2 && <0.11,@@ -128,7 +128,7 @@ http-client >=0.5.14 && <0.7, http-types >=0.12.3 && <0.13, lens ==4.17.*,- menshen >=0.0.1 && <0.1,+ menshen >=0.0.2 && <0.1, monad-logger >=0.3.30 && <0.4, mtl >=2.2.2 && <2.3, mwc-random >=0.14.0.0 && <0.15,