# 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 = "shannon-nu-cli"
version = "0.5.2"
authors = ["The Nushell Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI-related functionality for Nushell"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cli"

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

[lib]
name = "shannon_nu_cli"
path = "src/lib.rs"
bench = false

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

[dependencies.chrono]
version = "0.4.43"
features = ["std"]
default-features = false

[dependencies.crossterm]
version = "0.29.0"

[dependencies.fancy-regex]
version = "0.17"

[dependencies.is_executable]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.lscolors]
version = "0.20"
features = ["nu-ansi-term"]
default-features = false

[dependencies.miette]
version = "7.6"
features = ["fancy-no-backtrace"]

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

[dependencies.nu-cmd-base]
version = "0.111.0"

[dependencies.nu-color-config]
version = "0.111.0"

[dependencies.nu-command]
version = "0.111.0"
features = ["os"]
default-features = false

[dependencies.nu-engine]
version = "0.111.0"
features = ["os"]

[dependencies.nu-experimental]
version = "0.111.0"

[dependencies.nu-glob]
version = "0.111.0"

[dependencies.nu-parser]
version = "0.111.0"

[dependencies.nu-path]
version = "0.111.0"

[dependencies.nu-plugin-engine]
version = "0.111.0"
optional = true

[dependencies.nu-protocol]
version = "0.111.0"
features = ["os"]

[dependencies.nu-utils]
version = "0.111.0"

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.percent-encoding]
version = "2"

[dependencies.reedline]
version = "0.46.0"
features = ["bashisms"]

[dependencies.strum]
version = "0.27"

[dependencies.sysinfo]
version = "0.38.0"

[dependencies.tree-sitter]
version = "0.26"

[dependencies.tree-sitter-bash]
version = "0.23"

[dependencies.tree-sitter-language]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1.12"

[dependencies.uuid]
version = "1.21.0"
features = ["v4"]

[dependencies.which]
version = "8.0.0"

[dev-dependencies.nu-cmd-lang]
version = "0.111.0"

[dev-dependencies.nu-command]
version = "0.111.0"

[dev-dependencies.nu-std]
version = "0.111.0"

[dev-dependencies.nu-test-support]
version = "0.111.0"

[dev-dependencies.rstest]
version = "0.23"
default-features = false

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

[lints.clippy]
result_large_err = "allow"
unchecked_duration_subtraction = "warn"
used_underscore_binding = "warn"
