Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_time/Cargo.toml
6595 views
1
[package]
2
name = "bevy_time"
3
version = "0.17.0-dev"
4
edition = "2024"
5
description = "Provides time functionality for Bevy Engine"
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/default"]
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 serialization support through `serde`.
24
serialize = ["dep:serde", "bevy_ecs/serialize", "bevy_platform/serialize"]
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
"serde?/std",
33
"bevy_reflect?/std",
34
"bevy_ecs/std",
35
"bevy_app/std",
36
"bevy_platform/std",
37
"dep:crossbeam-channel",
38
]
39
40
## `critical-section` provides the building blocks for synchronization primitives
41
## on all platforms, including `no_std`.
42
critical-section = [
43
"bevy_ecs/critical-section",
44
"bevy_platform/critical-section",
45
"bevy_reflect?/critical-section",
46
"bevy_app/critical-section",
47
]
48
49
[dependencies]
50
# bevy
51
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false }
52
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev", default-features = false }
53
bevy_reflect = { path = "../bevy_reflect", 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
56
# other
57
crossbeam-channel = { version = "0.5.0", default-features = false, features = [
58
"std",
59
], optional = true }
60
serde = { version = "1", features = [
61
"derive",
62
], default-features = false, optional = true }
63
log = { version = "0.4", default-features = false }
64
65
[lints]
66
workspace = true
67
68
[package.metadata.docs.rs]
69
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
70
all-features = true
71
72