ctt 0.2.0

Compress images to GPU texture formats
Documentation
# 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"
rust-version = "1.85"
name = "ctt"
version = "0.2.0"
authors = ["The ctt developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compress images to GPU texture formats"
readme = "README.md"
keywords = [
    "texture",
    "compression",
    "gpu",
    "bc7",
    "dds",
]
categories = [
    "graphics",
    "compression",
]
license = "MIT OR Apache-2.0 OR Zlib"
repository = "https://github.com/cwfitzgerald/ctt"

[features]
default = [
    "encoder-ispc",
    "encoder-bc7enc",
    "ispc-prebuilt",
]
encoder-bc7enc = ["dep:ctt-bc7enc-rdo"]
encoder-ispc = ["dep:ctt-intel-texture-compressor"]
ispc-build-from-source = [
    "ctt-intel-texture-compressor?/build-from-source",
    "ctt-bc7enc-rdo?/build-from-source",
]
ispc-prebuilt = [
    "ctt-intel-texture-compressor?/prebuilt",
    "ctt-bc7enc-rdo?/prebuilt",
]

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

[dependencies.bytemuck]
version = "1"
features = ["extern_crate_alloc"]

[dependencies.ctt-bc7enc-rdo]
version = "0.2"
optional = true
default-features = false

[dependencies.ctt-intel-texture-compressor]
version = "0.2"
optional = true
default-features = false

[dependencies.ddsfile]
version = "0.5"

[dependencies.half]
version = "2"

[dependencies.ktx2]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"

[lints]