mirl-3.2.0 has been yanked.
Mirl
Miners Rust Lib – A library with a little bit of everything:
- Math functions
- Graphics / color manipulation
- Buffer rendering (Text, Lines, Triangles, Blocks, Circles, Images)
- Console functions
- Dynamic window/rendering system
- Supported: MiniFB (Full), GLFW (Mostly)
- Screenshots and other window manipulations
- Rust extensions (e.g.,
.is_number(),.sign(),.average(), comparing tuples – functionality that should be built-in) - U1, U2, U4 with num-traits support (More to come)
Compatibility
| Platform | Status | Info |
|---|---|---|
| Windows | ✅ Full | Native implementation |
| Linux | ⚠️ Partial | system flag not supported |
| macOS | 🚧 Barely | Untested |
| Web | ⚠️ Partial | GLFW and MiniFB backends are automatically disabled |
Features
Default (disabled with default-features = false)
texture_manager_cleanup– Adds extra cleanup logic for 'automatic' texture unloading
Optional
imagery– Enables support for theimagecrate for image loadingsvg_support– Enables SVG rendering via theresvgandtempfilecrates (used for things like cursor support)wayland– Placeholder for Linux Wayland support (not yet implemented)minifb_backend– Enables the framework backend usingminifband requires low-level system accessglfw_backend– Enables the framework backend usingglfw, OpenGL, and requires low-level system accessfont_support– Adds support forfontdueandonce_cellfor font renderingsystem– Low-level system interaction using platform-specific crates (x11,windows,winapi,raw-window-handle)full_backend_support– Enables all major backends:minifb_backend,glfw_backend,svg_support, andico_supportall– Enables all commonly used features:default,imagery, andfull_backend_support
Hi there
What brought you to this place?
This is just a little big lib I built for easy function/struct reusability.
You can find the most random yet oddly specific things here. Enjoy! Or don't, honestly...