4 releases

0.3.3 Jun 16, 2024
0.3.2 Jun 16, 2024
0.3.1 Jan 1, 2024
0.3.0 Jan 1, 2024

#715 in Encoding

MIT license

580KB
15K SLoC

piccolo-util - Helper crate that makes using the piccolo crate easier.

This crate is not necessary to use piccolo, and is a place for things that are useful but may be more opinionated or limited than the core piccolo library.

Features

  • Adds support for "freezing" Rust values, which allows you to safely erase lifetimes from them and check at runtime that those values are not accessed past their actual lifetime.
  • Adds serde support for easy conversion of Rust data types to and from Lua.
  • Adds a way to quickly make a metatable of simple userdata methods and bind it to userdata.

Dependencies

~2.6–3.5MB
~57K SLoC