mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
58 lines
1.5 KiB
TOML
58 lines
1.5 KiB
TOML
[package]
|
|
name = "minifb"
|
|
version = "0.16.0"
|
|
license = "MIT/Apache-2.0"
|
|
authors = ["Daniel Collin <daniel@collin.com>"]
|
|
description = "Cross-platform window setup with optional bitmap rendering"
|
|
keywords = ["windowing", "window", "framebuffer"]
|
|
categories = ["rendering"]
|
|
repository = "https://github.com/emoon/rust_minifb"
|
|
documentation = "https://docs.rs/minifb/0.15/minifb"
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
|
|
exclude = [
|
|
"resources/"
|
|
]
|
|
|
|
[badges]
|
|
maintenance = {status = "actively-developed"}
|
|
|
|
[dev-dependencies]
|
|
png = "0.16"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
|
|
[dependencies]
|
|
cast = "0.2"
|
|
time = "0.1.34"
|
|
raw-window-handle = "0.3.3"
|
|
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = [
|
|
"winuser",
|
|
"wingdi",
|
|
"libloaderapi",
|
|
"errhandlingapi"
|
|
]
|
|
|
|
[features]
|
|
default = ["wayland", "x11"]
|
|
x11 = ["x11-dl"]
|
|
wayland = ["wayland-client", "wayland-protocols", "wayland-cursor", "tempfile", "xkb", "xkbcommon-sys"]
|
|
|
|
[target.'cfg(not(any(target_os = "macos", target_os = "redox", windows)))'.dependencies]
|
|
wayland-client = {version = "0.25", optional = true}
|
|
wayland-protocols = { version = "0.25", features = ["client", "unstable_protocols"], optional = true }
|
|
wayland-cursor = {version = "0.25", optional = true}
|
|
tempfile = {version = "3.1.0", optional = true}
|
|
xkb = {version = "0.2.1", optional = true}
|
|
xkbcommon-sys = {version = "0.7", optional = true}
|
|
x11-dl = {version = "2.18.3", optional = true}
|
|
|
|
[target.x86_64-unknown-redox.dependencies]
|
|
orbclient = "0.3.20"
|