mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
979a97c455
# Description This PR introduces [workspaces dependencies](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table). The advantages are: - a single place where dependency versions are declared - reduces the number of files to change when upgrading a dependency - reduces the risk of accidentally depending on 2 different versions of the same dependency I've only done a few so far. If this PR is accepted, I might continue and progressively do the rest. # User-Facing Changes N/A # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting N/A
29 lines
712 B
TOML
29 lines
712 B
TOML
[package]
|
|
authors = ["The Nushell Project Developers"]
|
|
description = "Nushell utility functions"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "nu-utils"
|
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
|
|
version = "0.91.1"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "utils"
|
|
path = "src/main.rs"
|
|
bench = false
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
lscolors = { version = "0.17", default-features = false, features = ["nu-ansi-term"] }
|
|
log = { workspace = true }
|
|
num-format = { version = "0.4" }
|
|
strip-ansi-escapes = "0.2.0"
|
|
sys-locale = "0.3"
|
|
unicase = "2.7.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
crossterm_winapi = "0.9"
|