package = "lua-resty-core"
version = "0.0.6-0"
source = {
    url = "git://github.com/openresty/lua-resty-core",
    tag = "v0.0.6",
}
description = {
    summary = "lua-resty-core -  New FFI-based Lua API for ngx_http_lua_module and/or ngx_stream_lua_module.",
    detailed = [[
        This pure Lua library reimplements part of the ngx_lua module's Nginx API for Lua with LuaJIT FFI and installs the new FFI-based Lua API into the ngx.* and ndk.* namespaces used by the ngx_lua module.

        In addition, this Lua library implements any significant new Lua APIs of the ngx_lua module as proper Lua modules, like ngx.semaphore and ngx.balancer.

        The FFI-based Lua API can work with LuaJIT's JIT compiler. ngx_lua's default API is based on the standard Lua C API, which will never be JIT compiled and the user Lua code is always interpreted (slowly).

        Support for the new ngx_stream_lua_module has also begun.

        This library is shipped with the OpenResty bundle by default. So you do not really need to worry about the dependencies and requirements.
    ]],
    homepage = "https://openresty.org/",
    license = "BSD"
}
dependencies = {
    "lua-resty-lrucache",
}

build = {
    type = "builtin",

    modules = {
        ["resty.core.hash"] = "lib/resty/core/hash.lua",
        ["resty.core.regex"] = "lib/resty/core/regex.lua",
        ["resty.core.response"] = "lib/resty/core/response.lua",
        ["resty.core.var"] = "lib/resty/core/var.lua",
        ["resty.core.ctx"] = "lib/resty/core/ctx.lua",
        ["resty.core.shdict"] = "lib/resty/core/shdict.lua",
        ["resty.core.request"] = "lib/resty/core/request.lua",
        ["resty.core.base"] = "lib/resty/core/base.lua",
        ["resty.core.uri"] = "lib/resty/core/uri.lua",
        ["resty.core.exit"] = "lib/resty/core/exit.lua",
        ["resty.core.misc"] = "lib/resty/core/misc.lua",
        ["resty.core.base64"] = "lib/resty/core/base64.lua",
        ["resty.core"] = "lib/resty/core.lua",
    },
}
