# 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 = "iced-swdir-tree"
version = "0.7.1"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "iced widget for file tree powered by swdir, supporting selection, lazy loading and filtering."
readme = "README.md"
keywords = [
    "iced",
    "widget",
    "directory",
    "tree",
    "filesystem",
]
categories = [
    "gui",
    "filesystem",
]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/iced-swdir-tree"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
icons = ["dep:lucide-icons"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "drag_drop"
path = "examples/drag_drop.rs"

[[example]]
name = "icon_theme"
path = "examples/icon_theme.rs"

[[example]]
name = "keyboard_nav"
path = "examples/keyboard_nav.rs"

[[example]]
name = "multi_select"
path = "examples/multi_select.rs"

[[example]]
name = "search"
path = "examples/search.rs"

[[example]]
name = "with_icons"
path = "examples/with_icons.rs"
required-features = ["icons"]

[[test]]
name = "error_paths"
path = "tests/error_paths.rs"

[[test]]
name = "expand_collapse"
path = "tests/expand_collapse.rs"

[[test]]
name = "filter_modes"
path = "tests/filter_modes.rs"

[[test]]
name = "icon_theme"
path = "tests/icon_theme.rs"

[[test]]
name = "prefetch"
path = "tests/prefetch.rs"

[[test]]
name = "runtime_filter"
path = "tests/runtime_filter.rs"

[[test]]
name = "search"
path = "tests/search.rs"

[[test]]
name = "selection_basic"
path = "tests/selection_basic.rs"

[[test]]
name = "tree_drag_drop"
path = "tests/tree_drag_drop.rs"

[[test]]
name = "tree_errors"
path = "tests/tree_errors.rs"

[[test]]
name = "tree_executor"
path = "tests/tree_executor.rs"

[[test]]
name = "tree_filter_preservation"
path = "tests/tree_filter_preservation.rs"

[[test]]
name = "tree_filters"
path = "tests/tree_filters.rs"

[[test]]
name = "tree_multi_select"
path = "tests/tree_multi_select.rs"

[[test]]
name = "tree_selection"
path = "tests/tree_selection.rs"

[dependencies.iced]
version = "0.14"

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

[dependencies.swdir]
version = "0.10"

[dev-dependencies]
