# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" name = "bevy_image" version = "0.16.1" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provides image types for Bevy Engine" homepage = "https://bevyengine.org" readme = false keywords = ["bevy"] license = "MIT OR Apache-2.0" repository = "https://github.com/bevyengine/bevy" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "-Zunstable-options", "--generate-link-to-definition", ] [features] basis-universal = ["dep:basis-universal"] bevy_reflect = ["bevy_math/bevy_reflect"] bmp = ["image/bmp"] dds = ["ddsfile"] default = ["bevy_reflect"] exr = ["image/exr"] ff = ["image/ff"] gif = ["image/gif"] hdr = ["image/hdr"] ico = ["image/ico"] jpeg = ["image/jpeg"] ktx2 = ["dep:ktx2"] png = ["image/png"] pnm = ["image/pnm"] qoi = ["image/qoi"] serialize = [ "bevy_reflect", "bevy_platform/serialize", "bevy_utils/serde", ] tga = ["image/tga"] tiff = ["image/tiff"] webp = ["image/webp"] zlib = ["flate2"] zstd = ["ruzstd"] [lib] name = "bevy_image" path = "src/lib.rs" [dependencies.basis-universal] version = "0.3.0" optional = true [dependencies.bevy_app] version = "0.16.1" [dependencies.bevy_asset] version = "0.16.1" [dependencies.bevy_color] version = "0.16.2" features = [ "serialize", "wgpu-types", ] [dependencies.bevy_math] version = "0.16.1" [dependencies.bevy_platform] version = "0.16.1" features = ["std"] default-features = false [dependencies.bevy_reflect] version = "0.16.1" [dependencies.bevy_utils] version = "0.16.1" [dependencies.bitflags] version = "2.3" features = ["serde"] [dependencies.bytemuck] version = "1.5" [dependencies.ddsfile] version = "0.5.2" optional = true [dependencies.flate2] version = "1.0.22" optional = true [dependencies.futures-lite] version = "2.0.1" [dependencies.guillotiere] version = "0.6.0" [dependencies.half] version = "2.4.1" [dependencies.image] version = "0.25.2" default-features = false [dependencies.ktx2] version = "0.3.0" optional = true [dependencies.rectangle-pack] version = "0.4" [dependencies.ruzstd] version = "0.8.0" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.thiserror] version = "2" default-features = false [dependencies.tracing] version = "0.1" features = ["std"] default-features = false [dependencies.wgpu-types] version = "24" default-features = false [dev-dependencies.bevy_ecs] version = "0.16.1" [lints.clippy] alloc_instead_of_core = "warn" allow_attributes = "warn" allow_attributes_without_reason = "warn" doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" needless_lifetimes = "allow" nonstandard_macro_braces = "warn" print_stderr = "warn" print_stdout = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" ref_as_ptr = "warn" semicolon_if_nothing_returned = "warn" std_instead_of_alloc = "warn" std_instead_of_core = "warn" too_long_first_doc_paragraph = "allow" too_many_arguments = "allow" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" [lints.rust] missing_docs = "warn" unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_qualifications = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(docsrs_dep)"]