# 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 = "2021"
name = "tui-file-explorer"
version = "0.9.3"
authors = ["Sorin Irimies <sorinirimies@gmail.com>"]
build = false
exclude = [
    "target/",
    ".gitignore",
    "rules.md",
    "justfile",
    "cliff.toml",
    "scripts/",
    ".gitea/",
    "examples/vhs/generated/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A self-contained, keyboard-driven file-browser widget for Ratatui"
readme = "README.md"
keywords = [
    "tui",
    "ratatui",
    "file-explorer",
    "widget",
    "terminal",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/sorinirimies/tui-file-explorer"

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "tfe"
path = "src/main.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "color",
    "wrap_help",
]
optional = true

[dependencies.crossterm]
version = "0.29"

[dependencies.ratatui]
version = "0.30"

[dependencies.tui-slider]
version = "0.3.2"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(unix)".dependencies.libc]
version = "0.2"
