-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
62 lines (49 loc) · 1.67 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
[package]
name = "bevy_js"
version = "0.0.1"
edition = "2021"
description = "Prototype JavaScript integration in Bevy game engine"
exclude = ["assets/"]
keywords = ["bevy", "bevy_js", "deno", "gamedev", "javascript"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/Suficio/bevy_js_prototype"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
inspector = ["tide", "tide-websockets"]
[workspace]
members = ["crates/*"]
[workspace.dependencies]
# Bevy 0.9.0
# TODO(https://github.com/bevyengine/bevy/pull/6240) QueryState::new_with_state
# TODO(https://github.com/bevyengine/bevy/pull/5602) bevy_ecs: add untyped methods for inserting components and bundles
bevy = { git = "https://github.com/Suficio/bevy.git", rev = "ba5e4b5efbefd7f7d1c20088224ee975016d0867" }
deno_core = "0.155.0"
[dependencies]
bevy = { workspace = true }
deno_core = { workspace = true }
deno_console = "0.73.0"
serde_path_to_error = "0.1"
# Inspector dependencies
tide = { version = "0.16.0", default-features = false, features = ["h1-server"], optional = true }
tide-websockets = { version = "0.4.0", optional = true }
# Enable only 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
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "startup_system"
path = "examples/startup_system.rs"
[[example]]
name = "text"
path = "examples/text.rs"
[[example]]
name = "inspector"
path = "examples/inspector.rs"
required-features = ["inspector"]