[package]
authors = ["The Nushell Project Developers"]
description = "CLI-related functionality for Nushell"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cli"
edition = "2024"
license = "MIT"
name = "shannon-nu-cli"
version = "0.5.2"

[lib]
bench = false

[dev-dependencies]
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.111.0" }
nu-command = { path = "../nu-command", version = "0.111.0" }
nu-std = { path = "../nu-std", version = "0.111.0" }
nu-test-support = { path = "../nu-test-support", version = "0.111.0" }
rstest = { workspace = true, default-features = false }
tempfile = { workspace = true }

[dependencies]
nu-cmd-base = { path = "../nu-cmd-base", version = "0.111.0" }
nu-command = { path = "../nu-command", version = "0.111.0", features = ["os"], default-features = false }
nu-engine = { path = "../nu-engine", version = "0.111.0", features = ["os"] }
nu-glob = { path = "../nu-glob", version = "0.111.0" }
nu-path = { path = "../nu-path", version = "0.111.0" }
nu-parser = { path = "../nu-parser", version = "0.111.0" }
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.111.0", optional = true }
nu-protocol = { path = "../nu-protocol", version = "0.111.0", features = ["os"] }
nu-utils = { path = "../nu-utils", version = "0.111.0" }
nu-color-config = { path = "../nu-color-config", version = "0.111.0" }
nu-experimental = { path = "../nu-experimental", version = "0.111.0" }
nu-ansi-term = { workspace = true }
reedline = { workspace = true, features = ["bashisms"] }

tree-sitter = "0.26"
tree-sitter-bash = "0.23"
tree-sitter-language = "0.1"

chrono = { default-features = false, features = ["std"], workspace = true }
crossterm = { workspace = true }
fancy-regex = { workspace = true }
is_executable = { workspace = true }
log = { workspace = true }
lscolors = { workspace = true, default-features = false, features = ["nu-ansi-term"] }
miette = { workspace = true, features = ["fancy-no-backtrace"] }
nucleo-matcher = { workspace = true }
percent-encoding = { workspace = true }
sysinfo = { workspace = true }
strum = { workspace = true }
unicode-segmentation = { workspace = true }
uuid = { workspace = true, features = ["v4"] }
which = { workspace = true }

[features]
plugin = ["nu-plugin-engine"]
system-clipboard = ["reedline/system_clipboard"]
sqlite = ["reedline/sqlite", "nu-protocol/sqlite", "nu-command/sqlite"]

[lints]
workspace = true
