lingxia-macro 0.5.1

Procedural macros for LingXia host extensions
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 27.84 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 349.03 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • butterflyfish

lingxia-macro

Procedural macros for registering LingXia host APIs.

What it provides

  • #[host("namespace.method")] for unary host handlers
  • #[host("namespace.method", stream)] for streaming host handlers

What the macro generates

  • A hidden HostHandler implementation
  • A hidden *_host() registration helper
  • Input decoding and result serialization glue for lxapp::host

Notes

This crate is internal infrastructure for LingXia host extensions. Most users consume it indirectly through the top-level lingxia or lingxia-shell crates.