This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
/
Cargo.toml
76 lines (60 loc) · 1.8 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
[workspace]
members = ["core", "rapier", "macros", "debug"]
[package]
name = "heron"
version = "3.0.0"
rust-version = "1.60"
edition = "2021"
authors = ["Jonathan Cornaz"]
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"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["collision-from-mesh"]
collision-from-mesh = ["heron_core/collision-from-mesh"]
2d = ["heron_rapier/2d"]
3d = ["heron_rapier/3d", "heron_core/3d"]
debug-2d = ["2d", "heron_debug/2d"]
debug-3d = ["3d", "heron_debug/3d"]
enhanced-determinism = ["heron_rapier/enhanced-determinism"]
[dependencies]
heron_core = { version = "3.0.0", path = "core" }
heron_macros = { version = "3.0.0", path = "macros" }
heron_rapier = { version = "3.0.0", path = "rapier" }
heron_debug = { version = "3.0.0", path = "debug", optional = true }
bevy = { version = "0.8.0", default-features = false }
[dev-dependencies]
bevy = { version = "0.8.0", default-features = false, features=["bevy_sprite", "bevy_render", "bevy_core_pipeline", "x11", "bevy_pbr"] }
rstest = "0.16"
[build-dependencies]
cfg_aliases = "0.1.1"
[[example]]
name = "demo"
required-features = ["2d"]
[[example]]
name = "debug_2d"
required-features = ["debug-2d"]
[[example]]
name = "debug_3d"
required-features = ["debug-3d"]
[[example]]
name = "quickstart"
required-features = ["2d"]
[[example]]
name = "collision_shapes_in_child_entity"
required-features = ["debug-2d"]
[[example]]
name = "layers"
required-features = ["2d"]
[[example]]
name = "events"
required-features = ["2d"]
[[example]]
name = "ray_casting"
required-features = ["2d"]
[package.metadata.release]
tag = true