# 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 = "2024"
rust-version = "1.95.0"
name = "nu-path"
version = "0.114.0"
authors = ["The Nushell Project Developers"]
build = false
exclude = ["/fuzz"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Path handling library for Nushell"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-path"

[lib]
name = "nu_path"
path = "src/lib.rs"
bench = false

[dependencies.dirs]
version = "6.0"

[dependencies.ref-cast]
version = "1.0.25"

[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "android")))'.dependencies.pwd]
version = "1.4"

[target."cfg(windows)".dependencies.omnipath]
version = "0.1"

[lints.clippy]
collapsible_match = "allow"
format_push_string = "warn"
needless_raw_strings = "warn"
result_large_err = "allow"
unchecked_time_subtraction = "warn"
unwrap_used = "deny"
used_underscore_binding = "warn"
