~bigbes/tarantool

tarantool-protobuf

ref: 7676fdc2fdd14066e363732e504a8f640a01cab3 tarantool-protobuf/tarantool-protobuf-scm-1.rockspec -rw-r--r-- 2.0 KiB
7676fdc2 — Eugene Blikh codegen: preserve descriptor options as `options = { ... }` 3 months ago
                                                                                
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
package = "tarantool-protobuf"
version = "scm-1"

-- NOTE: the canonical public remote is not yet published. The URL below
-- is aspirational (points where the repo will live on sourcecraft.dev).
-- Until then, install from a local clone:
--   tt rocks make tarantool-protobuf-scm-1.rockspec
-- A fresh `tt rocks install` against the URL below will fail with
-- "no such repository" — see README "Install" section.
source = {
    url = "git+https://sourcecraft.dev/bigbes/tarantool-protobuf.git",
    branch = "master",
}

description = {
    summary = "Protocol Buffers (proto3) + gRPC runtime for Tarantool",
    detailed = [[
A protoc plugin (Go) and pure-Lua runtime that give Tarantool a complete
proto3 + gRPC stack — decode, map, oneof, services, well-known types, JSON
and text-format codecs, and zero-copy lazy decode views. The Lua module
is named `pb` to avoid colliding with Tarantool's encode-only built-in
`protobuf` module. This rockspec installs only the runtime; the
`protoc-gen-tarantool` plugin must be built separately from the Go
sources (see Justfile).
]],
    homepage = "https://sourcecraft.dev/bigbes/tarantool-protobuf",
    license  = "BSD-2-Clause",
    maintainer = "Eugene Blikh <bigbes@gmail.com>",
}

dependencies = {
    "lua >= 5.1",
}

build = {
    type = "builtin",
    modules = {
        ["pb"]               = "runtime/pb/init.lua",
        ["pb.codec"]         = "runtime/pb/codec.lua",
        ["pb.descriptor_pb"] = "runtime/pb/descriptor_pb.lua",
        ["pb.dynamic"]       = "runtime/pb/dynamic.lua",
        ["pb.fileset"]       = "runtime/pb/fileset.lua",
        ["pb.grpc"]          = "runtime/pb/grpc.lua",
        ["pb.json"]          = "runtime/pb/json.lua",
        ["pb.lazy"]          = "runtime/pb/lazy.lua",
        ["pb.parser"]        = "runtime/pb/parser.lua",
        ["pb.text"]          = "runtime/pb/text.lua",
        ["pb.wire"]          = "runtime/pb/wire.lua",
        ["pb.wkt"]           = "runtime/pb/wkt.lua",
    },
}