-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
66 lines (58 loc) · 1.83 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
[package]
name = "lavagna"
version = "2.1.9"
authors = ["Alessandro Pezzato <[email protected]>"]
edition = "2021"
description = "The uncluttered blackboard"
homepage = "https://github.com/alepez/lavagna"
repository = "https://github.com/alepez/lavagna"
readme = "README.md"
license = "MIT OR Apache-2.0"
include = ["src", "assets", "LICENSE*", "README.md"]
rust-version = "1.79"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies.bevy]
version = "0.14"
default-features = false
features = [
"bevy_asset",
"bevy_core_pipeline",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"bevy_winit",
"x11",
"png",
"webgl2",
"multi_threaded",
]
[dependencies]
bevy_embedded_assets = "0.11"
bevy_framepace = "0.17"
bevy_pancam = "0.12"
bevy_prototype_lyon = "0.12"
bevy_matchbox = "0.10"
ciborium = "0.2"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
# Statically disable verbosity level for tracing, to avoid bloating the binary
log = { version = "0.4", features = ["max_level_debug", "release_max_level_error"] }
tracing = { version = "0.1", features = ["max_level_debug", "release_max_level_error"] }
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[features]
# Enabling this feature will enable dynamic linking of Bevy, for faster build
quick-build = ["bevy/dynamic_linking"]
# wasm only dependencies
[target.wasm32-unknown-unknown.dependencies]
tracing-wasm = "0.2"
tracing = "0.1"
web-sys = { version = "0.3", features = ["Window", "Location"] }
# dependencies for all other targets
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4", features = ["derive"] }