-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
Cargo.toml
52 lines (46 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
name = "coffee"
version = "0.4.1"
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
edition = "2018"
description = "An opinionated 2D game engine focused on simplicity, explicitness, and type-safety"
license = "MIT"
repository = "https://github.com/hecrj/coffee"
documentation = "https://docs.rs/coffee"
readme = "README.md"
keywords = ["game", "engine", "2D", "graphics", "coffee"]
categories = ["game-engines"]
exclude = ["images/*"]
[package.metadata.docs.rs]
features = ["opengl", "debug"]
[features]
default = []
opengl = ["gfx", "gfx_core", "glutin", "gfx_device_gl", "gfx_glyph"]
vulkan = ["wgpu", "wgpu_glyph", "zerocopy", "futures"]
metal = ["wgpu", "wgpu_glyph", "zerocopy", "futures"]
dx11 = ["wgpu", "wgpu_glyph", "zerocopy", "futures"]
dx12 = ["wgpu", "wgpu_glyph", "zerocopy", "futures"]
debug = []
[dependencies]
image = "0.21"
nalgebra = "0.18"
rayon = "1.0"
stretch = "0.2"
twox-hash = "1.3"
lyon_tessellation = "0.13"
gilrs = "0.7"
winit = "0.22"
# gfx (OpenGL)
gfx = { version = "0.18", optional = true }
gfx_core = { version = "0.9", optional = true }
gfx_device_gl = { version = "0.16", optional = true }
gfx_glyph = { version = "0.15", optional = true }
glutin = { version = "0.24", optional = true }
# wgpu (Vulkan, Metal, D3D)
wgpu = { version = "0.5", optional = true }
wgpu_glyph = { version = "0.8", optional = true }
zerocopy = { version = "0.3", optional = true }
futures = { version = "0.3", optional = true }
[dev-dependencies]
rand = "0.6"
env_logger = "0.6"