[[bench]]
harness = false
name = "buffer_mut"
path = "benches/buffer_mut.rs"
[build-dependencies.cfg_aliases]
version = "0.2.0"
[dependencies.log]
version = "0.4.17"
[dependencies.raw_window_handle]
features = ["std"]
package = "raw-window-handle"
version = "0.6"
[dev-dependencies.colorous]
version = "1.0.12"
[dev-dependencies.criterion]
default-features = false
features = ["cargo_bench_support"]
version = "0.4.0"
[dev-dependencies.image]
default-features = false
features = ["jpeg"]
version = "0.25.0"
[dev-dependencies.web-time]
version = "1.0.0"
[dev-dependencies.winit]
version = "0.30.0"
[features]
default = ["kms", "x11", "x11-dlopen", "wayland", "wayland-dlopen"]
kms = ["bytemuck", "drm", "rustix"]
wayland = ["wayland-backend", "wayland-client", "wayland-sys", "memmap2", "rustix", "fastrand"]
wayland-dlopen = ["wayland-sys/dlopen"]
x11 = ["as-raw-xcb-connection", "bytemuck", "fastrand", "rustix", "tiny-xlib", "x11rb"]
x11-dlopen = ["tiny-xlib/dlopen", "x11rb/dl-libxcb"]
[lib]
name = "softbuffer"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["game-development", "graphics", "gui", "multimedia", "rendering"]
description = "Cross-platform software buffer"
documentation = "https://docs.rs/softbuffer"
edition = "2021"
exclude = ["examples"]
keywords = ["framebuffer", "windowing"]
license = "MIT OR Apache-2.0"
name = "softbuffer"
readme = "README.md"
repository = "https://github.com/rust-windowing/softbuffer"
rust-version = "1.70.0"
version = "0.4.6"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.as-raw-xcb-connection]
optional = true
version = "1.0.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.bytemuck]
optional = true
version = "1.12.3"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.drm]
default-features = false
optional = true
version = "0.12.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.fastrand]
optional = true
version = "2.0.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.memmap2]
optional = true
version = "0.9.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.rustix]
default-features = false
features = ["fs", "mm", "shm", "std"]
optional = true
version = "0.38.19"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.tiny-xlib]
optional = true
version = "0.2.1"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.wayland-backend]
features = ["client_system"]
optional = true
version = "0.3.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.wayland-client]
optional = true
version = "0.31.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.wayland-sys]
optional = true
version = "0.31.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dependencies.x11rb]
features = ["allow-unsafe-code", "shm"]
optional = true
version = "0.13.0"
[target.'cfg(all(unix, not(any(target_vendor = "apple", target_os = "android", target_os = "redox"))))'.dev-dependencies.rustix]
features = ["event"]
version = "0.38.8"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rayon]
version = "1.5.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.63"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.86"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["CanvasRenderingContext2d", "Document", "Element", "HtmlCanvasElement", "ImageData", "OffscreenCanvas", "OffscreenCanvasRenderingContext2d", "Window"]
version = "0.3.55"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(target_os = "redox")'.dependencies.redox_syscall]
version = "0.5"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Graphics_Gdi", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
version = "0.59.0"
[target.'cfg(target_vendor = "apple")'.dependencies.bytemuck]
features = ["extern_crate_alloc"]
version = "1.12.3"
[target.'cfg(target_vendor = "apple")'.dependencies.core-graphics]
version = "0.24.0"
[target.'cfg(target_vendor = "apple")'.dependencies.foreign-types]
version = "0.5.0"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.5.2"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
features = ["NSDictionary", "NSGeometry", "NSKeyValueObserving", "NSString", "NSThread", "NSValue"]
version = "0.2.2"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-quartz-core]
features = ["CALayer", "CATransaction"]
version = "0.2.2"