mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 19:43:07 +00:00
00b6545fe4
Updates the requirements on [tracing-log](https://github.com/tokio-rs/tracing) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-log's releases</a>.</em></p> <blockquote> <h2>tracing-log 0.2.0</h2> <p>This release contains two breaking changes: the removal of the <code>env_logger</code> and <code>trace_logger</code> features. Below are the suggested migration paths:</p> <ul> <li><code>env_logger</code>: users should use [<code>tracing_subscriber::fmt::Subscriber</code>] or [<code>tracing_subscriber::fmt::Layer</code>] with the [<code>Targets</code>] or [<code>EnvFilter</code>] filters instead.</li> <li><code>trace_logger</code>: users should use the <code>tracing</code> crate's ["log" feature flag][log-feature] instead.</li> </ul> <h3>Breaking Changes</h3> <ul> <li>Remove deprecated <code>env_logger</code> feature. This removes the dependency on the unmaintained <code>atty</code> crate, resolving the security advisory [GHSA-g98v-hv3f-hcfr]/[RUSTSEC-2021-0145]. (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2771">#2771</a>)</li> <li>Remove deprecated <code>trace_logger</code> feature. (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2771">#2771</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tracing/issues/2771">#2771</a>: <a href="https://redirect.github.com/tokio-rs/tracing/pull/2771">tokio-rs/tracing#2771</a> [<code>tracing_subscriber::fmt::Subscriber</code>]: <a href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/fmt/struct.Subscriber.html">https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/fmt/struct.Subscriber.html</a> [<code>tracing_subscriber::fmt::Layer</code>]: <a href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/fmt/struct.Layer.html">https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/fmt/struct.Layer.html</a> [<code>Targets</code>]: <a href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/targets/struct.Targets.html">https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/targets/struct.Targets.html</a> [<code>EnvFilter</code>]: <a href="https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/struct.EnvFilter.html">https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/struct.EnvFilter.html</a> [log-feature]: <a href="https://docs.rs/tracing/latest/tracing/#emitting-log-records">https://docs.rs/tracing/latest/tracing/#emitting-log-records</a> [GHSA-g98v-hv3f-hcfr]: <a href="https://github.com/advisories/GHSA-g98v-hv3f-hcfr">https://github.com/advisories/GHSA-g98v-hv3f-hcfr</a> [RUSTSEC-2021-0145]: <a href="https://rustsec.org/advisories/RUSTSEC-2021-0145.html">https://rustsec.org/advisories/RUSTSEC-2021-0145.html</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="4161d8137d
"><code>4161d81</code></a> chore: prepare tracing-log 0.2.0 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2772">#2772</a>)</li> <li><a href="1c802c7763
"><code>1c802c7</code></a> log: remove deprecated <code>env_logger</code> and <code>trace_logger</code> APIs (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2771">#2771</a>)</li> <li><a href="4965c36570
"><code>4965c36</code></a> chore: Prepare tracing-log 0.1.4 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2770">#2770</a>)</li> <li><a href="15600a3a67
"><code>15600a3</code></a> tracing: prepare to release v0.1.40</li> <li><a href="20a1762b3f
"><code>20a1762</code></a> tracing: use ManuallyDrop instead of mem::forget (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2765">#2765</a>)</li> <li><a href="4b99457c87
"><code>4b99457</code></a> chore: prepare tracing 0.1.39 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2755">#2755</a>)</li> <li><a href="b2a5e11e24
"><code>b2a5e11</code></a> tracing: update core to v0.1.31 and attributes to v0.1.27</li> <li><a href="3825a50c1a
"><code>3825a50</code></a> tracing: use full path when calling <code>format_args!</code> (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2757">#2757</a>)</li> <li><a href="c4b2a56937
"><code>c4b2a56</code></a> chore: prepare tracing-core 0.1.32 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2754">#2754</a>)</li> <li><a href="2502f19d93
"><code>2502f19</code></a> chore: prepare tracing-attributes 0.1.27 (<a href="https://redirect.github.com/tokio-rs/tracing/issues/2756">#2756</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-log-0.1.2...tracing-log-0.2.0">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Liu <contact@jamessliu.com>
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "bevy_log"
|
|
version = "0.14.0-dev"
|
|
edition = "2021"
|
|
description = "Provides logging for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
trace = ["tracing-error"]
|
|
trace_tracy_memory = ["dep:tracy-client"]
|
|
|
|
[dependencies]
|
|
bevy_app = { path = "../bevy_app", version = "0.14.0-dev" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.14.0-dev" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.14.0-dev" }
|
|
|
|
tracing-subscriber = { version = "0.3.1", features = [
|
|
"registry",
|
|
"env-filter",
|
|
] }
|
|
tracing-chrome = { version = "0.7.0", optional = true }
|
|
tracing-log = "0.2.0"
|
|
tracing-error = { version = "0.2.0", optional = true }
|
|
|
|
# Tracy dependency compatibility table:
|
|
# https://github.com/nagisa/rust_tracy_client
|
|
tracing-tracy = { version = "0.11.0", optional = true }
|
|
tracy-client = { version = "0.17.0", optional = true }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_log-sys = "0.3.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_error_panic_hook = "0.1.6"
|
|
tracing-wasm = "0.2.1"
|
|
|
|
[lints]
|
|
workspace = true
|