mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
The [upstream](https://github.com/mrothNET/lunit) project is apparently unmaintained and unavailable in BCR. Since our Lua protobuf implementation is experimental and not being very actively developed, I think we might as well drop our lunit dependency and use simple `assert` statements instead. While I was at it I noticed we had some cases of multiple test functions with the same name, causing the later definitions to shadow earlier ones. We had two functions called `test_utf8()` that tested roughly the same thing, so I deleted one of them. We also had two functions named `test_string_double_map()`, but one of them was actually testing packed repeated fields, so I just renamed it. PiperOrigin-RevId: 741324780 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| def.c | ||
| lua_proto_library.bzl | ||
| main.c | ||
| msg.c | ||
| README.md | ||
| test.proto | ||
| test_upb.lua | ||
| upb.c | ||
| upb.h | ||
| upb.lua | ||
| upbc.cc | ||
upb Lua bindings
These are some bare-bones upb bindings for Lua.
These bindings exist primarily for experimentation and testing. They are incomplete and are not really intended for use in any application. This is by no means a complete or supported protobuf library, and in fact we don't even claim it to be functional.