# 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"
rust-version = "1.77.2"
name = "nu"
version = "0.92.2"
authors = ["The Nushell Project Developers"]
build = "scripts/build.rs"
exclude = ["images"]
default-run = "nu"
description = "A new type of shell"
homepage = "https://www.nushell.sh"
documentation = "https://www.nushell.sh/book/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nushell"

[package.metadata.binstall]
pkg-fmt = "tgz"
pkg-url = "{ repo }/releases/download/{ version }/{ name }-{ version }-{ target }.{ archive-format }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[profile.ci]
debug = 0
inherits = "dev"
strip = false

[profile.profiling]
debug = 2
inherits = "release"
strip = false

[profile.release]
opt-level = "s"
lto = "thin"
strip = "debuginfo"

[[bin]]
name = "nu"
path = "src/main.rs"
bench = false

[[bench]]
name = "benchmarks"
harness = false

[dependencies.crossterm]
version = "0.27"

[dependencies.ctrlc]
version = "3.4"

[dependencies.log]
version = "0.4"

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

[dependencies.mimalloc]
version = "0.1.37"
optional = true
default-features = false

[dependencies.nu-cli]
version = "0.92.2"

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

[dependencies.nu-cmd-dataframe]
version = "0.92.2"
features = ["dataframe"]
optional = true

[dependencies.nu-cmd-extra]
version = "0.92.2"

[dependencies.nu-cmd-lang]
version = "0.92.2"

[dependencies.nu-command]
version = "0.92.2"

[dependencies.nu-engine]
version = "0.92.2"

[dependencies.nu-explore]
version = "0.92.2"

[dependencies.nu-lsp]
version = "0.92.2"

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

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

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

[dependencies.nu-protocol]
version = "0.92.2"

[dependencies.nu-std]
version = "0.92.2"

[dependencies.nu-system]
version = "0.92.2"

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

[dependencies.reedline]
version = "0.31.0"
features = [
    "bashisms",
    "sqlite",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.simplelog]
version = "0.12"

[dependencies.time]
version = "0.3"

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

[dev-dependencies.dirs-next]
version = "2.0"

[dev-dependencies.divan]
version = "0.1.14"

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

[dev-dependencies.pretty_assertions]
version = "1.4"

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

[dev-dependencies.serial_test]
version = "3.0"

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

[features]
dataframe = [
    "dep:nu-cmd-dataframe",
    "nu-cmd-lang/dataframe",
]
default = [
    "default-no-clipboard",
    "system-clipboard",
]
default-no-clipboard = [
    "plugin",
    "which-support",
    "trash-support",
    "sqlite",
    "mimalloc",
]
mimalloc = [
    "nu-cmd-lang/mimalloc",
    "dep:mimalloc",
]
plugin = [
    "nu-plugin",
    "nu-cli/plugin",
    "nu-parser/plugin",
    "nu-command/plugin",
    "nu-protocol/plugin",
    "nu-engine/plugin",
]
sqlite = [
    "nu-command/sqlite",
    "nu-cmd-lang/sqlite",
]
stable = ["default"]
static-link-openssl = [
    "dep:openssl",
    "nu-cmd-lang/static-link-openssl",
]
system-clipboard = [
    "reedline/system_clipboard",
    "nu-cli/system-clipboard",
]
trash-support = [
    "nu-command/trash-support",
    "nu-cmd-lang/trash-support",
]
wasi = ["nu-cmd-lang/wasi"]
which-support = [
    "nu-command/which-support",
    "nu-cmd-lang/which-support",
]

[target."cfg(not(target_os = \"windows\"))".dependencies.openssl]
version = "0.10"
features = ["vendored"]
optional = true

[target."cfg(target_family = \"unix\")".dependencies.nix]
version = "0.28"
features = [
    "signal",
    "process",
    "fs",
    "term",
]
default-features = false

[target."cfg(windows)".build-dependencies.winresource]
version = "0.1"
