2019-09-26 16:07:30 +10:00
|
|
|
[package]
|
|
|
|
name = "pixels"
|
|
|
|
description = "A tiny library providing a GPU-powered pixel frame buffer."
|
2019-11-20 16:27:55 +11:00
|
|
|
version = "0.0.3"
|
2019-09-26 16:07:30 +10:00
|
|
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
|
|
|
edition = "2018"
|
|
|
|
repository = "https://github.com/parasyte/pixels"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["pixels", "2D", "GPU", "framebuffer"]
|
|
|
|
categories = ["graphics", "rendering"]
|
|
|
|
license = "MIT"
|
2019-11-03 16:44:10 +11:00
|
|
|
include = [
|
|
|
|
"/Cargo.*",
|
|
|
|
"/LICENSE",
|
|
|
|
"/README.md",
|
|
|
|
"/img/pixels.png",
|
|
|
|
"/shaders/*.spv",
|
|
|
|
"/src/**/*",
|
|
|
|
]
|
2019-09-26 16:07:30 +10:00
|
|
|
|
2019-11-04 11:55:17 +11:00
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "parasyte/pixels" }
|
2019-11-04 17:12:56 +11:00
|
|
|
maintenance = { status = "actively-developed" }
|
2019-11-04 11:55:17 +11:00
|
|
|
|
2019-09-26 16:07:30 +10:00
|
|
|
[dependencies]
|
2019-11-04 17:07:57 +11:00
|
|
|
wgpu = "0.4"
|
2019-09-26 16:07:30 +10:00
|
|
|
|
2019-11-20 14:37:36 +11:00
|
|
|
# These are only used by the examples, and enabled with features
|
|
|
|
# See: https://github.com/rust-lang/cargo/issues/1982
|
2019-11-20 14:58:21 +11:00
|
|
|
beryllium = { version = " 0.1", optional = true }
|
2019-11-20 14:37:36 +11:00
|
|
|
byteorder = { version = "1.3", optional = true }
|
|
|
|
env_logger = { version = "0.7", optional = true }
|
|
|
|
getrandom = { version = "0.1", optional = true }
|
|
|
|
gilrs = { version = "0.7", optional = true }
|
|
|
|
line_drawing = { version = "0.8", optional = true }
|
|
|
|
log = { version = "0.4", features = ["release_max_level_warn"], optional = true }
|
|
|
|
randomize = { version = "3.0", optional = true }
|
|
|
|
simple-invaders = { path = "simple-invaders", optional = true }
|
|
|
|
winit = { version = "0.20.0-alpha4", optional = true }
|
|
|
|
winit_input_helper = { version = "0.4.0-alpha4", optional = true }
|
|
|
|
|
2019-09-26 16:07:30 +10:00
|
|
|
[dev-dependencies]
|
2019-10-02 12:31:18 +10:00
|
|
|
pixels-mocks = { path = "pixels-mocks" }
|
2019-10-21 11:32:11 +11:00
|
|
|
winit = "0.20.0-alpha4"
|
2019-11-20 14:37:36 +11:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "conway"
|
|
|
|
required-features = ["conway"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "invaders"
|
|
|
|
required-features = ["invaders"]
|
|
|
|
|
2019-11-20 14:58:21 +11:00
|
|
|
[[example]]
|
|
|
|
name = "minimal-sdl2"
|
|
|
|
required-features = ["minimal-sdl2"]
|
|
|
|
|
2019-11-20 14:37:36 +11:00
|
|
|
[[example]]
|
|
|
|
name = "minimal-winit"
|
|
|
|
required-features = ["minimal-winit"]
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
log-deps = ["env_logger", "log"]
|
|
|
|
random-deps = ["byteorder", "getrandom", "randomize"]
|
2019-11-20 14:58:21 +11:00
|
|
|
sdl2-deps = ["beryllium"]
|
2019-11-20 14:37:36 +11:00
|
|
|
winit-deps = ["winit", "winit_input_helper"]
|
|
|
|
|
|
|
|
conway = ["line_drawing", "log-deps", "random-deps", "winit-deps"]
|
|
|
|
invaders = ["gilrs", "log-deps", "random-deps", "simple-invaders", "winit-deps"]
|
2019-11-20 14:58:21 +11:00
|
|
|
minimal-sdl2 = ["log-deps", "sdl2-deps"]
|
2019-11-20 14:37:36 +11:00
|
|
|
minimal-winit = ["log-deps", "winit-deps"]
|
2019-10-02 12:31:18 +10:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"pixels-mocks",
|
2019-10-05 15:48:29 +10:00
|
|
|
"simple-invaders",
|
2019-10-02 12:31:18 +10:00
|
|
|
]
|