1 unstable release

0.1.0 Sep 28, 2020

#2014 in Game dev

MIT/Apache

42KB
222 lines

LEd-rs

This is a simple parser for the LEd file format written in Rust. See https://deepnight.net/tools/led-2d-level-editor/.

It is written to support the app version 0.2.1, JSON version 1.

No guarantees about compatibilty or ongoing support are made :D

Limitations

  • defs are not parsed
  • most "API" functions are not included

Usage

The library isn't currently on crates.io. Add to your cargo.toml

led-rs = { git = "https://github.com/will-hart/led-rs" }

See the examples folder for some example usage or run the examples with

cargo run --example parse_sample

LICENSE

MIT / Apache

Dependencies

~0.8–1.7MB
~37K SLoC