Pyxel is a library for loading PyxelEdit documents in Rust. Current only the latest (v0.4.8) version of PyxelEdit is officially supported.
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.
The following features are available:
images
— Can be used to automatically load layer and tileset images within the Pyxel document usingimage
.