softbuffer/Cargo.toml

55 lines
1.7 KiB
TOML
Raw Normal View History

2022-01-15 08:17:17 -06:00
[package]
name = "softbuffer"
version = "0.1.1"
2022-01-15 08:17:17 -06:00
edition = "2021"
authors = ["David Johnson <john01dav@gmail.com>"]
license = "MIT OR Apache-2.0"
2022-01-16 09:02:22 -06:00
description = "Softbuffer integrates with the raw-window-handle crate to allow writing to a window in a cross-platform way while using the very high quality dedicated window management libraries that are available in the Rust ecosystem."
documentation = "https://docs.rs/softbuffer"
readme = "README.md"
homepage = "https://github.com/john01dav/softbuffer"
repository = "https://github.com/john01dav/softbuffer"
keywords = ["framebuffer"]
categories = ["game-development", "graphics", "gui", "multimedia", "rendering"]
exclude = ["examples"]
2022-01-15 08:17:17 -06:00
[dependencies]
2022-01-16 08:59:29 -06:00
thiserror = "1.0.30"
2022-01-15 08:17:17 -06:00
raw-window-handle = "0.4.2"
[target.'cfg(target_os = "linux")'.dependencies]
2022-01-19 21:11:20 -06:00
tempfile = "3.3.0"
wayland-client = {version = "0.29", features = ["use_system_lib"], default_features = false}
2022-01-15 08:17:17 -06:00
x11-dl = "2.19.1"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.3.9"
2022-01-19 11:59:43 +09:00
[target.'cfg(target_os = "macos")'.dependencies]
2022-04-24 07:31:19 -07:00
cocoa = "0.24.0"
2022-01-19 11:59:43 +09:00
core-graphics = "0.22.3"
2022-04-24 07:31:19 -07:00
foreign-types = "0.3.0"
2022-01-19 11:59:43 +09:00
objc = "0.2.7"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.78"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.55"
features = ["CanvasRenderingContext2d", "Document", "Element", "HtmlCanvasElement", "ImageData", "Window"]
2022-01-15 08:17:17 -06:00
[dev-dependencies]
2022-02-23 19:13:26 +11:00
instant = "0.1.12"
winit = "0.26.1"
2022-02-23 19:13:26 +11:00
[dev-dependencies.image]
version = "0.23.14"
# Disable rayon on web
default-features = false
features = ["jpeg"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
2022-01-31 22:03:48 -06:00
image = "0.23.14"
2022-04-24 07:31:19 -07:00
rayon = "1.5.1"