[package]
edition = "2021"
rust-version = "1.88.0"
name = "mirl"
version = "9.0.2"
authors = ["Miner3D"]
build = "build.rs"
include = [
"Cargo.toml",
"license",
"src/**",
"README.md",
"CHANGELOG.md",
"RAW_CHANGELOG.md",
"build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miners Rust Lib - A massive collection of ever growing and changing functions, structs, and enums. Check the description for compatibility and toggleable features! (Most of the lib is controlled by flags/features so the lib can continue to be lightweight despite its size)"
readme = "README.md"
keywords = [
"utilities",
"graphics",
"windowing",
"extensions",
"system",
]
categories = [
"no-std",
"graphics",
"mathematics",
"rendering",
]
license = "MIT"
repository = "https://github.com/Miner3D-Gamer/mirl"
[features]
ahash = [
"dep:ahash",
"std",
]
all = [
"default",
"imagery",
"all_backends",
"discord",
"random",
"console",
"num_traits_with_std",
]
all_backends = [
"minifb",
"glfw",
"font_support",
"console",
]
console = ["dep:crossterm"]
cursor_show_hotspot = []
default = ["std"]
discord = [
"dep:serde_json",
"dep:reqwest",
"dep:serde",
"std",
]
font_support = [
"dep:fontdue",
"dep:once_cell",
"dep:font-kit",
"std",
"dep:parking_lot",
]
glfw = [
"dep:glfw",
"dep:gl",
"system",
"keycodes",
"std",
]
imagery = ["dep:image"]
keyboard_query = [
"dep:device_query",
"std",
]
keycodes = [
"dep:strum",
"dep:strum_macros",
"std",
]
minifb = [
"dep:minifb",
"system",
"keycodes",
"keyboard_query",
"svg",
"std",
]
miri = []
num_traits = ["dep:num-traits"]
num_traits_with_std = [
"num-traits/std",
"num_traits",
"std",
]
random = [
"dep:rand",
"std",
]
std = []
svg = [
"dep:resvg",
"dep:tempfile",
]
system = [
"x11",
"dep:windows",
"dep:winapi",
"dep:raw-window-handle",
"std",
]
test = ["dep:pastey"]
texture_manager_cleanup = ["std"]
[lib]
name = "mirl"
path = "src/lib.rs"
[dependencies.crossterm]
version = ">=0.29.0"
optional = true
[dependencies.fontdue]
version = ">=0.9.3"
optional = true
default-features = false
[dependencies.image]
version = ">=0.25.6"
optional = true
default-features = false
[dependencies.indexmap]
version = "2.12.1"
optional = true
[dependencies.num-traits]
version = ">=0.2"
features = ["std"]
optional = true
default-features = false
[dependencies.once_cell]
version = ">=1.4"
optional = true
default-features = false
[dependencies.parking_lot]
version = ">=0.12"
optional = true
default-features = false
[dependencies.pastey]
version = "0.2.1"
optional = true
[dependencies.raw-window-handle]
version = ">=0.6.2"
optional = true
default-features = false
[dependencies.resvg]
version = ">=0.45.1"
optional = true
default-features = false
[dependencies.serde]
version = ">=1.0"
optional = true
default-features = false
[dependencies.serde_json]
version = ">=1.0"
features = ["std"]
optional = true
default-features = false
[dependencies.strum]
version = ">=0.26"
optional = true
default-features = false
[dependencies.strum_macros]
version = ">=0.26"
optional = true
default-features = false
[build-dependencies.version_check]
version = "0.9"
[target.'cfg(all(any(not(target_os = "macos")), not(target_arch = "wasm32")))'.dependencies.minifb]
version = ">=0.28.0"
optional = true
[target.'cfg(all(not(target_os = "linux"), not(target_arch = "wasm32")))'.dependencies.font-kit]
version = "0.11"
features = ["source"]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ahash]
version = ">=0.8.12"
features = ["std"]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.device_query]
version = ">=4.0.0"
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.gl]
version = "0.14.0"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glfw]
version = "0.51.0"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = ">=0.9.2"
features = ["thread_rng"]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = ">=0.12"
features = [
"json",
"blocking",
]
optional = true
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tempfile]
version = ">=3"
optional = true
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = ">=0.3"
features = ["Window"]
[target.'cfg(target_os = "linux")'.dependencies.x11]
version = ">=2.18.0"
optional = true
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3"
features = [
"winuser",
"wingdi",
"shellapi",
"libloaderapi",
"minwindef",
"windef",
]
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.48"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Diagnostics_Debug",
"Win32_System_SystemInformation",
"Win32_System_Power",
"Win32_System_Threading",
"Win32_System_LibraryLoader",
"Win32_System_Com",
"Win32_UI_Shell",
"Win32_System_Memory",
]
optional = true
[profile.release]
lto = true