-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
70 lines (58 loc) · 1.4 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
[package]
name = "bevy_verlet"
version = "0.9.0"
edition = "2021"
authors = ["Felix de Maneville <[email protected]>"]
repository = "https://github.com/ManevilleF/bevy_verlet"
license-file = "./LICENSE"
exclude = ["docs", ".github"]
description = "Verlet physics implementation in bevy"
keywords = ["verlet", "physics", "bevy", "cloth"]
categories = ["game-engines", "game-development"]
readme = "README.md"
documentation = "https://docs.rs/bevy_verlet"
[features]
default = []
debug = ["bevy/bevy_gizmos", "bevy/bevy_render"]
[dependencies]
[dependencies.bevy]
version = "0.14"
default-features = false
[dev-dependencies]
[dev-dependencies.bevy]
version = "0.14"
features = [
"bevy_render",
"bevy_winit",
"bevy_color",
"bevy_core_pipeline",
"bevy_sprite",
"bevy_pbr",
"x11",
"multi_threaded",
"tonemapping_luts",
# Faster compilation
"dynamic_linking",
]
default-features = false
[[example]]
name = "2d_cloth"
required-features = ["debug"]
[[example]]
name = "2d_cloth_cutter"
required-features = ["debug"]
[[example]]
name = "2d_line"
required-features = ["debug"]
[[example]]
name = "3d_cloth"
required-features = ["debug"]
[[example]]
name = "3d_line"
required-features = ["debug"]
# Enable only 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