# 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 = "snora-widgets"
version = "0.16.0"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optional prefab iced widgets for the Snora GUI framework — header, footer, sidebar, menu, icon."
readme = "README.md"
keywords = [
    "gui",
    "iced",
    "ui",
    "framework",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/snora"
resolver = "2"

[features]
lucide-icons = [
    "snora-core/lucide-icons",
    "dep:lucide-icons",
]
svg-icons = [
    "snora-core/svg-icons",
    "iced/svg",
]

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

[dependencies.iced]
version = "0.14"
features = [
    "canvas",
    "svg",
    "tokio",
]

[dependencies.lucide-icons]
version = "1"
features = ["iced"]
optional = true

[dependencies.snora-core]
version = "0.16"
