![dependabot[bot]](/assets/img/avatar_default.png)
Updates the requirements on [derive_more](https://github.com/JelteF/derive_more) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/JelteF/derive_more/releases">derive_more's releases</a>.</em></p> <blockquote> <h2>2.0.1</h2> <p><a href="https://docs.rs/derive_more/2.0.1">API docs</a> <a href="https://github.com/JelteF/derive_more/blob/v2.0.1/CHANGELOG.md#201---2025-02-03">Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md">derive_more's changelog</a>.</em></p> <blockquote> <h2>2.0.1 - 2025-02-03</h2> <h3>Added</h3> <ul> <li>Add crate metadata for the Rust Playground. This makes sure that the Rust Playground will have all <code>derive_more</code> features available once <a href="https://docs.rs/selectors/latest/selectors"><code>selectors</code></a> crate updates its <code>derive_more</code> version. (<a href="https://redirect.github.com/JelteF/derive_more/pull/445">#445</a>)</li> </ul> <h2>2.0.0 - 2025-02-03</h2> <h3>Breaking changes</h3> <ul> <li><code>use derive_more::SomeTrait</code> now imports macro only. Importing macro with its trait along is possible now via <code>use derive_more::with_trait::SomeTrait</code>. (<a href="https://redirect.github.com/JelteF/derive_more/pull/406">#406</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no <code>_variant</code> placeholder). (<a href="https://redirect.github.com/JelteF/derive_more/pull/395">#395</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Associated types of type parameters not being treated as generics in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/399">#399</a>)</li> <li><code>unreachable_code</code> warnings on generated code when <code>!</code> (never type) is used. (<a href="https://redirect.github.com/JelteF/derive_more/pull/404">#404</a>)</li> <li>Ambiguous associated item error when deriving <code>TryFrom</code>, <code>TryInto</code> or <code>FromStr</code> with an associated item called <code>Error</code> or <code>Err</code> respectively. (<a href="https://redirect.github.com/JelteF/derive_more/pull/410">#410</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum being incorrectly treated as transparent or wrapping. (<a href="https://redirect.github.com/JelteF/derive_more/pull/395">#395</a>)</li> <li>Omitted raw identifiers in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/431">#431</a>)</li> <li>Incorrect rendering of raw identifiers as field names in <code>Debug</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/431">#431</a>)</li> <li>Top-level <code>#[display("...")]</code> attribute on an enum not working transparently for directly specified fields. (<a href="https://redirect.github.com/JelteF/derive_more/pull/438">#438</a>)</li> <li>Incorrect dereferencing of unsized fields in <code>Debug</code> and <code>Display</code> expansions. (<a href="https://redirect.github.com/JelteF/derive_more/pull/440">#440</a>)</li> </ul> <h2>0.99.19 - 2025-02-03</h2> <ul> <li>Add crate metadata for the Rust Playground.</li> </ul> <h2>1.0.0 - 2024-08-07</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="a78d8ee41d
"><code>a78d8ee</code></a> chore: Release</li> <li><a href="2aeee4d1c0
"><code>2aeee4d</code></a> Update changelog (<a href="https://redirect.github.com/JelteF/derive_more/issues/446">#446</a>)</li> <li><a href="5afbaa1d8e
"><code>5afbaa1</code></a> Add Rust Playground metadata (<a href="https://redirect.github.com/JelteF/derive_more/issues/445">#445</a>)</li> <li><a href="d6c3315f12
"><code>d6c3315</code></a> Prepare 2.0.0 release (<a href="https://redirect.github.com/JelteF/derive_more/issues/444">#444</a>)</li> <li><a href="c5e5e82c0a
"><code>c5e5e82</code></a> Fix unsized fields usage in <code>Display</code>/<code>Debug</code> derives (<a href="https://redirect.github.com/JelteF/derive_more/issues/440">#440</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/432">#432</a>)</li> <li><a href="d391493a3c
"><code>d391493</code></a> Fix field transparency for top-level shared attribute in <code>Display</code> (<a href="https://redirect.github.com/JelteF/derive_more/issues/438">#438</a>)</li> <li><a href="f14c7a759a
"><code>f14c7a7</code></a> Fix raw identifiers usage in <code>Display</code>/<code>Debug</code> derives (<a href="https://redirect.github.com/JelteF/derive_more/issues/434">#434</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/431">#431</a>)</li> <li><a href="7b23de3d53
"><code>7b23de3</code></a> Update <code>convert_case</code> crate from 0.6 to 0.7 version (<a href="https://redirect.github.com/JelteF/derive_more/issues/436">#436</a>)</li> <li><a href="cc9957e9cd
"><code>cc9957e</code></a> Fix <code>compile_fail</code> tests and make Clippy happy for 1.84 Rust (<a href="https://redirect.github.com/JelteF/derive_more/issues/435">#435</a>)</li> <li><a href="17d61c3118
"><code>17d61c3</code></a> Fix transparency and behavior of shared formatting on enums (<a href="https://redirect.github.com/JelteF/derive_more/issues/395">#395</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/377">#377</a>, <a href="https://redirect.github.com/JelteF/derive_more/issues/411">#411</a>)</li> <li>Additional commits viewable in <a href="https://github.com/JelteF/derive_more/compare/v1.0.0...v2.0.1">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>
166 lines
6.0 KiB
TOML
166 lines
6.0 KiB
TOML
[package]
|
|
name = "bevy_render"
|
|
version = "0.17.0-dev"
|
|
edition = "2024"
|
|
description = "Provides rendering functionality for Bevy Engine"
|
|
homepage = "https://bevy.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
# Bevy users should _never_ turn this feature on.
|
|
#
|
|
# Bevy/wgpu developers can turn this feature on to test a newer version of wgpu without needing to also update naga_oil.
|
|
#
|
|
# When turning this feature on, you can add the following to bevy/Cargo.toml (not this file), and then run `cargo update`:
|
|
# [patch.crates-io]
|
|
# wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "..." }
|
|
# wgpu-core = { git = "https://github.com/gfx-rs/wgpu", rev = "..." }
|
|
# wgpu-hal = { git = "https://github.com/gfx-rs/wgpu", rev = "..." }
|
|
# wgpu-types = { git = "https://github.com/gfx-rs/wgpu", rev = "..." }
|
|
decoupled_naga = []
|
|
|
|
# Enables compressed KTX2 UASTC texture output on the asset processor
|
|
compressed_image_saver = ["bevy_image/compressed_image_saver"]
|
|
|
|
# Texture formats (require more than just image support)
|
|
basis-universal = ["bevy_image/basis-universal"]
|
|
exr = ["bevy_image/exr"]
|
|
hdr = ["bevy_image/hdr"]
|
|
ktx2 = ["bevy_image/ktx2"]
|
|
|
|
multi_threaded = ["bevy_tasks/multi_threaded"]
|
|
|
|
shader_format_glsl = ["naga/glsl-in", "naga/wgsl-out", "naga_oil/glsl"]
|
|
shader_format_spirv = ["wgpu/spirv", "naga/spv-in", "naga/spv-out"]
|
|
shader_format_wesl = ["wesl"]
|
|
|
|
# Enable SPIR-V shader passthrough
|
|
spirv_shader_passthrough = ["wgpu/spirv"]
|
|
|
|
# Statically linked DXC shader compiler for DirectX 12
|
|
# TODO: When wgpu switches to DirectX 12 instead of Vulkan by default on windows, make this a default feature
|
|
statically-linked-dxc = ["wgpu/static-dxc"]
|
|
|
|
trace = ["profiling"]
|
|
tracing-tracy = ["dep:tracy-client"]
|
|
ci_limits = []
|
|
webgl = ["wgpu/webgl"]
|
|
webgpu = ["wgpu/webgpu"]
|
|
detailed_trace = []
|
|
## Adds serialization support through `serde`.
|
|
serialize = ["bevy_mesh/serialize"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.17.0-dev" }
|
|
bevy_asset = { path = "../bevy_asset", version = "0.17.0-dev" }
|
|
bevy_color = { path = "../bevy_color", version = "0.17.0-dev", features = [
|
|
"serialize",
|
|
"wgpu-types",
|
|
] }
|
|
bevy_derive = { path = "../bevy_derive", version = "0.17.0-dev" }
|
|
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.17.0-dev" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.17.0-dev" }
|
|
bevy_encase_derive = { path = "../bevy_encase_derive", version = "0.17.0-dev" }
|
|
bevy_math = { path = "../bevy_math", version = "0.17.0-dev" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev" }
|
|
bevy_render_macros = { path = "macros", version = "0.17.0-dev" }
|
|
bevy_time = { path = "../bevy_time", version = "0.17.0-dev" }
|
|
bevy_transform = { path = "../bevy_transform", version = "0.17.0-dev" }
|
|
bevy_window = { path = "../bevy_window", version = "0.17.0-dev" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.17.0-dev", features = [
|
|
"wgpu_wrapper",
|
|
] }
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.17.0-dev" }
|
|
bevy_image = { path = "../bevy_image", version = "0.17.0-dev" }
|
|
bevy_mesh = { path = "../bevy_mesh", version = "0.17.0-dev" }
|
|
bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-features = false, features = [
|
|
"std",
|
|
"serialize",
|
|
] }
|
|
|
|
# rendering
|
|
image = { version = "0.25.2", default-features = false }
|
|
|
|
# misc
|
|
codespan-reporting = "0.11.0"
|
|
# `fragile-send-sync-non-atomic-wasm` feature means we can't use Wasm threads for rendering
|
|
# It is enabled for now to avoid having to do a significant overhaul of the renderer just for wasm.
|
|
# When the 'atomics' feature is enabled `fragile-send-sync-non-atomic` does nothing
|
|
# and Bevy instead wraps `wgpu` types to verify they are not used off their origin thread.
|
|
wgpu = { version = "24", default-features = false, features = [
|
|
"wgsl",
|
|
"dx12",
|
|
"metal",
|
|
"naga-ir",
|
|
"fragile-send-sync-non-atomic-wasm",
|
|
] }
|
|
naga = { version = "24", features = ["wgsl-in"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
bytemuck = { version = "1.5", features = ["derive", "must_cast"] }
|
|
downcast-rs = { version = "2", default-features = false, features = ["std"] }
|
|
thiserror = { version = "2", default-features = false }
|
|
derive_more = { version = "2", default-features = false, features = ["from"] }
|
|
futures-lite = "2.0.1"
|
|
encase = { version = "0.10", features = ["glam"] }
|
|
# For wgpu profiling using tracing. Use `RUST_LOG=info` to also capture the wgpu spans.
|
|
profiling = { version = "1", features = [
|
|
"profile-with-tracing",
|
|
], optional = true }
|
|
async-channel = "2.3.0"
|
|
nonmax = "0.5"
|
|
smallvec = { version = "1.11", features = ["const_new"] }
|
|
offset-allocator = "0.2"
|
|
variadics_please = "1.1"
|
|
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
|
tracy-client = { version = "0.18.0", optional = true }
|
|
indexmap = { version = "2" }
|
|
fixedbitset = { version = "0.5" }
|
|
bitflags = "2"
|
|
wesl = { version = "0.1.2", optional = true }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
# Omit the `glsl` feature in non-WebAssembly by default.
|
|
naga_oil = { version = "0.17.1", default-features = false, features = [
|
|
"test_shader",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
proptest = "1"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
naga_oil = "0.17.1"
|
|
js-sys = "0.3"
|
|
web-sys = { version = "0.3.67", features = [
|
|
'Blob',
|
|
'Document',
|
|
'Element',
|
|
'HtmlElement',
|
|
'Node',
|
|
'Url',
|
|
'Window',
|
|
] }
|
|
wasm-bindgen = "0.2"
|
|
# TODO: Assuming all wasm builds are for the browser. Require `no_std` support to break assumption.
|
|
bevy_app = { path = "../bevy_app", version = "0.17.0-dev", default-features = false, features = [
|
|
"web",
|
|
] }
|
|
bevy_tasks = { path = "../bevy_tasks", version = "0.17.0-dev", default-features = false, features = [
|
|
"web",
|
|
] }
|
|
bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-features = false, features = [
|
|
"web",
|
|
] }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", default-features = false, features = [
|
|
"web",
|
|
] }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|