bevy/crates/bevy_diagnostic/Cargo.toml

47 lines
1.5 KiB
TOML
Raw Normal View History

2020-04-06 07:12:54 +00:00
[package]
name = "bevy_diagnostic"
version = "0.15.0-dev"
edition = "2021"
2020-08-10 00:24:27 +00:00
description = "Provides diagnostic functionality for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
Relicense Bevy under the dual MIT or Apache-2.0 license (#2509) This relicenses Bevy under the dual MIT or Apache-2.0 license. For rationale, see #2373. * Changes the LICENSE file to describe the dual license. Moved the MIT license to docs/LICENSE-MIT. Added the Apache-2.0 license to docs/LICENSE-APACHE. I opted for this approach over dumping both license files at the root (the more common approach) for a number of reasons: * Github links to the "first" license file (LICENSE-APACHE) in its license links (you can see this in the wgpu and rust-analyzer repos). People clicking these links might erroneously think that the apache license is the only option. Rust and Amethyst both use COPYRIGHT or COPYING files to solve this problem, but this creates more file noise (if you do everything at the root) and the naming feels way less intuitive. * People have a reflex to look for a LICENSE file. By providing a single license file at the root, we make it easy for them to understand our licensing approach. * I like keeping the root clean and noise free * There is precedent for putting the apache and mit license text in sub folders (amethyst) * Removed the `Copyright (c) 2020 Carter Anderson` copyright notice from the MIT license. I don't care about this attribution, it might make license compliance more difficult in some cases, and it didn't properly attribute other contributors. We shoudn't replace it with something like "Copyright (c) 2021 Bevy Contributors" because "Bevy Contributors" is not a legal entity. Instead, we just won't include the copyright line (which has precedent ... Rust also uses this approach). * Updates crates to use the new "MIT OR Apache-2.0" license value * Removes the old legion-transform license file from bevy_transform. bevy_transform has been its own, fully custom implementation for a long time and that license no longer applies. * Added a License section to the main readme * Updated our Bevy Plugin licensing guidelines. As a follow-up we should update the website to properly describe the new license. Closes #2373
2021-07-23 21:11:51 +00:00
license = "MIT OR Apache-2.0"
2020-08-10 00:24:27 +00:00
keywords = ["bevy"]
2020-04-06 07:12:54 +00:00
[features]
# Disables diagnostics that are unsupported when Bevy is dynamically linked
dynamic_linking = []
sysinfo_plugin = ["sysinfo"]
2020-04-06 07:12:54 +00:00
[dependencies]
# bevy
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" }
const-fnv1a-hash = "1.1.0"
# macOS
[target.'cfg(all(target_os="macos"))'.dependencies]
# Some features of sysinfo are not supported by apple. This will disable those features on apple devices
sysinfo = { version = "0.32.0", optional = true, default-features = false, features = [
"apple-app-store",
"system",
] }
# Only include when on linux/windows/android/freebsd
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "android", target_os = "freebsd"))'.dependencies]
Update sysinfo requirement from 0.31.0 to 0.32.0 (#15697) Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md">sysinfo's changelog</a>.</em></p> <blockquote> <h1>0.32.0</h1> <ul> <li>Add new <code>Disk::is_read_only</code> API.</li> <li>Add new <code>remove_dead_processes</code> argument to <code>System::refresh_processes</code> and <code>System::refresh_processes_specifics</code>.</li> <li>macOS: Fix memory leak in disk refresh.</li> </ul> <h1>0.31.4</h1> <ul> <li>macOS: Force memory cleanup in disk list retrieval.</li> </ul> <h1>0.31.3</h1> <ul> <li>Raspberry Pi: Fix temperature retrieval.</li> </ul> <h1>0.31.2</h1> <ul> <li>Remove <code>bstr</code> dependency (needed for rustc development).</li> </ul> <h1>0.31.1</h1> <ul> <li>Downgrade version of <code>memchr</code> (needed for rustc development).</li> </ul> <h1>0.31.0</h1> <ul> <li>Split crate in features to only enable what you need.</li> <li>Remove <code>System::refresh_process</code>, <code>System::refresh_process_specifics</code> and <code>System::refresh_pids</code> methods.</li> <li>Add new argument of type <code>ProcessesToUpdate</code> to <code>System::refresh_processes</code> and <code>System::refresh_processes_specifics</code> methods.</li> <li>Add new <code>NetworkData::ip_networks</code> method.</li> <li>Add new <code>System::refresh_cpu_list</code> method.</li> <li>Global CPU now only contains CPU usage.</li> <li>Rename <code>TermalSensorType</code> to <code>ThermalSensorType</code>.</li> <li>Process names is now an <code>OsString</code>.</li> <li>Remove <code>System::global_cpu_info</code>.</li> <li>Add <code>System::global_cpu_usage</code>.</li> <li>macOS: Fix invalid CPU computation when single processes are refreshed one after the other.</li> <li>Windows: Fix virtual memory computation.</li> <li>Windows: Fix WoW64 parent process refresh.</li> <li>Linux: Retrieve RSS (Resident Set Size) memory for cgroups.</li> </ul> <h1>0.30.13</h1> <ul> <li>macOS: Fix segfault when calling <code>Components::refresh_list</code> multiple times.</li> <li>Windows: Fix CPU arch retrieval.</li> </ul> <h1>0.30.12</h1> <ul> <li>FreeBSD: Fix network interfaces retrieval (one was always missing).</li> </ul> <h1>0.30.11</h1> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/e022ae4fd1d27c2d7159cad3e7018fc08e5b822d"><code>e022ae4</code></a> Merge pull request <a href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1354">#1354</a> from GuillaumeGomez/update</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/0c5ca6af60df2f1c659e26fed469f3e39b99710c"><code>0c5ca6a</code></a> Update migration guide for 0.32</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/9f14cba660204703cdbed2c26e9433a597bada1d"><code>9f14cba</code></a> Update crate version to 0.32.0</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/eb7f147b27ad46c4d01dac2ffb6bba0337da1432"><code>eb7f147</code></a> Update CHANGELOG for 0.32.0</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/9c86e253dd0c3da7360e2d4a35631ba7945850a8"><code>9c86e25</code></a> Fix new clippy lints</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/2fb29032724e1565aab126a663e9c55836e676e3"><code>2fb2903</code></a> Merge pull request <a href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1353">#1353</a> from GuillaumeGomez/rm-dead-processes</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/7452b8d8281bfac80cc855f68981898e65d1f1d1"><code>7452b8d</code></a> Update <code>System::refresh_processes</code> API to give control over when to remove de...</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/6f1d3822765b3ba3b9fe774d8d2e3798c31fce5d"><code>6f1d382</code></a> Merge pull request <a href="https://redirect.github.com/GuillaumeGomez/sysinfo/issues/1348">#1348</a> from kevinbaker/master</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/6d5ea97adebfdd1a036e22fc0482261a41935690"><code>6d5ea97</code></a> add dependency on windows SystemServices for disk</li> <li><a href="https://github.com/GuillaumeGomez/sysinfo/commit/1c87f50f1cc24287bbde37f2310fa20ea9c43af6"><code>1c87f50</code></a> win: add correct location of FILE_READ_ONLY_VOLUME, correct call</li> <li>Additional commits viewable in <a href="https://github.com/GuillaumeGomez/sysinfo/compare/v0.31.0...v0.32.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 07:31:17 +00:00
sysinfo = { version = "0.32.0", optional = true, default-features = false, features = [
"system",
] }
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
all-features = true