pixels/Cargo.toml

79 lines
2.1 KiB
TOML
Raw Normal View History

[package]
name = "pixels"
description = "A tiny library providing a GPU-powered pixel frame buffer."
2019-11-04 17:28:00 +11:00
version = "0.0.2"
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"
include = [
"/Cargo.*",
"/LICENSE",
"/README.md",
"/img/pixels.png",
"/shaders/*.spv",
"/src/**/*",
]
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
[dependencies]
wgpu = "0.4"
# 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 }
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 }
[dev-dependencies]
pixels-mocks = { path = "pixels-mocks" }
winit = "0.20.0-alpha4"
[[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"]
[[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"]
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"]
minimal-winit = ["log-deps", "winit-deps"]
[workspace]
members = [
"pixels-mocks",
"simple-invaders",
]