# 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 = "hexga_graphics"
version = "0.0.10-beta.9"
authors = ["Mewily <thomas.mewily@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A crate to handle graphics stuff like loading / saving image"
homepage = "https://github.com/Thomas-Mewily/hexga"
readme = "README.md"
keywords = ["graphics"]
categories = ["graphics"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Thomas-Mewily/hexga"

[features]
default = [
    "serde",
    "int_are_32_bits",
    "float_are_32_bits",
]
float_are_32_bits = ["hexga_math/float_are_32_bits"]
float_are_64_bits = ["hexga_math/float_are_64_bits"]
float_are_size_bits = ["hexga_math/float_are_size_bits"]
int_are_16_bits = ["hexga_math/int_are_16_bits"]
int_are_32_bits = ["hexga_math/int_are_32_bits"]
int_are_64_bits = ["hexga_math/int_are_64_bits"]
int_are_8_bits = ["hexga_math/int_are_8_bits"]
int_are_size_bits = ["hexga_math/int_are_size_bits"]
serde = [
    "dep:serde",
    "hexga_math/serde",
]

[lib]
name = "hexga_graphics"
path = "src/lib.rs"

[dependencies.hexga_core]
version = "0.0.10-beta.9"
default-features = false

[dependencies.hexga_math]
version = "0.0.10-beta.9"
default-features = false

[dependencies.image]
version = "0.25.4"
features = [
    "png",
    "gif",
    "jpeg",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
