-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
71 lines (63 loc) · 1.86 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[workspace]
members = [
".",
"xlock/bindings",
"xlock/mode",
]
[package]
name = "tetromino"
version = "0.2.2"
authors = ["Daniel Mueller <deso@posteo.net>"]
edition = "2021"
license = "GPL-3.0-or-later"
homepage = "https://github.com/d-e-s-o/tetromino"
repository = "https://github.com/d-e-s-o/tetromino.git"
readme = "README.md"
categories = [
"games",
"graphics",
"gui",
"rendering",
]
keywords = [
"2d",
"game",
"linux",
"opengl",
"tetris",
]
description = """
A graphical Tetris clone.
"""
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "tetromino_impl"
[features]
default = []
# Enable this feature to re-generate the OpenGL bindings. This is
# generally not relevant to users.
generate-opengl-bindings = ["gl_generator"]
# Enable code paths requiring a nightly toolchain. This feature is only
# meant to be used for testing and benchmarking purposes. The game
# itself is expected to work on stable.
nightly = []
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
incremental = false
panic = "abort"
[profile.bench]
debug = true
[build-dependencies]
gl_generator = {version = "0.14", optional = true, default-features = false}
grev = {version = "0.1.3", default-features = false}
[dependencies]
anyhow = {version = "1.0.72", default-features = false, features = ["std"]}
dirs = {version = "5.0", default-features = false}
glutin = {version = "0.32", default-features = false, features = ["glx", "x11"]}
image = {version = "0.25", default-features = false, features = ["png"]}
serde = {version = "1.0.182", default-features = false, features = ["derive", "std"]}
winit = {version = "0.30", default-features = false, features = ["rwh_06", "x11"]}
x11-dl = {version = "2.21.0", default-features = false}
toml = {version = "0.8.13", default-features = false, features = ["display", "parse"]}