#pyxel #pyxeledit

pyxel

Pyxel is a library for loading PyxelEdit documents in Rust

4 releases

✓ Uses Rust 2018 edition

0.2.2 Jul 26, 2019
0.2.1 Mar 26, 2019
0.1.2 Mar 17, 2019

#7 in Encoding

47 downloads per month

MIT license

27KB
723 lines

Pyxel

Build Status Crates.io Docs License

Pyxel is a library for loading PyxelEdit documents in Rust. Current only the latest (v0.4.8) version of PyxelEdit is officially supported.

Usage

Add this to your Cargo.toml:

[dependencies]
pyxel = "0.2.1"

Then open a .pyxel file like this:

let doc = pyxel::open("resources/doc.pyxel")?;

See the docs for more information.

Optional Features

The following features are available:

  • images — Can be used to automatically load layer and tileset images within the Pyxel document using image.

License

MIT

Dependencies

~1.7–2.5MB
~54K SLoC