-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (46 loc) · 1.39 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
[package]
name = "avian_pickup"
version = "0.1.0"
authors = ["Jan Hohenheim <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
exclude = [
"/assets/",
"/docs/",
"/.github/",
]
repository = "https://github.com/janhohenheim/avian_pickup"
[features]
# Since this library does not make sense without also depending on `avian3d`,
# we are not replicating the `f32`, `f64`, `parry-f32`, and `parry-f64` features.
# If you want to use f64 precision, add `avian_pickup` with `default-features = false`
# and activate the f64-related features in `avian3d`.
default = ["avian3d/f32", "avian3d/parry-f32"]
serialize = [
"dep:serde",
"bevy/serialize",
"avian3d/serialize",
]
[dependencies]
rand = "0.8.5"
serde = { version = "1.0.210", optional = true}
[dependencies.bevy]
version = "0.14.2"
default-features = false
[dependencies.avian3d]
git = "https://github.com/Jondolf/avian"
default-features = false
features = [
"3d",
"default-collider",
]
[dev-dependencies]
avian3d = { git = "https://github.com/Jondolf/avian" }
bevy = { version = "0.14.2", features = ["dynamic_linking"] }
avian_interpolation3d = { git = "https://github.com/janhohenheim/avian_interpolation" }
# 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