Laya is a work-in-progress server implementation of the IIIF Image API (version 3.0) with an emphasis on safety, performance, and spec-conformance.
Coming soon™
- Linux or WSL2 (kernel version 5.8 or above), with
io_uring
enabled. - Rust 1.80 (the project builds on stable, but nightly is used for
rustfmt
).
During development: cargo check
(or cargo build
to produce binaries).
For an optimized build: cargo build --release
.
Before committing:
cargo build
cargo clippy --workspace --all-targets --all-features -- -Dwarnings
cargo +nightly fmt --all
Laya is dual-licensed under Apache 2.0 and MIT.
openjp2-rs, a Rust port of OpenJPEG, is included as a subtree and is released under 2-Clause BSD.