#binary #llsd #string #structures #codebase #serialization #llsd-rs

llsd-rs

A Rust library for parsing and serializing LLSD (Linden Lab Structured Data) format

2 releases

Uses new Rust 2024

new 0.1.1 May 11, 2025
0.1.0 May 11, 2025

#1244 in Encoding

LGPL-2.1

73KB
2K SLoC

llsd-rs

A native Rust implementation of Linden Lab’s LLSD (Linden Lab Structured Data) serialization formats.

Features

  • Encode and decode LLSD types:
    • Undefined, Boolean, Integer, Real, String
    • URI, UUID, Date, Binary
    • Array and Map structures
  • Support for LLSD Binary, XML, National, and XML-RPC serialization
  • Zero-copy & allocation-minimal where possible
  • Inspired by and compatible with the Second Life viewer’s LLSD codebase

Installation

Execute cargo add llsd-rs

Dependencies

~4.5–6MB
~100K SLoC