Skip to content

Commit a52eec9

Browse files
committed
Update cabal descriptions to reflect the package split
1 parent 2e0c277 commit a52eec9

File tree

6 files changed

+11
-21
lines changed

6 files changed

+11
-21
lines changed

servant-multipart-api/servant-multipart-api.cabal

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: servant-multipart-api
22
version: 0.12
33
synopsis: multipart/form-data (e.g file upload) support for servant
44
description:
5-
This package adds support for file upload to the servant ecosystem. It draws
6-
on ideas and code from several people who participated in the
7-
(in)famous [ticket #133](https://github.com/haskell-servant/servant/issues/133) on
8-
servant's issue tracker.
5+
This package contains servant API types that support multiform upload, used by
6+
servant-multipart and servant-multipart-client for backend/client implementation.
97

108
homepage: https://github.com/haskell-servant/servant-multipart#readme
119
license: BSD3

servant-multipart-api/src/Servant/Multipart/API.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
{-# LANGUAGE StandaloneDeriving #-}
1515
{-# LANGUAGE UndecidableInstances #-}
1616
{-# LANGUAGE TypeApplications #-}
17-
-- | @multipart/form-data@ support for servant.
17+
-- | @multipart/form-data@ Servant API support for servant.
18+
-- see servant-multipart and servant-multipart-client for server- and client-
19+
-- definitions.
1820
--
1921
-- This is mostly useful for adding file upload support to
2022
-- an API. See haddocks of 'MultipartForm' for an introduction.

servant-multipart-client/servant-multipart-client.cabal

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: servant-multipart-client
22
version: 0.12
33
synopsis: multipart/form-data (e.g file upload) support for servant
44
description:
5-
This package adds support for file upload to the servant ecosystem. It draws
6-
on ideas and code from several people who participated in the
7-
(in)famous [ticket #133](https://github.com/haskell-servant/servant/issues/133) on
8-
servant's issue tracker.
5+
This package adds client-side support for file upload to the servant ecosystem.
96

107
homepage: https://github.com/haskell-servant/servant-multipart#readme
118
license: BSD3

servant-multipart-client/src/Servant/Multipart/Client.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
{-# LANGUAGE StandaloneDeriving #-}
1515
{-# LANGUAGE UndecidableInstances #-}
1616
{-# LANGUAGE TypeApplications #-}
17-
-- | @multipart/form-data@ support for servant.
18-
--
19-
-- This is mostly useful for adding file upload support to
20-
-- an API. See haddocks of 'MultipartForm' for an introduction.
17+
-- | @multipart/form-data@ client-side support for servant.
18+
-- See servant-multipart-api for the API definitions.
2119
module Servant.Multipart.Client
2220
( genBoundary
2321
, ToMultipart(..)

servant-multipart/servant-multipart.cabal

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: servant-multipart
22
version: 0.12
33
synopsis: multipart/form-data (e.g file upload) support for servant
44
description:
5-
This package adds support for file upload to the servant ecosystem. It draws
6-
on ideas and code from several people who participated in the
7-
(in)famous [ticket #133](https://github.com/haskell-servant/servant/issues/133) on
8-
servant's issue tracker.
5+
This package adds server-side support of file upload to the servant ecosystem.
96

107
homepage: https://github.com/haskell-servant/servant-multipart#readme
118
license: BSD3

servant-multipart/src/Servant/Multipart.hs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
{-# LANGUAGE StandaloneDeriving #-}
1515
{-# LANGUAGE UndecidableInstances #-}
1616
{-# LANGUAGE TypeApplications #-}
17-
-- | @multipart/form-data@ support for servant.
18-
--
19-
-- This is mostly useful for adding file upload support to
20-
-- an API. See haddocks of 'MultipartForm' for an introduction.
17+
-- | @multipart/form-data@ server-side support for servant.
18+
-- See servant-multipart-api for the API definitions.
2119
module Servant.Multipart
2220
( MultipartForm
2321
, MultipartForm'

0 commit comments

Comments
 (0)