-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
64 lines (51 loc) · 1.6 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: wreq-stringless
version: 0.5.9.1
synopsis: Simple wrapper to use wreq without Strings
author: Juergen Keck
maintainer: Juergen Keck <[email protected]>
license: MIT
description: |
This library wraps all functions from @Network.Wreq@ which expects a 'String'
and replaces the 'String' Type with the "Network.Wreq.StringLess.StringLike" Type-Class.
Instances for "Network.Wreq.StringLess.StringLike" are given for:
* "Data.Text"
.
* "Data.Text.Lazy"
.
* "Data.ByteString.UTF8"
.
* "Data.ByteString.Lazy.UTF8"
So you can use any of this types instead of 'String'.
.
To use this library, replace your the @wreq@ dependency from your @cabal@
file with @wreq-stringless@ and import "Network.Wreq.StringLess" instead
of @Network.Wreq@.
The '0.5.9.x' version of this library wraps the '0.5.x.x' version of @wreq@.
see <https://github.com/j-keck/wreq-stringless/tree/master/examples> for examples.
github: j-keck/wreq-stringless
category: Web
ghc-options: -Wall
extra-source-files:
- README.md
- stack.yaml
- package.yaml
- examples/*.hs
- examples/package.yaml
- examples/stack.yaml
- examples/wreq-stringless-examples.cabal
dependencies:
- base >= 4.7 && < 5
- bytestring
- text
- utf8-string
- wreq == 0.5.*
library:
source-dirs: src
exposed-modules:
- Network.Wreq.StringLess
- Network.Wreq.StringLess.Cache
- Network.Wreq.StringLess.Cache.Store
- Network.Wreq.StringLess.Lens
- Network.Wreq.StringLess.Session
- Network.Wreq.StringLess.StringLike
- Network.Wreq.StringLess.Types