-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (74 loc) · 2.04 KB
/
Cargo.toml
File metadata and controls
86 lines (74 loc) · 2.04 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
[package]
name = "bevy_flurx"
version = "0.14.1"
edition = "2021"
authors = ["notelm <elmprograminfo@gmail.com>"]
categories = ["asynchronous", "game-development", "no-std"]
description = "Allows you to use coroutine in Bevy"
keywords = ["game", "gamedev", "bevy", "async", "no_std"]
license = "MIT OR Apache-2.0"
exclude = ["assets/", "docs/"]
readme = "README.md"
repository = "https://github.com/not-elm/bevy_flurx"
[[bench]]
name = "single"
path = "benches/single.rs"
harness = false
[[bench]]
name = "repeat"
path = "benches/repeat.rs"
harness = false
[[example]]
name = "side_effect"
path = "examples/side_effect.rs"
required-features = ["tokio", "side-effect"]
[[example]]
name = "undo_redo"
path = "examples/undo_redo.rs"
required-features = ["record"]
[[example]]
name = "switch_just_change"
path = "examples/bug_check/switch_just_change.rs"
[dependencies]
bevy = { version = "0.18", default-features = false }
futures-polling = "0.1"
futures-lite = "2"
pollster = "0.4"
pin-project = "1"
itertools = "0.14"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", optional = true, features = [
"sync",
"time",
"rt-multi-thread",
] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-compat = { version = "0.2", optional = true }
[dev-dependencies]
bevy = { version = "0.18" }
bevy_test_helper = { git = "https://github.com/not-elm/bevy_test_helper", branch = "v0.18" }
futures = "0.3"
criterion = { version = "0.8", features = ["plotters", "html_reports"] }
[features]
default = []
audio = ["bevy/bevy_audio", "bevy/bevy_asset"]
tokio = ["dep:tokio", "dep:async-compat"]
record = []
side-effect = []
state = ["bevy/bevy_state"]
std = ["bevy/std"]
serialize = ["bevy/serialize"]
[lints.clippy]
type_complexity = "allow"
doc_markdown = "warn"
manual_let_else = "warn"
undocumented_unsafe_blocks = "warn"
redundant_else = "warn"
match_same_arms = "warn"
semicolon_if_nothing_returned = "warn"
[lints.rust]
missing_docs = "warn"
[package.metadata.docs.rs]
all-features = true
no-default-features = true
rustdoc-args = ["--cfg", "docsrs"]