[package] name = "image_dds__patch" version = "0.5.1" authors = ["ScanMountGoat <>"] description = "Convert images to and from compressed DDS formats" license = "MIT" documentation = "https://docs.rs/image_dds" repository = "https://github.com/ScanMountGoat/image_dds" readme = "../README.md" edition = "2021" [dependencies] intel_tex_2 = { version = "0.4.0", optional = true } image = { version = "0.25.1", default-features = false, optional = true } ddsfile = { version = "0.5.1", optional = true } bcdec_rs = { version = "0.1.1", path = "../bcdec_rs" } thiserror = "1.0.38" arbitrary = { version = "1.2.2", features = ["derive"], optional = true } half = { version = "2.2.1", features = ["bytemuck"] } bytemuck = "1.13.0" strum = { version = "0.26.1", features = ["derive"], optional = true } serde = { version = "1.0", features = ["derive"], optional = true } [dev-dependencies] criterion = { version = "0.5.1", features = ["html_reports"] } image = { version = "0.25.1", default-features = false, features = ["exr"] } [[bench]] name = "dds_from_image" harness = false [[bench]] name = "image_from_dds" harness = false [[bench]] name = "imagef32_from_dds" harness = false [features] default = ["ddsfile", "image", "encode", "strum"] encode = ["dep:intel_tex_2"]