forked from extern/nushell
ce4ae00a6f
* Remove unused dependencies Inspired by #6938 ran `cargo +nightly udeps --features extra`. Removes 2 crates and should remove an unnecessary intra-workspace dependency which might open up further opportunities for compilation. * Make windows-only dependency conditional in toml `omnipath` is only used on Windows and already behind a `#[cfg]` block in the code. Made the dependency in `Cargo.toml` conditional as well. * Make `nu-pretty-hex` example a proper example This allows making `rand` a dev-dependency in this crate.
18 lines
422 B
TOML
18 lines
422 B
TOML
[package]
|
|
authors = ["The Nushell Project Developers"]
|
|
description = "Path handling library for Nushell"
|
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-path"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "nu-path"
|
|
version = "0.70.1"
|
|
|
|
[dependencies]
|
|
dirs-next = "2.0.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
omnipath = "0.1.1"
|
|
|
|
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
|
|
pwd = "1.3.1"
|