kas-image 0.17.0

KAS GUI / widgets
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.92.0"
name = "kas-image"
version = "0.17.0"
authors = ["Diggory Hardy <git@dhardy.name>"]
build = false
exclude = ["/screenshots"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KAS GUI / widgets"
documentation = "https://docs.rs/kas-widgets/"
readme = "README.md"
keywords = ["gui"]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/kas-gui/kas"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "docs_rs",
    "svg",
]

[features]
avif = [
    "dep:image",
    "image/avif",
]
canvas = []
docs_rs = ["kas/wayland"]
image = ["dep:image"]
image-default-formats = [
    "dep:image",
    "image/default-formats",
]
jpeg = [
    "dep:image",
    "image/jpeg",
]
png = [
    "dep:image",
    "image/png",
]
svg = [
    "dep:resvg",
    "dep:usvg",
]
webp = [
    "dep:image",
    "image/webp",
]

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

[dependencies.image]
version = "0.25.1"
optional = true
default-features = false

[dependencies.kas]
version = "0.17.0"
features = ["spawn"]
package = "kas-core"

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.17.0"

[dependencies.resvg]
version = "0.46.0"
optional = true

[dependencies.thiserror]
version = "2.0.3"

[dependencies.tiny-skia]
version = "0.11.0"

[dependencies.usvg]
version = "0.46.0"
optional = true