-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
94 lines (76 loc) · 2.6 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "bevy_cobweb_ui"
description = "UI tools and widgets built on bevy_cobweb"
authors = ["koe <[email protected]>"]
version = "0.6.0"
edition = "2021"
keywords = ["gamedev", "reactive", "ui"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/UkoeHB/bevy_cobweb_ui"
[workspace]
members = ["examples/*", "crates/*"]
exclude = ["examples/*"]
[lib]
path = "src/lib.rs"
doctest = false
test = false
[[test]]
name = "tests"
path = "tests/test/mod.rs"
doctest = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
[features]
# Default features.
default = ["colors", "widgets"]
# Enables built-in colors.
colors = []
# Enables built-in assets. TODO: re-evaluate how to use this feature flag
#assets = []
# Enables built-in widgets.
widgets = ["colors"]
# Enables the built-in experimental COB editor.
editor = ["hot_reload", "colors", "widgets", "dep:foldhash"]
# Enables Serialize/Deserialize on some built-in types.
serde = ["bevy/serialize"]
# Enables hot-reloading. Note that `bevy/embedded_watcher` does not watch assets embedded in dependencies.
hot_reload = ["bevy/file_watcher", "bevy/embedded_watcher"]
# Dev features. Enables hot-reloading.
dev = ["hot_reload", "bevy/dynamic_linking"]
[dependencies]
bevy = { version = "0.15", default-features = true }
bevy_cobweb = { version = ">=0.14.3" }
derive_more = { version = "1.0" }
dyn-clone = { version = "1.0" }
memchr = { version = "2.7" }
nom = { version = "7.1" }
nom_locate = { version = "4.2" }
serde = { version = "1.0" }
smol_str = { version = "0.2" } # Locked to Bevy's smol_str version.
smallvec = { version = "1.13" }
thiserror = { version = "1.0" }
tracing = { version = "0.1" }
wasm-timer = { version = "0.2" }
# Localization deps
sys-locale = { version = "0.3" }
fluent = { version = "0.16" }
fluent-langneg = { version = "0.14" }
fluent_content = { version = "0.0.5" }
intl-memoizer = { version = "0.5" }
ron = { version = "0.8" }
serde_yaml = { version = "0.9" }
unic-langid = { version = "0.9" }
# Editor deps
foldhash = { version = "0.1.3", optional = true }
# Local sub-crates
bevy_cobweb_ui_derive = { path = "crates/bevy_cobweb_ui_derive", version = "0.3.0" }
cob_sickle_math = { path = "crates/sickle_math", version = "0.6.0" }
cob_sickle_macros = { path = "crates/sickle_macros", version = "0.6.0" }
cob_sickle_ui_scaffold = { path = "crates/sickle_ui_scaffold", version = "0.6.0" }
[dev-dependencies]
bevy = { version = "0.15.0", default-features = true, features = ["serialize"] }
tracing-subscriber = { version = "0.3" }
[profile.dev.package."*"]
opt-level = 2