-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathCargo.toml
51 lines (45 loc) · 1.21 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
[package]
name = "bevy-in-app"
version = "0.3.0"
authors = ["jinleili"]
edition = "2021"
rust-version = "1.78"
[lib]
crate-type = ["rlib", "staticlib", "cdylib"]
[features]
# default = ["bevy_debug_stepping"]
bevy_debug_stepping = ["bevy/bevy_debug_stepping"]
[dependencies]
libc = "*"
raw-window-handle = "0.6"
wgpu = "0.19"
bevy = { git = "https://github.com/bevyengine/bevy", rev = "ec01c2dc4562adb979cf5497a48b53efa8250901", features = [
# bevy = { path = "../bevy", features = [
"bevy_audio",
"bevy_sprite",
"bevy_winit",
"bevy_pbr",
"bevy_text",
"bevy_ui",
"tonemapping_luts",
"vorbis",
"png",
"bevy_debug_stepping",
], default-features = false }
bevy_tasks = { git = "https://github.com/bevyengine/bevy", rev = "ec01c2dc4562adb979cf5497a48b53efa8250901" }
uuid = { version = "1.7.0", features = ["v4"] }
log = "0.4"
[target.'cfg(target_os = "ios")'.dependencies]
core-graphics = "*"
objc = "*"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
jni = "0.21"
jni_fn = "0.1"
# 需要保持与 bevy 一致
ndk-sys = "0.4.1+23.1.7779620"
ndk = "0.7.0"
ndk-context = "*"
log-panics = "*"
[profile.dev]
opt-level = 1 # 1 for minimal optimization and good debugging.