-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (73 loc) · 1.96 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "game-of-life"
version = "0.1.10"
edition = "2021"
description = "Conway's Game of Life in Bevy."
authors = ["Martin Green"]
keywords = ["game", "bevy"]
categories = ["games"]
readme = "README.md"
license = "MIT OR Apache-2.0"
[dependencies.bevy]
version = "0.14.1"
default-features = false
# <https://github.com/bevyengine/bevy/blob/v0.14.1/docs/cargo_features.md>
features = [
"bevy_asset",
"bevy_core_pipeline",
"bevy_render",
"bevy_sprite",
"bevy_state",
"bevy_text",
"bevy_ui",
"bevy_winit",
"default_font",
"multi_threaded",
"png",
"subpixel_glyph_atlas",
"webgl2",
"wayland"
]
# <https://github.com/rust-lang/cargo/issues/1197#issuecomment-1641086954>
#[target.'cfg(not(target_family = "wasm"))'.dependencies.bevy]
#version = "0.11"
#default-features = false
#features = ["dynamic_linking"]
[dependencies]
#bevy_pixel_camera = "0.13.0"
bevy_pixel_camera = { git = "https://github.com/drakmaniso/bevy_pixel_camera", rev = "refs/pull/37/head" }
bevy_framepace = "0.17.1"
console_error_panic_hook = "0.1"
ordered-float = "4.1.0"
priority-queue = "2.1.1"
ahash = "0.8.4"
bevy_egui = { version = "0.29.0", default-features = false, features = ["default_fonts", "render"] }
egui_extras = "0.28.1"
[profile.dev]
opt-level = 0
[profile.dev.package."*"]
opt-level = 3
#
# The default 'release' profile is optimized for Wasm builds because that's what
# Trunk [currently reads](https://github.com/trunk-rs/trunk/issues/605).
#
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
strip = "debuginfo"
[profile.release-native]
inherits = "release"
opt-level = 3
strip = "none"
[lints.rust]
unsafe_code = "forbid"
rust_2018_idioms = { level = "deny", priority = -1 }
[lints.clippy]
disallowed_types = "deny"
missing_enforced_import_renames = "deny"
pedantic = { level = "warn", priority = -1 }
needless_pass_by_value = "allow"
module_name_repetitions = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"