-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
133 lines (110 loc) · 3.7 KB
/
Cargo.toml
File metadata and controls
133 lines (110 loc) · 3.7 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[package]
name = "jonmo"
version = "0.7.0"
edition = "2024"
categories = ["asynchronous", "gui", "game-development"]
description = "ergonomic Bevy-native reactivity powered by FRP signals"
exclude = ["assets/", ".github/", "crates/"]
keywords = ["reactive", "signals", "gamedev", "bevy"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/databasedav/jonmo"
documentation = "https://docs.rs/jonmo"
[dependencies]
bevy_app = { version = "0.18", default-features = false }
bevy_derive = { version = "0.18", default-features = false }
bevy_diagnostic = { version = "0.18", default-features = false }
bevy_ecs = { version = "0.18", default-features = false }
bevy_platform = { version = "0.18", default-features = false }
bevy_log = { version = "0.18", default-features = false, optional = true }
bevy_time = { version = "0.18", default-features = false, optional = true }
enclose = "1.2"
dyn-clone = "1.0"
apply = "=0.3.0" # locked because last released in 2020
cfg-if = "1.0"
document-features = { version = "0.2", optional = true }
[features]
default = ["builder", "tracing", "time", "std"]
## Enables access to jonmo's high-level entity builder, [`jonmo::Builder`](https://docs.rs/jonmo/latest/jonmo/builder/struct.Builder.html).
builder = []
## Enables access to signal ext `.debug` methods, which conveniently logs signal outputs at any step.
tracing = ["bevy_log"]
## Enables access to [`SignalExt::throttle`](https://docs.rs/jonmo/latest/jonmo/signal/trait.SignalExt.html#method.throttle), which delays subsequent outputs by some `Duration`.
time = ["bevy_time"]
## `DebugUiPlugin` which enables toggling [`bevy_dev_tools::ui_debug_overlay::DebugUiPlugin`](https://docs.rs/bevy/latest/bevy/dev_tools/ui_debug_overlay/struct.DebugUiPlugin.html) with the `F1` key; requires a camera to be marked with the [`IsDefaultCamera`](https://docs.rs/bevy/latest/bevy/prelude/struct.IsDefaultUiCamera.html#) component.
debug = ["bevy/bevy_ui_debug"]
## Uses the Rust standard library.
std = [
"bevy_app/std",
"bevy_ecs/std",
"bevy_platform/std",
"bevy_time?/std",
]
## Rely on `critical-section` for synchronization primitives.
critical-section = [
"bevy_app/critical-section",
"bevy_ecs/critical-section",
"bevy_platform/critical-section",
"bevy_time?/critical-section",
]
## Enables access to browser APIs in a web context.
web = [
"bevy_app/web",
"bevy_platform/web",
]
deployed_wasm_example = []
[dev-dependencies]
bevy = { version = "0.18", features = ["track_location"] }
rand = "0.9"
test-log = { version = "0.2", default-features = false, features = ["trace"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
[lints.clippy]
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
alloc_instead_of_core = "warn"
[package.metadata.cargo-all-features]
allowlist = [
"builder",
"tracing",
"time",
"debug",
"std",
"critical-section",
"web",
]
[package.metadata.docs.rs]
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
all-features = true
[[example]]
name = "basic"
path = "examples/basic.rs"
doc-scrape-examples = true
[[example]]
name = "basic_builder"
path = "examples/basic_builder.rs"
doc-scrape-examples = true
[[example]]
name = "basic_builder_inject"
path = "examples/basic_builder_inject.rs"
doc-scrape-examples = true
[[example]]
name = "counter"
path = "examples/counter.rs"
doc-scrape-examples = true
[[example]]
name = "lifetimes"
path = "examples/lifetimes.rs"
doc-scrape-examples = true
[[example]]
name = "letters"
path = "examples/letters.rs"
doc-scrape-examples = true
[[example]]
name = "utils"
path = "examples/utils.rs"
doc-scrape-examples = true
crate-type = ["lib"]