File: copas-2.0.2-1.rockspec

package info (click to toggle)
lua-copas 4.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 700 kB
  • sloc: makefile: 62; sh: 43
file content (35 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download
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
package = "Copas"
version = "2.0.2-1"
source = {
   url = "https://github.com/keplerproject/copas/archive/v2_0_2.tar.gz",
   dir = "copas-2_0_2",
}
description = {
   summary = "Coroutine Oriented Portable Asynchronous Services",
   detailed = [[
      Copas is a dispatcher based on coroutines that can be used by
      TCP/IP servers. It uses LuaSocket as the interface with the
      TCP/IP stack. A server registered with Copas should provide a
      handler for requests and use Copas socket functions to send
      the response. Copas loops through requests and invokes the
      corresponding handlers. For a full implementation of a Copas
      HTTP server you can refer to Xavante as an example. 
   ]],
   license = "MIT/X11",
   homepage = "http://www.keplerproject.org/copas/"
}
dependencies = {
   "lua >= 5.1, < 5.4",
   "luasocket >= 2.1",
   "coxpcall >= 1.14",
}
build = {
   type = "builtin",
   modules = { 
     ["copas"] = "src/copas.lua",
     ["copas.http"] = "src/copas/http.lua",
     ["copas.ftp"] = "src/copas/ftp.lua",
     ["copas.smtp"] = "src/copas/smtp.lua",
     ["copas.limit"] = "src/copas/limit.lua",
   }
}