forked from IceSentry/bevy
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (96 loc) · 3.39 KB
/
Copy pathCargo.toml
File metadata and controls
109 lines (96 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
name = "bevy_image"
version = "0.20.0-dev"
edition = "2024"
description = "Provides image types for Bevy Engine"
homepage = "https://bevy.org"
repository = "https://github.com/bevyengine/bevy"
license = "MIT OR Apache-2.0"
keywords = ["bevy"]
[features]
default = ["bevy_reflect"]
# bevy_reflect can't optional as it's needed for TypePath
# this feature only control reflection in bevy_image
bevy_reflect = ["bevy_math/bevy_reflect"]
# Image formats
basis-universal = ["dep:basis-universal"]
bmp = ["image/bmp"]
dds = ["ddsfile"]
exr = ["image/exr"]
ff = ["image/ff"]
gif = ["image/gif"]
hdr = ["image/hdr"]
ktx2 = ["dep:ktx2"]
ico = ["image/ico"]
jpeg = ["image/jpeg"]
png = ["image/png"]
pnm = ["image/pnm"]
qoi = ["image/qoi"]
tga = ["image/tga"]
tiff = ["image/tiff"]
webp = ["image/webp"]
serialize = ["bevy_reflect", "bevy_platform/serialize", "wgpu-types/serde"]
# For ktx2 supercompression
zlib = ["flate2"]
# A marker feature indicating zstd support is required for a particular feature.
# A backend must be chosen by enabling either the "zstd_rust" or the "zstd_c" feature.
zstd = []
# Pure-rust zstd implementation (safer)
zstd_rust = ["zstd", "dep:ruzstd"]
# Binding to zstd C implementation (faster)
zstd_c = ["zstd", "dep:zstd"]
# Texture compression asset processor (cross-platform, transcodes to any GPU format at load time)
compressed_image_saver_universal = ["basis-universal"]
# Texture compression asset processor (BCn for desktop, ASTC for mobile via env var)
compressed_image_saver = ["dep:ctt", "ktx2", "zstd"]
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.20.0-dev" }
bevy_asset = { path = "../bevy_asset", version = "0.20.0-dev" }
bevy_color = { path = "../bevy_color", version = "0.20.0-dev", features = [
"serialize",
"wgpu-types",
] }
bevy_ecs = { path = "../bevy_ecs", version = "0.20.0-dev", default-features = false }
bevy_math = { path = "../bevy_math", version = "0.20.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.20.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.20.0-dev" }
bevy_platform = { path = "../bevy_platform", version = "0.20.0-dev", default-features = false, features = [
"std",
] }
# rendering
image = { version = "0.25.2", default-features = false }
# misc
bitflags = { version = "2.3", features = ["serde"] }
bytemuck = { version = "1.5" }
wgpu-types = { version = "29.0.3", default-features = false, features = [
"serde",
] }
serde = { version = "1", features = ["derive"] }
thiserror = { version = "2", default-features = false }
futures-lite = "2.0.1"
guillotiere = "0.7.0"
rectangle-pack = "0.4"
ddsfile = { version = "0.5.2", optional = true }
ktx2 = { version = "0.5.0", optional = true }
# For ktx2 supercompression
flate2 = { version = "1.0.22", optional = true }
zstd = { version = "0.13.3", optional = true }
ruzstd = { version = "0.8.0", optional = true }
# For transcoding of UASTC/ETC1S universal formats, and for .basis file support
basis-universal = { version = "0.3.0", optional = true }
tracing = { version = "0.1", default-features = false, features = ["std"] }
half = { version = "2.4.1" }
ctt = { version = "0.4", optional = true }
[dev-dependencies]
bevy_ecs = { path = "../bevy_ecs", version = "0.20.0-dev" }
serde_json = "1.0.140"
[lints]
workspace = true
[package.metadata.docs.rs]
rustdoc-args = [
"-Zunstable-options",
"--generate-link-to-definition",
"--generate-macro-expansion",
]
all-features = true