-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (48 loc) · 1.78 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
[package]
name = "sample"
version = "0.1.0"
authors = ["Andra Antariksa <[email protected]>"]
edition = "2018"
resolver = "2"
[workspace]
members = [
"tempeh-engine/tempeh-core",
"tempeh-engine/tempeh-core/codegen",
"tempeh-engine/tempeh-core-component",
"tempeh-engine/tempeh-engine",
"tempeh-engine/tempeh-window-winit",
"tempeh-engine/tempeh-window",
"tempeh-engine/tempeh-renderer",
"tempeh-engine/tempeh-ecs",
"tempeh-engine/tempeh-math",
"tempeh-engine/tempeh-filesystem",
"tempeh-editor",
"tempeh-lib/tempeh-mono",
"tempeh-lib/tempeh-mono-sys",
"tempeh-lib/tempeh-miniaudio",
"tempeh-lib/tempeh-miniaudio-sys",
"examples/hello-world"
]
[dependencies]
tempeh-core = { version = "0.1.0", path = "tempeh-engine/tempeh-core" }
tempeh-core-component = { version = "0.1.0", path = "tempeh-engine/tempeh-core-component" }
tempeh-renderer = { version = "0.1.0", path = "tempeh-engine/tempeh-renderer" }
tempeh-math = { version = "0.1.0", path = "tempeh-engine/tempeh-math" }
tempeh-ecs = { version = "0.1.0", path = "tempeh-engine/tempeh-ecs" }
tempeh-window-winit = { version = "0.1.0", path = "tempeh-engine/tempeh-window-winit" }
tempeh-window = { version = "0.1.0", path = "tempeh-engine/tempeh-window" }
tempeh-log = { version = "0.1.0", path = "tempeh-engine/tempeh-log" }
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = { version = "0.3.0", features = ["logger"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = "0.3.53"
[package.metadata.android]
build_targets = ["aarch64-linux-android"] #"armv7-linux-androideabi", , "x86_64-linux-android"
assets = "assets"
[[example]]
name = "sample"
path = "examples/sample.rs"
[[example]]
name = "sample_android"
path = "examples/sample.rs"
crate-type = ["cdylib"]