#windowing #display #graphics

maylib

A rust-native raylib alternative with multiple window support

6 releases

Uses new Rust 2024

new 0.2.4 Mar 31, 2025
0.2.3 Mar 31, 2025
0.1.0 Mar 30, 2025

#590 in GUI

Download history 446/week @ 2025-03-26

446 downloads per month

MPL-2.0 license

230KB
844 lines

MayLib

Multi-Window Raylib

Crates.io Downloads (latest version) GitHub forks Crates.io Version

Maylib Logo

I made multi-window raylib because I needed multiple windows in raylib.

While Maylib is based on raylib, it is not a fork. I just used raylib as a reference

TODOS

  • Possibly Migrate to gfx rendering
  • add more image utilities

Features

  • Supports mp3, wav, vorbis, flac, and aac audio.
  • Supports .png, .jpg, .tiff, and .webp images
  • Supports .ttf fonts

Build

Requirements

  • Cargo
  • Vcpkg
  • pkg-config
  • sdl2
  • sdl2-ttf
  • sdl2-gfx
  • sdl2-image

note that libraries like sdl2, sdl2-ttf, etc. need to be installed for the triplet you are building for also note that cargo test must be run with the --test-threads 1 argument. This is because sdl will crash if you have multiple instances in one process

Dependencies

~24–55MB
~1M SLoC