2020-04-06 00:12:54 -07:00
|
|
|
[package]
|
|
|
|
name = "bevy_diagnostic"
|
2024-07-08 08:54:08 -04:00
|
|
|
version = "0.15.0-dev"
|
2021-10-27 00:12:14 +00:00
|
|
|
edition = "2021"
|
2020-08-09 17:24:27 -07:00
|
|
|
description = "Provides diagnostic functionality for Bevy Engine"
|
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
2021-07-23 21:11:51 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-09 17:24:27 -07:00
|
|
|
keywords = ["bevy"]
|
2020-04-06 00:12:54 -07:00
|
|
|
|
2023-01-22 20:41:28 +00:00
|
|
|
[features]
|
|
|
|
# Disables diagnostics that are unsupported when Bevy is dynamically linked
|
2023-01-23 14:28:00 +00:00
|
|
|
dynamic_linking = []
|
2024-02-28 15:00:42 -05:00
|
|
|
sysinfo_plugin = ["sysinfo"]
|
2020-06-28 00:45:35 -07:00
|
|
|
|
2020-04-06 00:12:54 -07:00
|
|
|
[dependencies]
|
2020-08-09 17:39:28 -07:00
|
|
|
# bevy
|
2024-07-08 08:54:08 -04:00
|
|
|
bevy_app = { path = "../bevy_app", version = "0.15.0-dev" }
|
|
|
|
bevy_core = { path = "../bevy_core", version = "0.15.0-dev" }
|
|
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.15.0-dev" }
|
|
|
|
bevy_time = { path = "../bevy_time", version = "0.15.0-dev" }
|
|
|
|
bevy_utils = { path = "../bevy_utils", version = "0.15.0-dev" }
|
|
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.15.0-dev" }
|
2022-12-26 15:16:46 +00:00
|
|
|
|
2024-01-20 18:42:51 +03:00
|
|
|
const-fnv1a-hash = "1.1.0"
|
|
|
|
|
2024-07-31 23:16:05 +02:00
|
|
|
# macOS
|
2022-12-26 15:16:46 +00:00
|
|
|
[target.'cfg(all(target_os="macos"))'.dependencies]
|
|
|
|
# Some features of sysinfo are not supported by apple. This will disable those features on apple devices
|
2024-07-31 16:06:52 +02:00
|
|
|
sysinfo = { version = "0.31.0", optional = true, default-features = false, features = [
|
2023-11-20 19:04:14 -06:00
|
|
|
"apple-app-store",
|
2024-07-31 16:06:52 +02:00
|
|
|
"system",
|
2022-12-26 15:16:46 +00:00
|
|
|
] }
|
|
|
|
|
2024-07-31 23:41:40 +02:00
|
|
|
# Only include when on linux/windows/android/freebsd
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android", target_os = "freebsd"))'.dependencies]
|
2024-07-31 16:06:52 +02:00
|
|
|
sysinfo = { version = "0.31.0", optional = true, default-features = false, features = [
|
|
|
|
"system",
|
|
|
|
] }
|
2023-11-18 14:58:48 -06:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|
2024-03-08 13:03:09 -07:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2024-07-30 01:10:16 +02:00
|
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
2024-03-08 13:03:09 -07:00
|
|
|
all-features = true
|