forked from jcornaz/heron
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
55 lines (45 loc) · 1.29 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
[workspace]
members = ["core", "debug", "rapier", "macros"]
[package]
name = "heron"
version = "0.8.0" # auto-version
authors = ["Jonathan Cornaz"]
edition = "2018"
license = "MIT"
description = "An ergonomic physics API for 2d and 3d bevy games. (powered by rapier)"
repository = "https://github.com/jcornaz/heron/"
keywords = ["game", "gamedev", "physics", "collision", "bevy"]
categories = ["game-development", "simulation"]
[features]
default = ["3d"]
2d = ["heron_rapier/2d", "heron_debug/2d"]
3d = ["heron_rapier/3d", "heron_debug/3d"]
debug = ["heron_debug"]
[dependencies]
heron_core = { version = "^0.8.0", path = "core" }
heron_macros = { version = "^0.8.0", path = "macros" }
heron_rapier = { version = "^0.8.0", path = "rapier" }
heron_debug = { version = "^0.8.0", path = "debug", optional = true }
bevy = { version = "^0.5.0", default-features = false }
[dev-dependencies]
bevy = "0.5"
skeptic = "0.13"
rstest = "0.7"
[[example]]
name = "demo"
required-features = ["2d"]
[[example]]
name = "debug"
required-features = ["2d", "debug"]
[[example]]
name = "quickstart"
required-features = ["2d"]
[[example]]
name = "collision_shapes_in_child_entity"
required-features = ["2d", "debug"]
[[example]]
name = "layers"
required-features = ["2d"]
[[example]]
name = "events"
required-features = ["2d"]