[package]
edition = "2024"
name = "nu-protocol"
version = "0.111.0"
authors = ["The Nushell Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nushell's internal protocols, including its abstract syntax tree"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-protocol"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["os"]
os = [
"nu-utils/os",
"os_pipe",
]
plugin = [
"brotli",
"os",
"rmp-serde",
]
sqlite = []
[lib]
name = "nu_protocol"
path = "src/lib.rs"
bench = false
[[test]]
name = "into_config"
path = "tests/into_config.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "test_config"
path = "tests/test_config.rs"
[[test]]
name = "test_pipeline_data"
path = "tests/test_pipeline_data.rs"
[[test]]
name = "test_signature"
path = "tests/test_signature.rs"
[[test]]
name = "test_value"
path = "tests/test_value.rs"
[dependencies.brotli]
version = "8.0"
optional = true
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4.43"
features = [
"serde",
"std",
"unstable-locales",
]
default-features = false
[dependencies.chrono-humanize]
version = "0.2.3"
[dependencies.dirs]
version = "6.0"
[dependencies.fancy-regex]
version = "0.17"
[dependencies.heck]
version = "0.5.0"
[dependencies.indexmap]
version = "2.13"
[dependencies.log]
version = "0.4"
[dependencies.lru]
version = "0.16"
[dependencies.memchr]
version = "2.7.6"
[dependencies.miette]
version = "7.6"
features = ["fancy-no-backtrace"]
[dependencies.nu-derive-value]
version = "0.111.0"
[dependencies.nu-experimental]
version = "0.111.0"
[dependencies.nu-glob]
version = "0.111.0"
[dependencies.nu-path]
version = "0.111.0"
[dependencies.nu-system]
version = "0.111.0"
[dependencies.nu-utils]
version = "0.111.0"
default-features = false
[dependencies.num-format]
version = "0.4"
[dependencies.os_pipe]
version = "1.2"
features = [
"io_safety",
"io_safety",
]
optional = true
[dependencies.rmp-serde]
version = "1.3.1"
optional = true
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0.149"
[dependencies.strum]
version = "0.27"
[dependencies.strum_macros]
version = "0.27"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.typetag]
version = "0.2"
[dependencies.web-time]
version = "1.1.0"
[dev-dependencies.nu-test-support]
version = "0.111.0"
[dev-dependencies.nu-utils]
version = "0.111.0"
[dev-dependencies.os_pipe]
version = "1.2"
features = ["io_safety"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.rstest]
version = "0.23"
default-features = false
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.tempfile]
version = "3.24"
[target."cfg(unix)".dependencies.nix]
version = "0.30"
features = ["signal"]
default-features = false
[target."cfg(windows)".dependencies.dirs-sys]
version = "0.5"
[target."cfg(windows)".dependencies.windows]
version = "0.62"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = ["Win32_UI_Shell"]
[lints.clippy]
result_large_err = "allow"
unchecked_duration_subtraction = "warn"
used_underscore_binding = "warn"