mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 19:43:07 +00:00
f1ddd7a2ad
`cfg` for `bevy-glsl-to-spirv` use now mimics https://github.com/cart/glsl-to-spirv/blob/master/Cargo.toml fixes #898 fixes #1348 fixes #1942 fixes #1078
59 lines
2.3 KiB
TOML
59 lines
2.3 KiB
TOML
[package]
|
|
name = "bevy_render"
|
|
version = "0.5.0"
|
|
edition = "2018"
|
|
authors = [
|
|
"Bevy Contributors <bevyengine@gmail.com>",
|
|
"Carter Anderson <mcanders1@gmail.com>",
|
|
]
|
|
description = "Provides rendering functionality for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT"
|
|
keywords = ["bevy"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.5.0" }
|
|
bevy_asset = { path = "../bevy_asset", version = "0.5.0" }
|
|
bevy_core = { path = "../bevy_core", version = "0.5.0" }
|
|
bevy_derive = { path = "../bevy_derive", version = "0.5.0" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.5.0" }
|
|
bevy_math = { path = "../bevy_math", version = "0.5.0" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.5.0", features = ["bevy"] }
|
|
bevy_transform = { path = "../bevy_transform", version = "0.5.0" }
|
|
bevy_window = { path = "../bevy_window", version = "0.5.0" }
|
|
bevy_utils = { path = "../bevy_utils", version = "0.5.0" }
|
|
|
|
# rendering
|
|
image = { version = "0.23.12", default-features = false }
|
|
|
|
# misc
|
|
serde = { version = "1", features = ["derive"] }
|
|
bitflags = "1.2.1"
|
|
smallvec = "1.4.2"
|
|
# TODO: replace once_cell with std equivalent if/when this lands: https://github.com/rust-lang/rfcs/pull/2788
|
|
once_cell = "1.4.1"
|
|
downcast-rs = "1.2.0"
|
|
thiserror = "1.0"
|
|
anyhow = "1.0"
|
|
hex = "0.4.2"
|
|
hexasphere = "3.2"
|
|
parking_lot = "0.11.0"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
spirv-reflect = "0.2.3"
|
|
|
|
[target.'cfg(any(all(target_arch="x86_64", target_os="linux", target_env="gnu"), all(target_arch="x86_64", target_os="macos"), all(target_arch="aarch64", target_os="android"), all(target_arch="armv7", target_os="androidabi"), all(target_arch="x86_64", target_os="windows", target_env="msvc")))'.dependencies]
|
|
bevy-glsl-to-spirv = "0.2.0"
|
|
|
|
[target.'cfg(not(any(target_arch = "wasm32", all(target_arch="x86_64", target_os="linux", target_env="gnu"), all(target_arch="x86_64", target_os="macos"), all(target_arch="aarch64", target_os="android"), all(target_arch="armv7", target_os="androidabi"), all(target_arch="x86_64", target_os="windows", target_env="msvc"))))'.dependencies]
|
|
shaderc = "0.7.0"
|
|
|
|
[features]
|
|
png = ["image/png"]
|
|
hdr = ["image/hdr"]
|
|
dds = ["image/dds"]
|
|
tga = ["image/tga"]
|
|
jpeg = ["image/jpeg"]
|
|
bmp = ["image/bmp"]
|