mirror of
https://github.com/nushell/nushell.git
synced 2024-11-08 01:24:38 +01:00
1cd70d7505
# Description This disables automatic detection of `#[bench]` and other benchmarks within the crates. Our benchmarks should all live in `benches` This fixes a problem with criterion flags and should also reduce the build requirements for `cargo bench` a bit Taken from https://github.com/nushell/nushell/pull/7952 See: https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options # User-Facing Changes None
21 lines
443 B
TOML
21 lines
443 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.75.1"
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[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"
|