mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:26:01 +02:00
Merge branch 'main' into add_agg_by_command
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -98,9 +98,10 @@ jobs:
|
|||||||
TARGET: ${{ matrix.target }}
|
TARGET: ${{ matrix.target }}
|
||||||
_EXTRA_: ${{ matrix.extra }}
|
_EXTRA_: ${{ matrix.extra }}
|
||||||
|
|
||||||
# REF: https://github.com/marketplace/actions/gh-release
|
# WARN: Don't upgrade this action due to the release per asset issue.
|
||||||
|
# See: https://github.com/softprops/action-gh-release/issues/445
|
||||||
- name: Publish Archive
|
- name: Publish Archive
|
||||||
uses: softprops/action-gh-release@v2.0.9
|
uses: softprops/action-gh-release@v2.0.5
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
@ -124,7 +125,7 @@ jobs:
|
|||||||
- name: Create Checksums
|
- name: Create Checksums
|
||||||
run: cd release && shasum -a 256 * > ../SHA256SUMS
|
run: cd release && shasum -a 256 * > ../SHA256SUMS
|
||||||
- name: Publish Checksums
|
- name: Publish Checksums
|
||||||
uses: softprops/action-gh-release@v2.0.9
|
uses: softprops/action-gh-release@v2.0.5
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
files: SHA256SUMS
|
files: SHA256SUMS
|
||||||
|
2
.github/workflows/typos.yml
vendored
2
.github/workflows/typos.yml
vendored
@ -10,4 +10,4 @@ jobs:
|
|||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: Check spelling
|
- name: Check spelling
|
||||||
uses: crate-ci/typos@v1.27.0
|
uses: crate-ci/typos@v1.27.3
|
||||||
|
103
Cargo.lock
generated
103
Cargo.lock
generated
@ -2401,9 +2401,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.158"
|
version = "0.2.162"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439"
|
checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libflate"
|
name = "libflate"
|
||||||
@ -2805,9 +2805,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mockito"
|
name = "mockito"
|
||||||
version = "1.5.0"
|
version = "1.6.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "09b34bd91b9e5c5b06338d392463e1318d683cf82ec3d3af4014609be6e2108d"
|
checksum = "652cd6d169a36eaf9d1e6bce1a221130439a966d7f27858af66a33a66e9c4ee2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert-json-diff",
|
"assert-json-diff",
|
||||||
"bytes",
|
"bytes",
|
||||||
@ -2971,7 +2971,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu"
|
name = "nu"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"crossterm 0.28.1",
|
"crossterm 0.28.1",
|
||||||
@ -3026,7 +3026,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-cli"
|
name = "nu-cli"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm 0.28.1",
|
"crossterm 0.28.1",
|
||||||
@ -3060,7 +3060,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-cmd-base"
|
name = "nu-cmd-base"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"miette",
|
"miette",
|
||||||
@ -3072,7 +3072,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-cmd-extra"
|
name = "nu-cmd-extra"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
"heck",
|
"heck",
|
||||||
@ -3097,7 +3097,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-cmd-lang"
|
name = "nu-cmd-lang"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"itertools 0.13.0",
|
"itertools 0.13.0",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
@ -3109,7 +3109,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-cmd-plugin"
|
name = "nu-cmd-plugin"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"itertools 0.13.0",
|
"itertools 0.13.0",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
@ -3120,7 +3120,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-color-config"
|
name = "nu-color-config"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
@ -3132,7 +3132,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-command"
|
name = "nu-command"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alphanumeric-sort",
|
"alphanumeric-sort",
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
@ -3242,7 +3242,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-derive-value"
|
name = "nu-derive-value"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck",
|
"heck",
|
||||||
"proc-macro-error",
|
"proc-macro-error",
|
||||||
@ -3253,7 +3253,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-engine"
|
name = "nu-engine"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"nu-glob",
|
"nu-glob",
|
||||||
@ -3265,7 +3265,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-explore"
|
name = "nu-explore"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi-str",
|
"ansi-str",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@ -3290,14 +3290,14 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-glob"
|
name = "nu-glob"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"doc-comment",
|
"doc-comment",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-json"
|
name = "nu-json"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
"linked-hash-map",
|
"linked-hash-map",
|
||||||
@ -3310,7 +3310,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-lsp"
|
name = "nu-lsp"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert-json-diff",
|
"assert-json-diff",
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
@ -3331,7 +3331,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-parser"
|
name = "nu-parser"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bytesize",
|
"bytesize",
|
||||||
"chrono",
|
"chrono",
|
||||||
@ -3348,7 +3348,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-path"
|
name = "nu-path"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"dirs",
|
"dirs",
|
||||||
"omnipath",
|
"omnipath",
|
||||||
@ -3357,7 +3357,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-plugin"
|
name = "nu-plugin"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"nix 0.29.0",
|
"nix 0.29.0",
|
||||||
@ -3373,7 +3373,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-plugin-core"
|
name = "nu-plugin-core"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"interprocess",
|
"interprocess",
|
||||||
"log",
|
"log",
|
||||||
@ -3387,7 +3387,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-plugin-engine"
|
name = "nu-plugin-engine"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
@ -3403,7 +3403,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-plugin-protocol"
|
name = "nu-plugin-protocol"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
@ -3415,7 +3415,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-plugin-test-support"
|
name = "nu-plugin-test-support"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
"nu-cmd-lang",
|
"nu-cmd-lang",
|
||||||
@ -3433,7 +3433,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-pretty-hex"
|
name = "nu-pretty-hex"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heapless",
|
"heapless",
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
@ -3442,7 +3442,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-protocol"
|
name = "nu-protocol"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"brotli",
|
"brotli",
|
||||||
"byte-unit",
|
"byte-unit",
|
||||||
@ -3480,7 +3480,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-std"
|
name = "nu-std"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"miette",
|
"miette",
|
||||||
@ -3491,7 +3491,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-system"
|
name = "nu-system"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"itertools 0.13.0",
|
"itertools 0.13.0",
|
||||||
@ -3508,7 +3508,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-table"
|
name = "nu-table"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
"nu-ansi-term",
|
"nu-ansi-term",
|
||||||
@ -3522,7 +3522,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-term-grid"
|
name = "nu-term-grid"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-utils",
|
"nu-utils",
|
||||||
"unicode-width",
|
"unicode-width",
|
||||||
@ -3530,7 +3530,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-test-support"
|
name = "nu-test-support"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-glob",
|
"nu-glob",
|
||||||
"nu-path",
|
"nu-path",
|
||||||
@ -3542,7 +3542,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu-utils"
|
name = "nu-utils"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crossterm_winapi",
|
"crossterm_winapi",
|
||||||
"fancy-regex",
|
"fancy-regex",
|
||||||
@ -3569,7 +3569,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_example"
|
name = "nu_plugin_example"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-cmd-lang",
|
"nu-cmd-lang",
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
@ -3579,7 +3579,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_formats"
|
name = "nu_plugin_formats"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"eml-parser",
|
"eml-parser",
|
||||||
@ -3594,7 +3594,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_gstat"
|
name = "nu_plugin_gstat"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"git2",
|
"git2",
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
@ -3603,7 +3603,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_inc"
|
name = "nu_plugin_inc"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
"nu-protocol",
|
"nu-protocol",
|
||||||
@ -3612,7 +3612,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_polars"
|
name = "nu_plugin_polars"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"chrono-tz 0.10.0",
|
"chrono-tz 0.10.0",
|
||||||
@ -3647,7 +3647,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_query"
|
name = "nu_plugin_query"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"gjson",
|
"gjson",
|
||||||
"nu-plugin",
|
"nu-plugin",
|
||||||
@ -3662,7 +3662,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nu_plugin_stress_internals"
|
name = "nu_plugin_stress_internals"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"interprocess",
|
"interprocess",
|
||||||
"serde",
|
"serde",
|
||||||
@ -3776,7 +3776,7 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nuon"
|
name = "nuon"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"nu-engine",
|
"nu-engine",
|
||||||
@ -5178,8 +5178,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "reedline"
|
name = "reedline"
|
||||||
version = "0.36.0"
|
version = "0.37.0"
|
||||||
source = "git+https://github.com/nushell/reedline?branch=main#7a1b344a9f6314bc801bf82f42bf739a11a78fe3"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "9834765acaa2deedf29197f2da3d309801683beb20e25775bc0249f97a7b9a74"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arboard",
|
"arboard",
|
||||||
"chrono",
|
"chrono",
|
||||||
@ -5475,9 +5476,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustix"
|
name = "rustix"
|
||||||
version = "0.38.37"
|
version = "0.38.40"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811"
|
checksum = "99e4ea3e1cdc4b559b8e5650f9c8e5998e3e5c1343b4eaf034565f32318d63c0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 2.6.0",
|
"bitflags 2.6.0",
|
||||||
"errno",
|
"errno",
|
||||||
@ -5712,9 +5713,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serial_test"
|
name = "serial_test"
|
||||||
version = "3.1.1"
|
version = "3.2.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4b4b487fe2acf240a021cf57c6b2b4903b1e78ca0ecd862a71b71d2a51fed77d"
|
checksum = "1b258109f244e1d6891bf1053a55d63a5cd4f8f4c30cf9a1280989f80e7a1fa9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"futures",
|
"futures",
|
||||||
"log",
|
"log",
|
||||||
@ -5726,9 +5727,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serial_test_derive"
|
name = "serial_test_derive"
|
||||||
version = "3.1.1"
|
version = "3.2.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "82fe9db325bcef1fbcde82e078a5cc4efdf787e96b3b9cf45b50b529f2083d67"
|
checksum = "5d69265a08751de7844521fd15003ae0a888e035773ba05695c5c759a6f89eef"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
@ -6195,9 +6196,9 @@ checksum = "c1bbb9f3c5c463a01705937a24fdabc5047929ac764b2d5b9cf681c1f5041ed5"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tempfile"
|
name = "tempfile"
|
||||||
version = "3.13.0"
|
version = "3.14.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b"
|
checksum = "28cce251fcbc87fac86a866eeb0d6c2d536fc16d06f184bb61aeae11aa4cee0c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"fastrand",
|
"fastrand",
|
||||||
|
50
Cargo.toml
50
Cargo.toml
@ -11,7 +11,7 @@ license = "MIT"
|
|||||||
name = "nu"
|
name = "nu"
|
||||||
repository = "https://github.com/nushell/nushell"
|
repository = "https://github.com/nushell/nushell"
|
||||||
rust-version = "1.80.1"
|
rust-version = "1.80.1"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ md5 = { version = "0.10", package = "md-5" }
|
|||||||
miette = "7.2"
|
miette = "7.2"
|
||||||
mime = "0.3.17"
|
mime = "0.3.17"
|
||||||
mime_guess = "2.0"
|
mime_guess = "2.0"
|
||||||
mockito = { version = "1.5", default-features = false }
|
mockito = { version = "1.6", default-features = false }
|
||||||
multipart-rs = "0.1.11"
|
multipart-rs = "0.1.11"
|
||||||
native-tls = "0.2"
|
native-tls = "0.2"
|
||||||
nix = { version = "0.29", default-features = false }
|
nix = { version = "0.29", default-features = false }
|
||||||
@ -137,7 +137,7 @@ rand = "0.8"
|
|||||||
rand_chacha = "0.3.1"
|
rand_chacha = "0.3.1"
|
||||||
ratatui = "0.26"
|
ratatui = "0.26"
|
||||||
rayon = "1.10"
|
rayon = "1.10"
|
||||||
reedline = "0.36.0"
|
reedline = "0.37.0"
|
||||||
regex = "1.9.5"
|
regex = "1.9.5"
|
||||||
rmp = "0.8"
|
rmp = "0.8"
|
||||||
rmp-serde = "1.3"
|
rmp-serde = "1.3"
|
||||||
@ -155,7 +155,7 @@ strip-ansi-escapes = "0.2.0"
|
|||||||
syn = "2.0"
|
syn = "2.0"
|
||||||
sysinfo = "0.32"
|
sysinfo = "0.32"
|
||||||
tabled = { version = "0.16.0", default-features = false }
|
tabled = { version = "0.16.0", default-features = false }
|
||||||
tempfile = "3.13"
|
tempfile = "3.14"
|
||||||
terminal_size = "0.3"
|
terminal_size = "0.3"
|
||||||
titlecase = "2.0"
|
titlecase = "2.0"
|
||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
@ -189,22 +189,22 @@ unchecked_duration_subtraction = "warn"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cli = { path = "./crates/nu-cli", version = "0.99.2" }
|
nu-cli = { path = "./crates/nu-cli", version = "0.100.1" }
|
||||||
nu-cmd-base = { path = "./crates/nu-cmd-base", version = "0.99.2" }
|
nu-cmd-base = { path = "./crates/nu-cmd-base", version = "0.100.1" }
|
||||||
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "./crates/nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-cmd-plugin = { path = "./crates/nu-cmd-plugin", version = "0.99.2", optional = true }
|
nu-cmd-plugin = { path = "./crates/nu-cmd-plugin", version = "0.100.1", optional = true }
|
||||||
nu-cmd-extra = { path = "./crates/nu-cmd-extra", version = "0.99.2" }
|
nu-cmd-extra = { path = "./crates/nu-cmd-extra", version = "0.100.1" }
|
||||||
nu-command = { path = "./crates/nu-command", version = "0.99.2" }
|
nu-command = { path = "./crates/nu-command", version = "0.100.1" }
|
||||||
nu-engine = { path = "./crates/nu-engine", version = "0.99.2" }
|
nu-engine = { path = "./crates/nu-engine", version = "0.100.1" }
|
||||||
nu-explore = { path = "./crates/nu-explore", version = "0.99.2" }
|
nu-explore = { path = "./crates/nu-explore", version = "0.100.1" }
|
||||||
nu-lsp = { path = "./crates/nu-lsp/", version = "0.99.2" }
|
nu-lsp = { path = "./crates/nu-lsp/", version = "0.100.1" }
|
||||||
nu-parser = { path = "./crates/nu-parser", version = "0.99.2" }
|
nu-parser = { path = "./crates/nu-parser", version = "0.100.1" }
|
||||||
nu-path = { path = "./crates/nu-path", version = "0.99.2" }
|
nu-path = { path = "./crates/nu-path", version = "0.100.1" }
|
||||||
nu-plugin-engine = { path = "./crates/nu-plugin-engine", optional = true, version = "0.99.2" }
|
nu-plugin-engine = { path = "./crates/nu-plugin-engine", optional = true, version = "0.100.1" }
|
||||||
nu-protocol = { path = "./crates/nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "./crates/nu-protocol", version = "0.100.1" }
|
||||||
nu-std = { path = "./crates/nu-std", version = "0.99.2" }
|
nu-std = { path = "./crates/nu-std", version = "0.100.1" }
|
||||||
nu-system = { path = "./crates/nu-system", version = "0.99.2" }
|
nu-system = { path = "./crates/nu-system", version = "0.100.1" }
|
||||||
nu-utils = { path = "./crates/nu-utils", version = "0.99.2" }
|
nu-utils = { path = "./crates/nu-utils", version = "0.100.1" }
|
||||||
reedline = { workspace = true, features = ["bashisms", "sqlite"] }
|
reedline = { workspace = true, features = ["bashisms", "sqlite"] }
|
||||||
|
|
||||||
crossterm = { workspace = true }
|
crossterm = { workspace = true }
|
||||||
@ -234,16 +234,16 @@ nix = { workspace = true, default-features = false, features = [
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path = "./crates/nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "./crates/nu-test-support", version = "0.100.1" }
|
||||||
nu-plugin-protocol = { path = "./crates/nu-plugin-protocol", version = "0.99.2" }
|
nu-plugin-protocol = { path = "./crates/nu-plugin-protocol", version = "0.100.1" }
|
||||||
nu-plugin-core = { path = "./crates/nu-plugin-core", version = "0.99.2" }
|
nu-plugin-core = { path = "./crates/nu-plugin-core", version = "0.100.1" }
|
||||||
assert_cmd = "2.0"
|
assert_cmd = "2.0"
|
||||||
dirs = { workspace = true }
|
dirs = { workspace = true }
|
||||||
tango-bench = "0.6"
|
tango-bench = "0.6"
|
||||||
pretty_assertions = { workspace = true }
|
pretty_assertions = { workspace = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
rstest = { workspace = true, default-features = false }
|
rstest = { workspace = true, default-features = false }
|
||||||
serial_test = "3.1"
|
serial_test = "3.2"
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
@ -313,7 +313,7 @@ bench = false
|
|||||||
# To use a development version of a dependency please use a global override here
|
# To use a development version of a dependency please use a global override here
|
||||||
# changing versions in each sub-crate of the workspace is tedious
|
# changing versions in each sub-crate of the workspace is tedious
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
reedline = { git = "https://github.com/nushell/reedline", branch = "main" }
|
# reedline = { git = "https://github.com/nushell/reedline", branch = "main" }
|
||||||
# nu-ansi-term = {git = "https://github.com/nushell/nu-ansi-term.git", branch = "main"}
|
# nu-ansi-term = {git = "https://github.com/nushell/nu-ansi-term.git", branch = "main"}
|
||||||
|
|
||||||
# Run all benchmarks with `cargo bench`
|
# Run all benchmarks with `cargo bench`
|
||||||
|
@ -5,27 +5,27 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cli"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-cli"
|
name = "nu-cli"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-command = { path = "../nu-command", version = "0.99.2" }
|
nu-command = { path = "../nu-command", version = "0.100.1" }
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
||||||
rstest = { workspace = true, default-features = false }
|
rstest = { workspace = true, default-features = false }
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cmd-base = { path = "../nu-cmd-base", version = "0.99.2" }
|
nu-cmd-base = { path = "../nu-cmd-base", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.99.2", optional = true }
|
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.100.1", optional = true }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
nu-color-config = { path = "../nu-color-config", version = "0.99.2" }
|
nu-color-config = { path = "../nu-color-config", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
reedline = { workspace = true, features = ["bashisms", "sqlite"] }
|
reedline = { workspace = true, features = ["bashisms", "sqlite"] }
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-cmd-base"
|
name = "nu-cmd-base"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-base"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -13,10 +13,10 @@ version = "0.99.2"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
|
|
||||||
indexmap = { workspace = true }
|
indexmap = { workspace = true }
|
||||||
miette = { workspace = true }
|
miette = { workspace = true }
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-cmd-extra"
|
name = "nu-cmd-extra"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-extra"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -16,13 +16,13 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cmd-base = { path = "../nu-cmd-base", version = "0.99.2" }
|
nu-cmd-base = { path = "../nu-cmd-base", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-json = { version = "0.99.2", path = "../nu-json" }
|
nu-json = { version = "0.100.1", path = "../nu-json" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-pretty-hex = { version = "0.99.2", path = "../nu-pretty-hex" }
|
nu-pretty-hex = { version = "0.100.1", path = "../nu-pretty-hex" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
# Potential dependencies for extras
|
# Potential dependencies for extras
|
||||||
heck = { workspace = true }
|
heck = { workspace = true }
|
||||||
@ -36,6 +36,6 @@ v_htmlescape = { workspace = true }
|
|||||||
itertools = { workspace = true }
|
itertools = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-command = { path = "../nu-command", version = "0.99.2" }
|
nu-command = { path = "../nu-command", version = "0.100.1" }
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
@ -6,7 +6,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-lang"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-cmd-lang"
|
name = "nu-cmd-lang"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -15,10 +15,10 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
itertools = { workspace = true }
|
itertools = { workspace = true }
|
||||||
shadow-rs = { version = "0.35", default-features = false }
|
shadow-rs = { version = "0.35", default-features = false }
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-cmd-plugin"
|
name = "nu-cmd-plugin"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-plugin"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-plugin"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -13,10 +13,10 @@ version = "0.99.2"
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.99.2" }
|
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.100.1" }
|
||||||
|
|
||||||
itertools = { workspace = true }
|
itertools = { workspace = true }
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-color-confi
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-color-config"
|
name = "nu-color-config"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,12 +14,12 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-json = { path = "../nu-json", version = "0.99.2" }
|
nu-json = { path = "../nu-json", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
|
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-command"
|
name = "nu-command"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-command"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-command"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -16,21 +16,21 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cmd-base = { path = "../nu-cmd-base", version = "0.99.2" }
|
nu-cmd-base = { path = "../nu-cmd-base", version = "0.100.1" }
|
||||||
nu-color-config = { path = "../nu-color-config", version = "0.99.2" }
|
nu-color-config = { path = "../nu-color-config", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-glob = { path = "../nu-glob", version = "0.99.2" }
|
nu-glob = { path = "../nu-glob", version = "0.100.1" }
|
||||||
nu-json = { path = "../nu-json", version = "0.99.2" }
|
nu-json = { path = "../nu-json", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.99.2" }
|
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-system = { path = "../nu-system", version = "0.99.2" }
|
nu-system = { path = "../nu-system", version = "0.100.1" }
|
||||||
nu-table = { path = "../nu-table", version = "0.99.2" }
|
nu-table = { path = "../nu-table", version = "0.100.1" }
|
||||||
nu-term-grid = { path = "../nu-term-grid", version = "0.99.2" }
|
nu-term-grid = { path = "../nu-term-grid", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
nuon = { path = "../nuon", version = "0.99.2" }
|
nuon = { path = "../nuon", version = "0.100.1" }
|
||||||
|
|
||||||
alphanumeric-sort = { workspace = true }
|
alphanumeric-sort = { workspace = true }
|
||||||
base64 = { workspace = true }
|
base64 = { workspace = true }
|
||||||
@ -139,8 +139,8 @@ sqlite = ["rusqlite"]
|
|||||||
trash-support = ["trash"]
|
trash-support = ["trash"]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
||||||
|
|
||||||
dirs = { workspace = true }
|
dirs = { workspace = true }
|
||||||
mockito = { workspace = true, default-features = false }
|
mockito = { workspace = true, default-features = false }
|
||||||
|
@ -128,8 +128,13 @@ impl Command for SubCommand {
|
|||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
Example {
|
Example {
|
||||||
description: "Upload a file to example.com",
|
description: "Upload a binary file to example.com",
|
||||||
example: "http post --content-type multipart/form-data https://www.example.com { file: (open -r file.mp3 | into binary) }",
|
example: "http post --content-type multipart/form-data https://www.example.com { file: (open -r file.mp3) }",
|
||||||
|
result: None,
|
||||||
|
},
|
||||||
|
Example {
|
||||||
|
description: "Convert a text file into binary and upload it to example.com",
|
||||||
|
example: "http post --content-type multipart/form-data https://www.example.com { file: (open -r file.txt | into binary) }",
|
||||||
result: None,
|
result: None,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
@ -141,3 +141,10 @@ fn mut_raw_string() {
|
|||||||
let actual = nu!(r#"mut x = r#'abc'#; $x"#);
|
let actual = nu!(r#"mut x = r#'abc'#; $x"#);
|
||||||
assert_eq!(actual.out, "abc");
|
assert_eq!(actual.out, "abc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn def_should_not_mutate_mut() {
|
||||||
|
let actual = nu!("mut a = 3; def foo [] { $a = 4}");
|
||||||
|
assert!(actual.err.contains("capture of mutable variable"));
|
||||||
|
assert!(!actual.status.success())
|
||||||
|
}
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-derive-value"
|
name = "nu-derive-value"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-derive-value"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-derive-value"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-engine"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-engine"
|
name = "nu-engine"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,10 +14,10 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", features = ["plugin"], version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", features = ["plugin"], version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-glob = { path = "../nu-glob", version = "0.99.2" }
|
nu-glob = { path = "../nu-glob", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
terminal_size = { workspace = true }
|
terminal_size = { workspace = true }
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-explore"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-explore"
|
name = "nu-explore"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,16 +14,16 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-color-config = { path = "../nu-color-config", version = "0.99.2" }
|
nu-color-config = { path = "../nu-color-config", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-table = { path = "../nu-table", version = "0.99.2" }
|
nu-table = { path = "../nu-table", version = "0.100.1" }
|
||||||
nu-json = { path = "../nu-json", version = "0.99.2" }
|
nu-json = { path = "../nu-json", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.99.2" }
|
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.100.1" }
|
||||||
|
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nu-glob"
|
name = "nu-glob"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
authors = ["The Nushell Project Developers", "The Rust Project Developers"]
|
authors = ["The Nushell Project Developers", "The Rust Project Developers"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
description = """
|
description = """
|
||||||
|
@ -1144,8 +1144,17 @@ mod test {
|
|||||||
use std::io;
|
use std::io;
|
||||||
let mut iter = glob("/root/*").unwrap();
|
let mut iter = glob("/root/*").unwrap();
|
||||||
|
|
||||||
// Skip test if running with permissions to read /root
|
match std::fs::read_dir("/root/") {
|
||||||
if std::fs::read_dir("/root/").is_err() {
|
// skip if running with permissions to read /root
|
||||||
|
Ok(_) => {}
|
||||||
|
|
||||||
|
// skip if /root doesn't exist
|
||||||
|
Err(err) if err.kind() == io::ErrorKind::NotFound => {
|
||||||
|
assert!(iter.count() == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// should otherwise return a single match with permission error
|
||||||
|
Err(_) => {
|
||||||
// GlobErrors shouldn't halt iteration
|
// GlobErrors shouldn't halt iteration
|
||||||
let next = iter.next();
|
let next = iter.next();
|
||||||
assert!(next.is_some());
|
assert!(next.is_some());
|
||||||
@ -1158,6 +1167,7 @@ mod test {
|
|||||||
assert!(err.error().kind() == io::ErrorKind::PermissionDenied);
|
assert!(err.error().kind() == io::ErrorKind::PermissionDenied);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_absolute_pattern() {
|
fn test_absolute_pattern() {
|
||||||
|
@ -8,7 +8,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-json"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-json"
|
name = "nu-json"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ serde = { workspace = true }
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
fancy-regex = "0.14.0"
|
fancy-regex = "0.14.0"
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@ authors = ["The Nushell Project Developers"]
|
|||||||
description = "Nushell's integrated LSP server"
|
description = "Nushell's integrated LSP server"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-lsp"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-lsp"
|
||||||
name = "nu-lsp"
|
name = "nu-lsp"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-cli = { path = "../nu-cli", version = "0.99.2" }
|
nu-cli = { path = "../nu-cli", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
|
|
||||||
reedline = { workspace = true }
|
reedline = { workspace = true }
|
||||||
|
|
||||||
@ -23,9 +23,9 @@ serde = { workspace = true }
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-command = { path = "../nu-command", version = "0.99.2" }
|
nu-command = { path = "../nu-command", version = "0.100.1" }
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
||||||
|
|
||||||
assert-json-diff = "2.0"
|
assert-json-diff = "2.0"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-parser"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-parser"
|
name = "nu-parser"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
exclude = ["/fuzz"]
|
exclude = ["/fuzz"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
@ -15,11 +15,11 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-plugin-engine = { path = "../nu-plugin-engine", optional = true, version = "0.99.2" }
|
nu-plugin-engine = { path = "../nu-plugin-engine", optional = true, version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
bytesize = { workspace = true }
|
bytesize = { workspace = true }
|
||||||
chrono = { default-features = false, features = ['std'], workspace = true }
|
chrono = { default-features = false, features = ['std'], workspace = true }
|
||||||
|
@ -88,6 +88,7 @@ pub fn math_result_type(
|
|||||||
(Type::Float, Type::Number) => (Type::Number, None),
|
(Type::Float, Type::Number) => (Type::Number, None),
|
||||||
(Type::String, Type::String) => (Type::String, None),
|
(Type::String, Type::String) => (Type::String, None),
|
||||||
(Type::Date, Type::Duration) => (Type::Date, None),
|
(Type::Date, Type::Duration) => (Type::Date, None),
|
||||||
|
(Type::Duration, Type::Date) => (Type::Date, None),
|
||||||
(Type::Duration, Type::Duration) => (Type::Duration, None),
|
(Type::Duration, Type::Duration) => (Type::Duration, None),
|
||||||
(Type::Filesize, Type::Filesize) => (Type::Filesize, None),
|
(Type::Filesize, Type::Filesize) => (Type::Filesize, None),
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-path"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-path"
|
name = "nu-path"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
exclude = ["/fuzz"]
|
exclude = ["/fuzz"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-core
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-plugin-core"
|
name = "nu-plugin-core"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,8 +14,8 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.99.2", default-features = false }
|
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.100.1", default-features = false }
|
||||||
|
|
||||||
rmp-serde = { workspace = true }
|
rmp-serde = { workspace = true }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-engi
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-plugin-engine"
|
name = "nu-plugin-engine"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,12 +14,12 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-system = { path = "../nu-system", version = "0.99.2" }
|
nu-system = { path = "../nu-system", version = "0.100.1" }
|
||||||
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.99.2" }
|
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.100.1" }
|
||||||
nu-plugin-core = { path = "../nu-plugin-core", version = "0.99.2", default-features = false }
|
nu-plugin-core = { path = "../nu-plugin-core", version = "0.100.1", default-features = false }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin-prot
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-plugin-protocol"
|
name = "nu-plugin-protocol"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,8 +14,8 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
rmp-serde = { workspace = true }
|
rmp-serde = { workspace = true }
|
||||||
serde = { workspace = true, features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "nu-plugin-test-support"
|
name = "nu-plugin-test-support"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
description = "Testing support for Nushell plugins"
|
description = "Testing support for Nushell plugins"
|
||||||
@ -15,14 +15,14 @@ workspace = true
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2", features = ["plugin"] }
|
nu-engine = { path = "../nu-engine", version = "0.100.1", features = ["plugin"] }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2", features = ["plugin"] }
|
nu-parser = { path = "../nu-parser", version = "0.100.1", features = ["plugin"] }
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-plugin-core = { path = "../nu-plugin-core", version = "0.99.2" }
|
nu-plugin-core = { path = "../nu-plugin-core", version = "0.100.1" }
|
||||||
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.99.2" }
|
nu-plugin-engine = { path = "../nu-plugin-engine", version = "0.100.1" }
|
||||||
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.99.2" }
|
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.100.1" }
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
similar = "2.6"
|
similar = "2.6"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-plugin"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-plugin"
|
name = "nu-plugin"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,11 +14,11 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.99.2" }
|
nu-plugin-protocol = { path = "../nu-plugin-protocol", version = "0.100.1" }
|
||||||
nu-plugin-core = { path = "../nu-plugin-core", version = "0.99.2", default-features = false }
|
nu-plugin-core = { path = "../nu-plugin-core", version = "0.100.1", default-features = false }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
log = { workspace = true }
|
log = { workspace = true }
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-pretty-hex"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-pretty-hex"
|
name = "nu-pretty-hex"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-protocol"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-protocol"
|
name = "nu-protocol"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -16,10 +16,10 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-system = { path = "../nu-system", version = "0.99.2" }
|
nu-system = { path = "../nu-system", version = "0.100.1" }
|
||||||
nu-derive-value = { path = "../nu-derive-value", version = "0.99.2" }
|
nu-derive-value = { path = "../nu-derive-value", version = "0.100.1" }
|
||||||
|
|
||||||
brotli = { workspace = true, optional = true }
|
brotli = { workspace = true, optional = true }
|
||||||
bytes = { workspace = true }
|
bytes = { workspace = true }
|
||||||
@ -58,8 +58,8 @@ plugin = [
|
|||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
strum = "0.26"
|
strum = "0.26"
|
||||||
strum_macros = "0.26"
|
strum_macros = "0.26"
|
||||||
nu-test-support = { path = "../nu-test-support", version = "0.99.2" }
|
nu-test-support = { path = "../nu-test-support", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
pretty_assertions = { workspace = true }
|
pretty_assertions = { workspace = true }
|
||||||
rstest = { workspace = true }
|
rstest = { workspace = true }
|
||||||
tempfile = { workspace = true }
|
tempfile = { workspace = true }
|
||||||
|
@ -2444,6 +2444,17 @@ impl Value {
|
|||||||
Ok(Value::string(lhs.to_string() + rhs, span))
|
Ok(Value::string(lhs.to_string() + rhs, span))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(Value::Duration { val: lhs, .. }, Value::Date { val: rhs, .. }) => {
|
||||||
|
if let Some(val) = rhs.checked_add_signed(chrono::Duration::nanoseconds(*lhs)) {
|
||||||
|
Ok(Value::date(val, span))
|
||||||
|
} else {
|
||||||
|
Err(ShellError::OperatorOverflow {
|
||||||
|
msg: "addition operation overflowed".into(),
|
||||||
|
span,
|
||||||
|
help: None,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
(Value::Date { val: lhs, .. }, Value::Duration { val: rhs, .. }) => {
|
(Value::Date { val: lhs, .. }, Value::Duration { val: rhs, .. }) => {
|
||||||
if let Some(val) = lhs.checked_add_signed(chrono::Duration::nanoseconds(*rhs)) {
|
if let Some(val) = lhs.checked_add_signed(chrono::Duration::nanoseconds(*rhs)) {
|
||||||
Ok(Value::date(val, span))
|
Ok(Value::date(val, span))
|
||||||
|
@ -5,12 +5,12 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-std"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-std"
|
name = "nu-std"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-parser = { version = "0.99.2", path = "../nu-parser" }
|
nu-parser = { version = "0.100.1", path = "../nu-parser" }
|
||||||
nu-protocol = { version = "0.99.2", path = "../nu-protocol" }
|
nu-protocol = { version = "0.100.1", path = "../nu-protocol" }
|
||||||
nu-engine = { version = "0.99.2", path = "../nu-engine" }
|
nu-engine = { version = "0.100.1", path = "../nu-engine" }
|
||||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||||
|
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
@ -3,7 +3,7 @@ authors = ["The Nushell Project Developers", "procs creators"]
|
|||||||
description = "Nushell system querying"
|
description = "Nushell system querying"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-system"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-system"
|
||||||
name = "nu-system"
|
name = "nu-system"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-table"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-table"
|
name = "nu-table"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,14 +14,14 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-color-config = { path = "../nu-color-config", version = "0.99.2" }
|
nu-color-config = { path = "../nu-color-config", version = "0.100.1" }
|
||||||
nu-ansi-term = { workspace = true }
|
nu-ansi-term = { workspace = true }
|
||||||
fancy-regex = { workspace = true }
|
fancy-regex = { workspace = true }
|
||||||
tabled = { workspace = true, features = ["ansi"], default-features = false }
|
tabled = { workspace = true, features = ["ansi"], default-features = false }
|
||||||
terminal_size = { workspace = true }
|
terminal_size = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# nu-test-support = { path="../nu-test-support", version = "0.99.2" }
|
# nu-test-support = { path="../nu-test-support", version = "0.100.1" }
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-term-grid"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-term-grid"
|
name = "nu-term-grid"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
@ -14,6 +14,6 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
unicode-width = { workspace = true }
|
unicode-width = { workspace = true }
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu-test-suppor
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-test-support"
|
name = "nu-test-support"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
@ -15,9 +15,9 @@ bench = false
|
|||||||
workspace = true
|
workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-glob = { path = "../nu-glob", version = "0.99.2" }
|
nu-glob = { path = "../nu-glob", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
num-format = { workspace = true }
|
num-format = { workspace = true }
|
||||||
which = { workspace = true }
|
which = { workspace = true }
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu-utils"
|
name = "nu-utils"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Nushell Config File
|
# Nushell Config File
|
||||||
#
|
#
|
||||||
# version = "0.99.2"
|
# version = "0.100.1"
|
||||||
|
|
||||||
# For more information on defining custom themes, see
|
# For more information on defining custom themes, see
|
||||||
# https://www.nushell.sh/book/coloring_and_theming.html
|
# https://www.nushell.sh/book/coloring_and_theming.html
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Nushell Environment Config File
|
# Nushell Environment Config File
|
||||||
#
|
#
|
||||||
# version = "0.99.2"
|
# version = "0.100.1"
|
||||||
|
|
||||||
def create_left_prompt [] {
|
def create_left_prompt [] {
|
||||||
let dir = match (do --ignore-shell-errors { $env.PWD | path relative-to $nu.home-path }) {
|
let dir = match (do --ignore-shell-errors { $env.PWD | path relative-to $nu.home-path }) {
|
||||||
|
@ -10,10 +10,10 @@ name = "nu_plugin_custom_values"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
typetag = "0.2"
|
typetag = "0.2"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.99.2" }
|
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.100.1" }
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_exam
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_example"
|
name = "nu_plugin_example"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "nu_plugin_example"
|
name = "nu_plugin_example"
|
||||||
@ -15,9 +15,9 @@ bench = false
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.99.2" }
|
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.100.1" }
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
@ -5,12 +5,12 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_form
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_formats"
|
name = "nu_plugin_formats"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
|
|
||||||
indexmap = { workspace = true }
|
indexmap = { workspace = true }
|
||||||
eml-parser = "0.1"
|
eml-parser = "0.1"
|
||||||
@ -20,4 +20,4 @@ plist = "1.7"
|
|||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.99.2" }
|
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.100.1" }
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gsta
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_gstat"
|
name = "nu_plugin_gstat"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
@ -16,7 +16,7 @@ name = "nu_plugin_gstat"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
|
|
||||||
git2 = "0.19"
|
git2 = "0.19"
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_inc"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_inc"
|
name = "nu_plugin_inc"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
@ -16,7 +16,7 @@ name = "nu_plugin_inc"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2", features = ["plugin"] }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1", features = ["plugin"] }
|
||||||
|
|
||||||
semver = "1.0"
|
semver = "1.0"
|
@ -6,7 +6,7 @@
|
|||||||
# it also allows us to test the plugin interface with something manually implemented in a scripting
|
# it also allows us to test the plugin interface with something manually implemented in a scripting
|
||||||
# language without adding any extra dependencies to our tests.
|
# language without adding any extra dependencies to our tests.
|
||||||
|
|
||||||
const NUSHELL_VERSION = "0.99.2"
|
const NUSHELL_VERSION = "0.100.1"
|
||||||
const PLUGIN_VERSION = "0.1.1" # bump if you change commands!
|
const PLUGIN_VERSION = "0.1.1" # bump if you change commands!
|
||||||
|
|
||||||
def main [--stdio] {
|
def main [--stdio] {
|
||||||
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_polars"
|
name = "nu_plugin_polars"
|
||||||
repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_polars"
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_polars"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -17,10 +17,10 @@ bench = false
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-path = { path = "../nu-path", version = "0.99.2" }
|
nu-path = { path = "../nu-path", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
# Potential dependencies for extras
|
# Potential dependencies for extras
|
||||||
chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false }
|
chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false }
|
||||||
@ -84,9 +84,9 @@ optional = false
|
|||||||
version = "0.43"
|
version = "0.43"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.99.2" }
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-command = { path = "../nu-command", version = "0.99.2" }
|
nu-command = { path = "../nu-command", version = "0.100.1" }
|
||||||
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.99.2" }
|
nu-plugin-test-support = { path = "../nu-plugin-test-support", version = "0.100.1" }
|
||||||
tempfile.workspace = true
|
tempfile.workspace = true
|
||||||
|
@ -27,7 +27,7 @@ import sys
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
NUSHELL_VERSION = "0.99.2"
|
NUSHELL_VERSION = "0.100.1"
|
||||||
PLUGIN_VERSION = "0.1.1" # bump if you change commands!
|
PLUGIN_VERSION = "0.1.1" # bump if you change commands!
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_quer
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_query"
|
name = "nu_plugin_query"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
doctest = false
|
doctest = false
|
||||||
@ -16,8 +16,8 @@ name = "nu_plugin_query"
|
|||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-plugin = { path = "../nu-plugin", version = "0.99.2" }
|
nu-plugin = { path = "../nu-plugin", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
|
|
||||||
gjson = "0.8"
|
gjson = "0.8"
|
||||||
scraper = { default-features = false, version = "0.21" }
|
scraper = { default-features = false, version = "0.21" }
|
||||||
|
@ -5,7 +5,7 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nu_plugin_stre
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nu_plugin_stress_internals"
|
name = "nu_plugin_stress_internals"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "nu_plugin_stress_internals"
|
name = "nu_plugin_stress_internals"
|
||||||
|
@ -5,15 +5,15 @@ repository = "https://github.com/nushell/nushell/tree/main/crates/nuon"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "nuon"
|
name = "nuon"
|
||||||
version = "0.99.2"
|
version = "0.100.1"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nu-parser = { path = "../nu-parser", version = "0.99.2" }
|
nu-parser = { path = "../nu-parser", version = "0.100.1" }
|
||||||
nu-protocol = { path = "../nu-protocol", version = "0.99.2" }
|
nu-protocol = { path = "../nu-protocol", version = "0.100.1" }
|
||||||
nu-engine = { path = "../nu-engine", version = "0.99.2" }
|
nu-engine = { path = "../nu-engine", version = "0.100.1" }
|
||||||
nu-utils = { path = "../nu-utils", version = "0.99.2" }
|
nu-utils = { path = "../nu-utils", version = "0.100.1" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
chrono = { workspace = true }
|
chrono = { workspace = true }
|
||||||
|
@ -37,6 +37,11 @@ fn date_minus_duration() -> TestResult {
|
|||||||
run_test(input, expected)
|
run_test(input, expected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn duration_minus_date_not_supported() -> TestResult {
|
||||||
|
fail_test("2day - 2023-04-22", "doesn't support these values")
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn date_plus_duration() -> TestResult {
|
fn date_plus_duration() -> TestResult {
|
||||||
let input = "2023-04-18 + 2day | format date %Y-%m-%d";
|
let input = "2023-04-18 + 2day | format date %Y-%m-%d";
|
||||||
@ -44,6 +49,13 @@ fn date_plus_duration() -> TestResult {
|
|||||||
run_test(input, expected)
|
run_test(input, expected)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn duration_plus_date() -> TestResult {
|
||||||
|
let input = "2024-11-10T00:00:00-00:00 + 4hr | format date";
|
||||||
|
let expected = "Sun, 10 Nov 2024 04:00:00 +0000";
|
||||||
|
run_test(input, expected)
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn block_not_first_class_def() -> TestResult {
|
fn block_not_first_class_def() -> TestResult {
|
||||||
fail_test(
|
fail_test(
|
||||||
|
Reference in New Issue
Block a user