diff --git a/tarantool-protobuf-scm-1.rockspec b/tarantool-protobuf-scm-1.rockspec new file mode 100644 index 0000000000000000000000000000000000000000..45e9c087b7df9182cf7e6b08521adc02d296d4aa --- /dev/null +++ b/tarantool-protobuf-scm-1.rockspec @@ -0,0 +1,45 @@ +package = "tarantool-protobuf" +version = "scm-1" + +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 ", +} + +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", + }, +}