# 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.94"
name = "lx-ls"
version = "0.6.0"
authors = [
    "Benjamin Sago <ogham@bsago.me>",
    "Johann Visagie <johann@visagie.za.net>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "file List eXtended (but call me alex!)"
readme = "README.md"
keywords = [
    "ls",
    "files",
    "directory",
    "exa",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/wjv/lx"

[features]
default = ["git"]
git = ["git2"]
jj = [
    "dep:jj-lib",
    "dep:tokio",
    "dep:futures",
    "git",
]
vendored-openssl = ["git2/vendored-openssl"]

[[bin]]
name = "lx"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "cargo",
    "derive",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.git2]
version = "0.20"
optional = true
default-features = false

[dependencies.glob]
version = "0.3"

[dependencies.jj-lib]
version = "0.39"
features = ["git"]
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.locale]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.natord-plus-plus]
version = "2.0"

[dependencies.nu-ansi-term]
version = "0.50"

[dependencies.phf]
version = "0.13"
features = ["macros"]

[dependencies.rayon]
version = "1.10"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dependencies.toml]
version = "1"

[dependencies.unicode-width]
version = "0.2"

[dependencies.unit-prefix]
version = "0.5"

[dependencies.uutils_term_grid]
version = "0.8"

[dev-dependencies.assert_cmd]
version = "2"

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

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

[target."cfg(unix)".dependencies.uzers]
version = "0.12"

[profile.dev]
debug = 0

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
