-
Notifications
You must be signed in to change notification settings - Fork 13
/
wai-cors.cabal
121 lines (103 loc) · 2.84 KB
/
wai-cors.cabal
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
-- ------------------------------------------------------ --
-- Copyright © 2015-2019 Lars Kuhtz <[email protected]>
-- Copyright © 2014 AlephCloud Systems, Inc.
-- ------------------------------------------------------ --
Name: wai-cors
Version: 0.2.7
Synopsis: CORS for WAI
Description:
This package provides an implementation of
Cross-Origin resource sharing (CORS) for
<http://hackage.haskell.org/package/wai Wai>
that aims to be compliant with <http://www.w3.org/TR/cors>.
Homepage: https://github.com/larskuhtz/wai-cors
Bug-reports: https://github.com/larskuhtz/wai-cors/issues
License: MIT
License-file: LICENSE
Author: Lars Kuhtz <[email protected]>
Maintainer: Lars Kuhtz <[email protected]>
Copyright:
(c) 2015-2019 Lars Kuhtz <[email protected]>,
(c) 2014 AlephCloud Systems, Inc.
Category: HTTP, Network, Web, Wai
Build-type: Simple
Cabal-version: 1.22
tested-with:
GHC == 7.10.3
GHC == 8.0.2
GHC == 8.2.2
GHC == 8.4.4
GHC == 8.6.5
data-files:
README.md
CHANGELOG.md
test/index.html
test/phantomjs.js
examples/Scotty.hs
examples/Wai.hs
examples/ServantWai.hs
source-repository head
type: git
location: https://github.com/larskuhtz/wai-cors
branch: master
source-repository this
type: git
location: https://github.com/larskuhtz/wai-cors
tag: 0.2.7
Library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules:
Network.Wai.Middleware.Cors
build-depends:
attoparsec >= 0.10.4.0,
base >= 4.8 && <5.0,
base-unicode-symbols >= 0.2.2.3,
bytestring >= 0.10.0.2,
case-insensitive >= 1.0.0.1,
http-types >= 0.8.0,
mtl >= 2.2,
transformers >= 0.4,
wai >= 3.0
ghc-options: -Wall
Test-Suite phantomjs
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: PhantomJS.hs
hs-source-dirs: test
other-modules:
Server
build-depends:
base >= 4.8 && <5.0,
base-unicode-symbols >= 0.2,
directory >= 1.2,
filepath >= 1.4,
http-types >= 0.8,
network >= 2.6,
process >= 1.2,
text >= 1.2,
wai >= 3.0,
wai-cors,
wai-websockets >= 3.0,
warp >= 3.0,
websockets >= 0.9
ghc-options: -threaded -Wall -with-rtsopts=-N
Test-Suite unit-tests
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: UnitTests.hs
hs-source-dirs: test
build-depends:
base >= 4.8 && <5.0,
base-unicode-symbols >= 0.2,
base-unicode-symbols >= 0.2,
http-types >= 0.8,
tasty >= 0.11,
tasty-hunit >= 0.9,
wai >= 3.0,
wai-cors,
wai-extra >= 3.0,
wai-websockets >= 3.0.1,
warp >= 3.0,
websockets >= 0.10
ghc-options: -threaded -Wall -with-rtsopts=-N