summaryrefslogtreecommitdiff
path: root/crates/nu-plugin/Cargo.toml
blob: 365d018f93f694fa4366a46b5e7b41c53961a6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
authors = ["The Nushell Project Developers"]
description = "Functionality for building Nushell plugins"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin"
edition = "2021"
license = "MIT"
name = "nu-plugin"
version = "0.97.0"

[lib]
bench = false

[dependencies]
nu-engine = { path = "../nu-engine", version = "0.97.0" }
nu-protocol = { path = "../nu-protocol", version = "0.97.0" }
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.97.0" }
nu-plugin-core = { path = "../nu-plugin-core", version = "0.97.0", default-features = false }
nu-utils = { path = "../nu-utils", version = "0.97.0" }

log = { workspace = true }
thiserror = "1.0"

[dev-dependencies]
serde = { workspace = true }
typetag = "0.2"

[features]
default = ["local-socket"]
local-socket = ["nu-plugin-core/local-socket"]

[target.'cfg(target_family = "unix")'.dependencies]
# For setting the process group ID (EnterForeground / LeaveForeground)
nix = { workspace = true, default-features = false, features = ["process"] }