Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_state/Cargo.toml
6592 views
1
[package]
2
name = "bevy_state"
3
version = "0.17.0-dev"
4
edition = "2024"
5
description = "Finite state machines for Bevy"
6
homepage = "https://bevy.org"
7
repository = "https://github.com/bevyengine/bevy"
8
license = "MIT OR Apache-2.0"
9
keywords = ["bevy"]
10
11
[features]
12
default = ["std", "bevy_reflect", "bevy_app"]
13
14
# Functionality
15
16
## Adds runtime reflection support using `bevy_reflect`.
17
bevy_reflect = [
18
"dep:bevy_reflect",
19
"bevy_ecs/bevy_reflect",
20
"bevy_app?/bevy_reflect",
21
]
22
23
## Adds integration with the `bevy_app` plugin API.
24
bevy_app = ["dep:bevy_app"]
25
26
# Platform Compatibility
27
28
## Allows access to the `std` crate. Enabling this feature will prevent compilation
29
## on `no_std` targets, but provides access to certain additional features on
30
## supported platforms.
31
std = [
32
"bevy_ecs/std",
33
"bevy_reflect?/std",
34
"bevy_app?/std",
35
"bevy_platform/std",
36
]
37
38
## `critical-section` provides the building blocks for synchronization primitives
39
## on all platforms, including `no_std`.
40
critical-section = [
41
"bevy_ecs/critical-section",
42
"bevy_app?/critical-section",
43
"bevy_reflect?/critical-section",
44
"bevy_platform/critical-section",
45
]
46
47
[dependencies]
48
# bevy
49
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev", default-features = false }
50
bevy_state_macros = { path = "macros", version = "0.17.0-dev" }
51
bevy_utils = { path = "../bevy_utils", version = "0.17.0-dev", default-features = false }
52
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", default-features = false, optional = true }
53
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false, optional = true }
54
bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-features = false }
55
variadics_please = "1.1"
56
57
# other
58
log = { version = "0.4", default-features = false }
59
60
[lints]
61
workspace = true
62
63
[package.metadata.docs.rs]
64
rustdoc-args = ["-Zunstable-options"]
65
all-features = true
66
67