-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
65 lines (53 loc) · 1.69 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
[package]
name = "bevy_collider_gen"
# don't manually edit this version unless you're sure you want to circumvent the process documented in RELEASE.md
version = "0.4.0"
edition = "2021"
homepage = "https://github.com/shnewto/bevy_collider_gen"
license = "MIT OR Apache-2.0"
repository = "https://github.com/shnewto/bevy_collider_gen"
description = "a library for generating colliders, for bevy apps, from images with transparency"
keywords = ["bevy", "rapier", "png", "collider", "2d"]
readme = "README.md"
exclude = ["assets/*", ".github/*", "examples/*"]
include = ["/LICENSE-APACHE", "/LICENSE-MIT", "/README.md", "/src/"]
[lints.clippy]
cast_precision_loss = { level = "allow", priority = 1 }
pedantic = { level = "warn", priority = 0 }
[features]
default = ["rapier2d", "parallel"]
avian2d = ["dep:avian2d"]
rapier2d = ["dep:bevy_rapier2d"]
parallel = ["edges/parallel"]
[dependencies]
image = { version = "0.25", default-features = false }
edges = "0.7"
bevy = { version = "0.15", default-features = false, features = ["bevy_image"] }
[dependencies.bevy_rapier2d]
version = "0.28"
optional = true
default-features = false
features = ["dim2", "headless"]
[dependencies.avian2d]
version = "0.2"
optional = true
default-features = false
features = ["2d", "parry-f32"]
[dev-dependencies]
bevy = "0.15"
bevy_prototype_lyon = "0.13"
indoc = "2"
[dev-dependencies.bevy_rapier2d]
version = "0.28"
features = ["debug-render-2d"]
[dev-dependencies.avian2d]
version = "0.2"
features = ["debug-plugin"]
[[example]]
name = "avian2d_colliders"
path = "examples/avian2d_colliders.rs"
required-features = ["avian2d"]
[[example]]
name = "rapier2d_colliders"
path = "examples/rapier2d_colliders.rs"
required-features = ["rapier2d"]