-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
41 lines (37 loc) · 818 Bytes
/
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
[package]
name = "rsnake"
version = "0.1.7"
edition = "2021"
description = "A Rust implementation of the classic Snake game."
license = "MIT"
repository = "https://github.com/ibveecnk/rsnake"
# Optimize release build
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"
[dependencies]
piston = "0.55.0"
piston2d-graphics = "0.44.0"
pistoncore-glutin_window = "0.72.0"
piston2d-opengl_graphics = "0.84.0"
piston_window = "0.131.0"
rand = "0.8.5"
# Enforce style
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
unwrap_used = "deny"
pedantic = "deny"
correctness = "deny"
suspicious = "deny"
complexity = "deny"
style = "deny"
missing_const_for_fn = "deny"
print_stdout = "deny"
print_stderr = "deny"
enum_glob_use = "deny"
nursery = "deny"
match-wild-err-arm = "warn"