2019-05-10 16:59:12 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-06-19 00:06:44 +00:00
|
|
|
version = 3
|
|
|
|
|
2020-05-16 03:18:24 +00:00
|
|
|
[[package]]
|
2021-11-07 02:40:44 +00:00
|
|
|
name = "Inflector"
|
|
|
|
version = "0.11.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2020-08-03 22:47:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
2021-03-12 05:20:54 +00:00
|
|
|
version = "1.0.2"
|
2020-08-03 22:47:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 05:20:54 +00:00
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
2020-08-03 22:47:19 +00:00
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
2021-05-12 01:01:31 +00:00
|
|
|
name = "ahash"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.7.6"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"getrandom 0.2.7",
|
2021-05-12 01:01:31 +00:00
|
|
|
"once_cell",
|
2022-07-19 17:35:25 +00:00
|
|
|
"version_check",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "464b3811b747f8f7ebc8849c9c728c39f6ac98a055edad93baf9eb330e3f8f9d"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-01-13 15:27:37 +00:00
|
|
|
"const-random",
|
2022-11-09 22:07:38 +00:00
|
|
|
"getrandom 0.2.7",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.7.19"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "b4f55bd91a0978cbfd91c457a164bab8b4001c833b7f323132c0a4e1922dd44e"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"memchr",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "alloc-no-stdlib"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "2.0.4"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
|
2021-05-18 19:33:10 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "alloc-stdlib"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.2"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
]
|
|
|
|
|
2022-05-06 12:58:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "alphanumeric-sort"
|
|
|
|
version = "1.4.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "77e9c9abb82613923ec78d7a461595d52491ba7240f3c64c0bbe0e6d98e0fce0"
|
|
|
|
|
2022-08-13 18:21:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "android_system_properties"
|
2022-08-31 11:19:20 +00:00
|
|
|
version = "0.1.5"
|
2022-08-13 18:21:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-31 11:19:20 +00:00
|
|
|
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
2022-08-13 18:21:28 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-01-05 19:39:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anes"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
|
|
|
|
2022-07-12 16:23:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi-str"
|
2022-10-20 12:52:15 +00:00
|
|
|
version = "0.5.0"
|
2022-07-19 17:35:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 12:52:15 +00:00
|
|
|
checksum = "84252a7e1a0df81706ce70bbad85ed1e4916448a4093ccd52dd98c6a44a477cd"
|
2022-07-12 16:23:50 +00:00
|
|
|
dependencies = [
|
2022-07-19 17:35:25 +00:00
|
|
|
"ansitok",
|
2022-07-12 16:23:50 +00:00
|
|
|
]
|
|
|
|
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi-str"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "21b1ed1c166829a0ccb5d79caa0f75cb4abd4adb2ce2c096755b7ad5ffdb0990"
|
|
|
|
dependencies = [
|
|
|
|
"ansitok",
|
|
|
|
]
|
|
|
|
|
2022-07-19 17:35:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansitok"
|
2022-10-20 12:52:15 +00:00
|
|
|
version = "0.2.0"
|
2022-07-19 17:35:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 12:52:15 +00:00
|
|
|
checksum = "220044e6a1bb31ddee4e3db724d29767f352de47445a6cd75e1a173142136c83"
|
2022-07-19 17:35:25 +00:00
|
|
|
dependencies = [
|
2023-01-04 22:50:18 +00:00
|
|
|
"nom",
|
2022-10-20 12:52:15 +00:00
|
|
|
"vte",
|
2022-07-19 17:35:25 +00:00
|
|
|
]
|
|
|
|
|
2021-03-03 18:18:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2022-12-05 00:49:47 +00:00
|
|
|
version = "1.0.66"
|
2021-03-03 18:18:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-05 00:49:47 +00:00
|
|
|
checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6"
|
2021-11-23 08:14:40 +00:00
|
|
|
|
2022-02-27 16:10:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "array-init-cursor"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bf7d0a018de4f6aa429b9d33d69edf69072b1c5b1cb8d3e4a5f7ef898fc3eb76"
|
|
|
|
|
2019-11-16 17:17:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
2020-11-22 00:37:16 +00:00
|
|
|
version = "0.5.2"
|
2019-11-16 17:17:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-22 00:37:16 +00:00
|
|
|
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
|
2019-11-16 17:17:05 +00:00
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
|
|
|
|
|
2021-11-16 08:53:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrow-format"
|
2023-01-13 15:27:37 +00:00
|
|
|
version = "0.8.1"
|
2021-11-16 08:53:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 15:27:37 +00:00
|
|
|
checksum = "07884ea216994cdc32a2d5f8274a8bee979cfe90274b83f86f440866ee3132c7"
|
2021-11-16 08:53:03 +00:00
|
|
|
dependencies = [
|
2022-02-27 16:10:29 +00:00
|
|
|
"planus",
|
|
|
|
"serde",
|
2021-11-16 08:53:03 +00:00
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
2021-09-15 19:10:12 +00:00
|
|
|
name = "arrow2"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.16.0"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "7a4c5b03335bc1cb0fd9f5297f8fd3bbfd6fb04f3cb0bc7d6c91b7128cb8336a"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
2023-01-13 15:27:37 +00:00
|
|
|
"ahash 0.8.1",
|
2021-11-16 08:53:03 +00:00
|
|
|
"arrow-format",
|
2023-01-13 13:16:14 +00:00
|
|
|
"base64 0.13.0",
|
2022-02-27 16:10:29 +00:00
|
|
|
"bytemuck",
|
2021-05-12 01:01:31 +00:00
|
|
|
"chrono",
|
2022-08-12 12:10:36 +00:00
|
|
|
"dyn-clone",
|
2022-03-19 11:13:34 +00:00
|
|
|
"either",
|
2022-11-09 22:07:38 +00:00
|
|
|
"ethnum",
|
2022-02-27 16:10:29 +00:00
|
|
|
"fallible-streaming-iterator",
|
2022-08-12 12:10:36 +00:00
|
|
|
"foreign_vec",
|
2021-11-23 08:14:40 +00:00
|
|
|
"futures",
|
2023-01-13 15:27:37 +00:00
|
|
|
"getrandom 0.2.7",
|
2021-09-15 19:10:12 +00:00
|
|
|
"hash_hasher",
|
2021-05-12 01:01:31 +00:00
|
|
|
"indexmap",
|
2022-06-15 16:45:03 +00:00
|
|
|
"json-deserializer",
|
2021-05-12 01:01:31 +00:00
|
|
|
"lexical-core",
|
2022-09-12 23:30:20 +00:00
|
|
|
"lz4",
|
2021-05-12 01:01:31 +00:00
|
|
|
"multiversion",
|
2021-09-15 19:10:12 +00:00
|
|
|
"num-traits",
|
|
|
|
"parquet2",
|
2023-01-13 15:27:37 +00:00
|
|
|
"rustc_version 0.4.0",
|
2021-11-16 08:53:03 +00:00
|
|
|
"simdutf8",
|
2021-09-15 19:10:12 +00:00
|
|
|
"streaming-iterator",
|
|
|
|
"strength_reduce",
|
2022-09-12 23:30:20 +00:00
|
|
|
"zstd",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "assert-json-diff"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2021-08-30 18:36:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "assert_cmd"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "2.0.4"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "93ae1ddd39efd67689deb1979d80bad3bf7f2b09c6e6117c8d1f2443b5e2f83e"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"bstr",
|
|
|
|
"doc-comment",
|
|
|
|
"predicates",
|
|
|
|
"predicates-core",
|
|
|
|
"predicates-tree",
|
|
|
|
"wait-timeout",
|
|
|
|
]
|
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
2021-09-15 19:10:12 +00:00
|
|
|
name = "async-stream"
|
2022-03-27 13:01:04 +00:00
|
|
|
version = "0.3.3"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-27 13:01:04 +00:00
|
|
|
checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-stream-impl",
|
|
|
|
"futures-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-stream-impl"
|
2022-03-27 13:01:04 +00:00
|
|
|
version = "0.3.3"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-27 13:01:04 +00:00
|
|
|
checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-05-29 08:22:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.57"
|
2020-05-29 08:22:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f"
|
2020-05-29 08:22:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-29 08:22:52 +00:00
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atomic-polyfill"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.10"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "9c041a8d9751a520ee19656232a18971f18946a7900f1520ee4400002244dd89"
|
2022-05-25 17:13:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"critical-section",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-02-01 06:11:42 +00:00
|
|
|
version = "0.2.14"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-01 06:11:42 +00:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2020-02-01 06:11:42 +00:00
|
|
|
"hermit-abi",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2020-01-17 20:35:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "1.1.0"
|
2020-01-17 20:35:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
2020-01-17 20:35:48 +00:00
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bare-metal"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5deb64efa5bd81e31fcd1938615a6d98c82eafcbcd787162b6f63b91d6bac5b3"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_version 0.2.3",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bare-metal"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f8fe8f5a8a398345e52358e18ff07cc17a568fbca5c6f73873d3a62056309603"
|
|
|
|
|
2020-03-20 07:53:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2020-11-22 00:37:16 +00:00
|
|
|
version = "0.13.0"
|
2020-03-20 07:53:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-22 00:37:16 +00:00
|
|
|
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
2020-03-20 07:53:49 +00:00
|
|
|
|
2023-01-13 13:16:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.21.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
|
|
|
|
|
2022-07-25 16:32:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
|
|
|
version = "1.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bindgen"
|
|
|
|
version = "0.59.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cexpr",
|
|
|
|
"clang-sys",
|
|
|
|
"lazy_static",
|
|
|
|
"lazycell",
|
|
|
|
"peeking_take_while",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"regex",
|
|
|
|
"rustc-hash",
|
|
|
|
"shlex",
|
|
|
|
]
|
|
|
|
|
2022-08-04 19:51:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bit-set"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
|
|
|
|
dependencies = [
|
|
|
|
"bit-vec",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bit-vec"
|
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bit_field"
|
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dcb6dd1c2376d2e096796e234a70e17e94cc2d5d54ff8ce42b28cef1d0d359a4"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitfield"
|
|
|
|
version = "0.13.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "46afbd2983a5d5a7bd740ccb198caf5b82f45c40c09c0eed36052d91cb92e719"
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
2021-08-30 18:36:07 +00:00
|
|
|
name = "bitflags"
|
|
|
|
version = "1.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
|
|
|
2021-12-16 09:40:05 +00:00
|
|
|
[[package]]
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
name = "block-buffer"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.3"
|
2021-12-10 23:14:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
|
2021-12-10 23:14:28 +00:00
|
|
|
dependencies = [
|
2022-07-19 17:35:25 +00:00
|
|
|
"generic-array",
|
2020-05-16 22:34:10 +00:00
|
|
|
]
|
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "brotli"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "3.3.4"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "a1a0b1dbcc8ae29329621f8d4f0d835787c1c38bb1401979b49d13b0b305ff68"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
|
|
|
"brotli-decompressor",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "brotli-decompressor"
|
2021-08-28 03:34:11 +00:00
|
|
|
version = "2.3.2"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 03:34:11 +00:00
|
|
|
checksum = "59ad2d4653bf5ca36ae797b1f4bb4dbddb60ce49ca4aed8a2ce4829f60425b80"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"alloc-no-stdlib",
|
|
|
|
"alloc-stdlib",
|
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "brownstone"
|
2022-07-11 16:18:06 +00:00
|
|
|
version = "3.0.0"
|
2022-04-04 20:45:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-11 16:18:06 +00:00
|
|
|
checksum = "c5839ee4f953e811bfdcf223f509cb2c6a3e1447959b0bff459405575bc17f22"
|
2022-04-04 20:45:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
]
|
|
|
|
|
2019-08-25 13:57:47 +00:00
|
|
|
[[package]]
|
2019-07-19 20:11:49 +00:00
|
|
|
name = "bstr"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.2.17"
|
2019-07-19 20:11:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
|
2019-07-19 20:11:49 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"lazy_static",
|
2019-11-28 02:21:00 +00:00
|
|
|
"memchr",
|
|
|
|
"regex-automata",
|
2019-07-19 20:11:49 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2023-01-21 13:31:56 +00:00
|
|
|
version = "3.12.0"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-21 13:31:56 +00:00
|
|
|
checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
|
2019-07-04 22:17:18 +00:00
|
|
|
|
2019-05-15 18:14:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byte-unit"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "4.0.14"
|
2019-05-15 18:14:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "95ebf10dda65f19ff0f42ea15572a359ed60d7fc74fdc984d90310937be0014b"
|
2020-09-08 22:35:45 +00:00
|
|
|
dependencies = [
|
|
|
|
"utf8-width",
|
|
|
|
]
|
2019-05-15 18:14:51 +00:00
|
|
|
|
2022-07-06 19:57:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
|
|
|
version = "0.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c"
|
|
|
|
|
2022-02-27 16:10:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytemuck"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.12.1"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "2f5715e491b5a1598fc2bef5a606847b5dc1d48ea625bd3c02c00de8285591da"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytemuck_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bytemuck_derive"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.2.1"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "1b9e1f5fa78f69496407a27ae9ed989e3c3b072310286f5ef385525e4cbc24a9"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-12-30 17:16:02 +00:00
|
|
|
[[package]]
|
2019-05-10 16:59:12 +00:00
|
|
|
name = "byteorder"
|
2021-03-31 05:52:34 +00:00
|
|
|
version = "1.4.3"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-31 05:52:34 +00:00
|
|
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-05-24 18:48:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "1.4.0"
|
2022-01-04 02:01:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be"
|
2022-01-04 02:01:18 +00:00
|
|
|
|
2021-10-12 20:22:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytesize"
|
2023-02-27 06:48:14 +00:00
|
|
|
version = "1.2.0"
|
2021-10-12 20:22:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-27 06:48:14 +00:00
|
|
|
checksum = "38fcc2979eff34a4b84e1cf9a1e3da42a7d44b3b690a40cdcb23e3d556cfb2e5"
|
2021-01-19 20:24:27 +00:00
|
|
|
|
2019-11-17 03:18:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "calamine"
|
2022-12-01 19:25:13 +00:00
|
|
|
version = "0.19.1"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-01 19:25:13 +00:00
|
|
|
checksum = "6381d1037ee9b8a6c8eb97936add0331a1aabd148d5b6f35f1cda6e5dec44f40"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"byteorder",
|
|
|
|
"codepage",
|
|
|
|
"encoding_rs",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2023-01-16 02:06:31 +00:00
|
|
|
"quick-xml 0.25.0",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2019-11-28 02:21:00 +00:00
|
|
|
"zip",
|
2019-11-17 03:18:41 +00:00
|
|
|
]
|
|
|
|
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cassowary"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cast"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "1.0.73"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
|
2019-09-13 03:44:21 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"jobserver",
|
2019-09-13 03:44:21 +00:00
|
|
|
]
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cexpr"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
|
|
|
|
dependencies = [
|
2023-01-04 22:50:18 +00:00
|
|
|
"nom",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
2020-11-22 00:37:16 +00:00
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2022-11-26 18:19:02 +00:00
|
|
|
version = "0.4.23"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-26 18:19:02 +00:00
|
|
|
checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2022-08-13 18:21:28 +00:00
|
|
|
"iana-time-zone",
|
2022-08-05 11:53:01 +00:00
|
|
|
"js-sys",
|
2019-11-28 02:21:00 +00:00
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2022-08-14 13:07:04 +00:00
|
|
|
"pure-rust-locales",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2022-07-26 02:09:32 +00:00
|
|
|
"time 0.1.44",
|
2022-08-05 11:53:01 +00:00
|
|
|
"wasm-bindgen",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2021-07-25 08:38:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono-humanize"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.2"
|
2021-07-25 08:38:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "32dce1ea1988dbdf9f9815ff11425828523bd2a134ec0805d2ac8af26ee6096e"
|
2021-07-25 08:38:45 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono-tz"
|
2023-01-30 01:38:39 +00:00
|
|
|
version = "0.8.1"
|
2021-11-02 03:08:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 01:38:39 +00:00
|
|
|
checksum = "fa48fa079165080f11d7753fd0bc175b7d391f276b965fe4b55bfad67856e463"
|
2021-11-02 03:08:05 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
|
|
|
"chrono-tz-build",
|
2022-10-03 16:40:16 +00:00
|
|
|
"phf 0.11.1",
|
2021-11-02 03:08:05 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chrono-tz-build"
|
2023-01-30 01:38:39 +00:00
|
|
|
version = "0.1.0"
|
2021-11-02 03:08:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 01:38:39 +00:00
|
|
|
checksum = "d9998fb9f7e9b2111641485bf8beb32f92945f97f92a3d061f744cfef335f751"
|
2021-11-02 03:08:05 +00:00
|
|
|
dependencies = [
|
|
|
|
"parse-zoneinfo",
|
2022-10-03 16:40:16 +00:00
|
|
|
"phf 0.11.1",
|
|
|
|
"phf_codegen 0.11.1",
|
2021-06-03 06:25:28 +00:00
|
|
|
]
|
|
|
|
|
2023-01-05 19:39:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ciborium"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f"
|
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"ciborium-ll",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-io"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ciborium-ll"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b"
|
|
|
|
dependencies = [
|
|
|
|
"ciborium-io",
|
|
|
|
"half",
|
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clang-sys"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.4.0"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
|
|
|
"glob",
|
|
|
|
"libc",
|
|
|
|
"libloading",
|
|
|
|
]
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2023-01-05 19:39:54 +00:00
|
|
|
version = "3.2.23"
|
2022-08-23 16:49:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-05 19:39:54 +00:00
|
|
|
checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5"
|
2022-08-23 16:49:51 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2023-01-05 19:39:54 +00:00
|
|
|
"clap_lex",
|
|
|
|
"indexmap",
|
|
|
|
"textwrap 0.16.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
|
|
|
|
dependencies = [
|
|
|
|
"os_str_bytes",
|
2022-08-23 16:49:51 +00:00
|
|
|
]
|
|
|
|
|
2019-11-17 03:18:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "codepage"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "8b0e9222c0cdf2c6ac27d73f664f9520266fa911c3106329d359f8861cb8bde9"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"encoding_rs",
|
2019-11-17 03:18:41 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-03-19 11:13:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "comfy-table"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "6.1.4"
|
2022-03-19 11:13:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d"
|
2022-03-19 11:13:34 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"crossterm 0.25.0",
|
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2022-03-19 11:13:34 +00:00
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2020-05-18 18:44:27 +00:00
|
|
|
[[package]]
|
2021-10-15 18:37:58 +00:00
|
|
|
name = "console"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.15.2"
|
2021-10-15 18:37:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c050367d967ced717c04b65d8c619d863ef9292ce0c5760028655a2fb298718c"
|
2021-10-15 18:37:58 +00:00
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
2022-10-03 16:40:16 +00:00
|
|
|
"lazy_static",
|
2021-10-15 18:37:58 +00:00
|
|
|
"libc",
|
2022-07-11 16:18:06 +00:00
|
|
|
"terminal_size 0.1.17",
|
2021-10-15 18:37:58 +00:00
|
|
|
"unicode-width",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2023-01-13 15:27:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "const-random"
|
|
|
|
version = "0.1.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "368a7a772ead6ce7e1de82bfb04c485f3db8ec744f72925af5735e29a22cc18e"
|
|
|
|
dependencies = [
|
|
|
|
"const-random-macro",
|
|
|
|
"proc-macro-hack",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "const-random-macro"
|
|
|
|
version = "0.1.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.7",
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"tiny-keccak",
|
|
|
|
]
|
|
|
|
|
2022-04-04 14:59:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "const_format"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.26"
|
2022-04-04 14:59:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "939dc9e2eb9077e0679d2ce32de1ded8531779360b003b4a972a7a39ec263495"
|
2022-04-04 14:59:59 +00:00
|
|
|
dependencies = [
|
|
|
|
"const_format_proc_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "const_format_proc_macros"
|
|
|
|
version = "0.2.22"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ef196d5d972878a48da7decb7686eded338b4858fbabeed513d63a7c98b2b82d"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "convert_case"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
|
|
|
|
|
2019-12-14 13:27:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.9.3"
|
2019-12-14 13:27:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
|
2019-12-14 13:27:14 +00:00
|
|
|
dependencies = [
|
2021-01-20 07:18:38 +00:00
|
|
|
"core-foundation-sys",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.8.3"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
2020-11-22 00:37:16 +00:00
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cortex-m"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.7.6"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "70858629a458fdfd39f9675c4dc309411f2a3f83bede76988d81bf1a0ecee9e0"
|
2022-05-25 17:13:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"bare-metal 0.2.5",
|
|
|
|
"bitfield",
|
|
|
|
"embedded-hal",
|
|
|
|
"volatile-register",
|
|
|
|
]
|
|
|
|
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
[[package]]
|
2021-06-03 06:23:14 +00:00
|
|
|
name = "cpufeatures"
|
2022-09-09 11:10:04 +00:00
|
|
|
version = "0.2.5"
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-09 11:10:04 +00:00
|
|
|
checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
|
2021-06-03 06:23:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "1.3.2"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
|
2021-11-19 19:23:35 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "criterion"
|
2023-01-05 19:39:54 +00:00
|
|
|
version = "0.4.0"
|
2022-08-23 16:49:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-05 19:39:54 +00:00
|
|
|
checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb"
|
2022-08-23 16:49:51 +00:00
|
|
|
dependencies = [
|
2023-01-05 19:39:54 +00:00
|
|
|
"anes",
|
2022-08-23 16:49:51 +00:00
|
|
|
"atty",
|
|
|
|
"cast",
|
2023-01-05 19:39:54 +00:00
|
|
|
"ciborium",
|
2022-08-23 16:49:51 +00:00
|
|
|
"clap",
|
|
|
|
"criterion-plot",
|
|
|
|
"itertools",
|
|
|
|
"lazy_static",
|
|
|
|
"num-traits",
|
|
|
|
"oorandom",
|
|
|
|
"plotters",
|
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tinytemplate",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "criterion-plot"
|
2023-01-05 19:39:54 +00:00
|
|
|
version = "0.5.0"
|
2022-08-23 16:49:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-05 19:39:54 +00:00
|
|
|
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
2022-08-23 16:49:51 +00:00
|
|
|
dependencies = [
|
|
|
|
"cast",
|
|
|
|
"itertools",
|
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "critical-section"
|
|
|
|
version = "0.2.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "95da181745b56d4bd339530ec393508910c909c784e8962d15d722bacf0bcbcd"
|
|
|
|
dependencies = [
|
|
|
|
"bare-metal 1.0.0",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-05-25 17:13:14 +00:00
|
|
|
"cortex-m",
|
|
|
|
"riscv",
|
|
|
|
]
|
|
|
|
|
2020-08-27 05:58:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.5.6"
|
2020-08-27 05:58:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-07-09 19:28:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-10-08 13:47:30 +00:00
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.8.2"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-07-09 19:28:07 +00:00
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
2019-10-08 13:47:30 +00:00
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.9.11"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
2022-03-27 13:01:04 +00:00
|
|
|
"autocfg",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-07-09 19:28:07 +00:00
|
|
|
"crossbeam-utils",
|
|
|
|
"memoffset",
|
2020-11-22 00:37:16 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.8.12"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
|
|
|
|
2020-09-30 18:27:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossterm"
|
2022-11-09 22:07:38 +00:00
|
|
|
version = "0.24.0"
|
2021-11-07 22:09:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-09 22:07:38 +00:00
|
|
|
checksum = "ab9f7409c70a38a56216480fba371ee460207dd8926ccf5b4160591759559170"
|
2022-07-30 09:41:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"crossterm_winapi",
|
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"mio",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2022-11-09 22:07:38 +00:00
|
|
|
"serde",
|
2022-07-30 09:41:15 +00:00
|
|
|
"signal-hook",
|
|
|
|
"signal-hook-mio",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-07-30 09:41:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossterm"
|
2022-11-09 22:07:38 +00:00
|
|
|
version = "0.25.0"
|
2022-07-30 09:41:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-09 22:07:38 +00:00
|
|
|
checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
|
2021-11-07 22:09:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2021-11-23 08:14:40 +00:00
|
|
|
"crossterm_winapi",
|
2021-08-30 18:36:07 +00:00
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"mio",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2021-08-30 18:36:07 +00:00
|
|
|
"signal-hook",
|
|
|
|
"signal-hook-mio",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2020-09-30 18:27:52 +00:00
|
|
|
]
|
|
|
|
|
2021-01-07 00:38:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossterm_winapi"
|
2021-11-23 08:14:40 +00:00
|
|
|
version = "0.9.0"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-23 08:14:40 +00:00
|
|
|
checksum = "2ae1b35a484aa10e07fe0638d02301c5ad24de82d310ccbd2f3693da5f09bf1c"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-01-07 00:38:22 +00:00
|
|
|
]
|
|
|
|
|
2023-01-13 15:27:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crunchy"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
2021-12-10 23:14:28 +00:00
|
|
|
name = "crypto-common"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.1.6"
|
2021-12-10 23:14:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
|
2021-12-10 23:14:28 +00:00
|
|
|
dependencies = [
|
2022-07-19 17:35:25 +00:00
|
|
|
"generic-array",
|
2022-03-10 20:58:11 +00:00
|
|
|
"typenum",
|
2021-03-03 18:18:11 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cssparser"
|
|
|
|
version = "0.27.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "754b69d351cdc2d8ee09ae203db831e005560fc6030da058f86ad60c92a9cb0a"
|
|
|
|
dependencies = [
|
|
|
|
"cssparser-macros",
|
|
|
|
"dtoa-short",
|
2022-02-08 13:28:21 +00:00
|
|
|
"itoa 0.4.8",
|
2020-11-03 21:46:42 +00:00
|
|
|
"matches",
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2021-07-09 19:28:07 +00:00
|
|
|
"smallvec",
|
2021-08-28 03:34:11 +00:00
|
|
|
"syn",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cssparser-macros"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e"
|
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
2021-05-26 23:02:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cstr_core"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.6"
|
2021-05-26 23:02:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "dd98742e4fdca832d40cab219dc2e3048de17d873248f83f17df47c1bea70956"
|
2021-05-26 23:02:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cty",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "csv"
|
2023-02-27 06:48:51 +00:00
|
|
|
version = "1.2.0"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-27 06:48:51 +00:00
|
|
|
checksum = "af91f40b7355f82b0a891f50e70399475945bb0b0da4f1700ce60761c9d3e359"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"csv-core",
|
2023-02-27 06:48:51 +00:00
|
|
|
"itoa 1.0.4",
|
2019-11-28 02:21:00 +00:00
|
|
|
"ryu",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "csv-core"
|
2020-04-18 03:31:57 +00:00
|
|
|
version = "0.1.10"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-04-18 03:31:57 +00:00
|
|
|
checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"memchr",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2019-06-07 00:31:22 +00:00
|
|
|
[[package]]
|
2021-08-30 18:36:07 +00:00
|
|
|
name = "ctor"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.23"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "cdffe87e1d521a10f9696f833fe502293ea446d7f256c06128293a4119bdf4cb"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-10-28 04:13:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctrlc"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "3.2.3"
|
2021-10-28 04:13:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "1d91974fbbe88ec1df0c24a4f00f99583667a7e2e6272b2b92d294d81e462173"
|
2021-10-28 04:13:10 +00:00
|
|
|
dependencies = [
|
2022-10-27 23:07:13 +00:00
|
|
|
"nix",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-06-07 00:31:22 +00:00
|
|
|
]
|
|
|
|
|
2021-05-26 23:02:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cty"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.2.2"
|
2021-05-26 23:02:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35"
|
2021-05-26 23:02:24 +00:00
|
|
|
|
2023-01-16 02:06:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dashmap"
|
|
|
|
version = "5.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-01-16 02:06:03 +00:00
|
|
|
"hashbrown 0.12.3",
|
|
|
|
"lock_api",
|
|
|
|
"once_cell",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot_core 0.9.3",
|
2023-01-16 02:06:03 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "deadpool"
|
|
|
|
version = "0.9.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "421fe0f90f2ab22016f32a9881be5134fdd71c65298917084b0c7477cbc3856e"
|
|
|
|
dependencies = [
|
|
|
|
"async-trait",
|
|
|
|
"deadpool-runtime",
|
|
|
|
"num_cpus",
|
|
|
|
"retain_mut",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "deadpool-runtime"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eaa37046cc0f6c3cc6090fbdbf73ef0b8ef4cfcc37f6befc0020f63e8cf121e1"
|
|
|
|
|
2020-12-30 17:16:02 +00:00
|
|
|
[[package]]
|
2022-02-01 18:45:48 +00:00
|
|
|
name = "derive_more"
|
|
|
|
version = "0.99.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
|
|
|
|
dependencies = [
|
|
|
|
"convert_case",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-05-25 17:13:14 +00:00
|
|
|
"rustc_version 0.4.0",
|
2021-08-28 03:34:11 +00:00
|
|
|
"syn",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
[[package]]
|
2021-10-15 18:37:58 +00:00
|
|
|
name = "dialoguer"
|
2023-01-16 02:04:47 +00:00
|
|
|
version = "0.10.3"
|
2021-10-15 18:37:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-16 02:04:47 +00:00
|
|
|
checksum = "af3c796f3b0b408d9fd581611b47fa850821fcb84aa640b83a3c1a5be2d691f2"
|
2021-10-15 18:37:58 +00:00
|
|
|
dependencies = [
|
2021-10-15 18:51:25 +00:00
|
|
|
"console",
|
2023-01-16 02:04:47 +00:00
|
|
|
"shell-words",
|
2021-10-15 18:37:58 +00:00
|
|
|
]
|
|
|
|
|
2021-08-30 18:36:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.1.13"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
|
2021-08-30 18:36:07 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "difflib"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
|
|
|
|
|
2021-12-16 09:40:05 +00:00
|
|
|
[[package]]
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
name = "digest"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.5"
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c"
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"block-buffer",
|
2021-12-10 23:14:28 +00:00
|
|
|
"crypto-common",
|
2020-05-14 08:17:23 +00:00
|
|
|
]
|
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
2021-12-05 13:25:37 +00:00
|
|
|
version = "4.0.0"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-05 13:25:37 +00:00
|
|
|
checksum = "ca3aa72a6f96ea37bbc5aa912f6788242832f75369bdfdadcb0e38423f100059"
|
2021-07-14 20:33:21 +00:00
|
|
|
dependencies = [
|
|
|
|
"dirs-sys",
|
|
|
|
]
|
|
|
|
|
2021-01-07 00:38:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-01-07 00:38:22 +00:00
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
2019-06-03 07:41:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2022-03-27 13:01:04 +00:00
|
|
|
version = "0.3.7"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-27 13:01:04 +00:00
|
|
|
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
|
2019-06-03 07:41:28 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2022-03-19 11:13:34 +00:00
|
|
|
"redox_users",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-06-03 07:41:28 +00:00
|
|
|
]
|
|
|
|
|
2020-12-05 04:12:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
2021-01-19 20:24:27 +00:00
|
|
|
version = "0.1.2"
|
2020-12-05 04:12:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-19 20:24:27 +00:00
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
2020-12-05 04:12:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-03-19 11:13:34 +00:00
|
|
|
"redox_users",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2020-12-05 04:12:42 +00:00
|
|
|
]
|
|
|
|
|
2023-02-09 11:47:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dlv-list"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257"
|
|
|
|
|
2021-01-20 07:18:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "doc-comment"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
|
|
|
|
2019-06-03 07:41:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dtoa"
|
2021-05-12 01:01:31 +00:00
|
|
|
version = "0.4.8"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-12 01:01:31 +00:00
|
|
|
checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0"
|
2019-06-03 07:41:28 +00:00
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dtoa-short"
|
2021-01-07 00:38:22 +00:00
|
|
|
version = "0.3.3"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-07 00:38:22 +00:00
|
|
|
checksum = "bde03329ae10e79ede66c9ce4dc930aa8599043b0743008548680f25b91502d6"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"dtoa",
|
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dtparse"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "1.3.0"
|
2020-08-05 21:34:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "8293d8a873beeaf3daaf818f3f218b30aafcdb8cd7ed6d4b860e09868af790ab"
|
2020-08-05 21:34:28 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
2021-08-28 03:34:11 +00:00
|
|
|
"lazy_static",
|
|
|
|
"num-traits",
|
2020-08-05 21:34:28 +00:00
|
|
|
"rust_decimal",
|
|
|
|
]
|
|
|
|
|
2022-08-12 12:10:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dyn-clone"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.9"
|
2022-08-12 12:10:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2"
|
2022-08-12 12:10:36 +00:00
|
|
|
|
2021-02-05 20:54:54 +00:00
|
|
|
[[package]]
|
2021-09-16 14:02:30 +00:00
|
|
|
name = "ego-tree"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3a68a4904193147e0a8dec3314640e6db742afd5f6e634f428a6af230d9b3591"
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.8.0"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "embedded-hal"
|
|
|
|
version = "0.2.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "35949884794ad573cf46071e41c9b60efb0cb311e3ca01f7af807af1debc66ff"
|
|
|
|
dependencies = [
|
|
|
|
"nb 0.1.3",
|
|
|
|
"void",
|
|
|
|
]
|
|
|
|
|
2020-04-26 05:32:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "eml-parser"
|
2022-03-27 13:01:04 +00:00
|
|
|
version = "0.1.3"
|
2020-04-26 05:32:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-27 13:01:04 +00:00
|
|
|
checksum = "43e6fc6e74658e477675b59e61e10e9722cb2b845b0e2834df60f979c865e821"
|
2020-04-26 05:32:17 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2020-04-26 05:32:17 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "encode_unicode"
|
2019-10-13 04:53:58 +00:00
|
|
|
version = "0.3.6"
|
2019-06-12 17:44:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
2019-06-12 17:44:45 +00:00
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "encoding_rs"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.8.31"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "enum_dispatch"
|
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0eb359f1476bf611266ac1f5355bc14aeca37b299d0ebccc038ee7058891c9cb"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "env_logger"
|
|
|
|
version = "0.8.4"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-07 19:54:06 +00:00
|
|
|
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "erased-serde"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.23"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "54558e0ba96fbe24280072642eceb9d7d442e32c7ec0ea9e7ecd7b4ea2cf4e11"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"serde",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "errno"
|
|
|
|
version = "0.2.8"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-07 19:54:06 +00:00
|
|
|
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2023-02-22 12:56:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0"
|
|
|
|
dependencies = [
|
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
|
|
|
"windows-sys 0.45.0",
|
|
|
|
]
|
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "errno-dragonfly"
|
|
|
|
version = "0.1.2"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-07 19:54:06 +00:00
|
|
|
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ethnum"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2eac3c0b9fa6eb75255ebb42c0ba3e2210d102a66d2795afef6fed668f373311"
|
|
|
|
|
2022-04-14 03:15:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "fallible-streaming-iterator"
|
|
|
|
version = "0.1.9"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-07 19:54:06 +00:00
|
|
|
checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
|
2020-06-16 21:17:32 +00:00
|
|
|
|
2023-01-13 20:37:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fancy-regex"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2"
|
|
|
|
dependencies = [
|
|
|
|
"bit-set",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2019-11-17 03:18:41 +00:00
|
|
|
[[package]]
|
2022-02-08 13:28:21 +00:00
|
|
|
name = "fastrand"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "1.8.0"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2022-02-08 13:28:21 +00:00
|
|
|
"instant",
|
2019-11-17 03:18:41 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "fd-lock"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "3.0.6"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "e11dcc7e4d79a8c89b9ab4c6f5c30b1fc4a83c420792da3542fd31179ed5f517"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-02-27 07:53:01 +00:00
|
|
|
"rustix 0.35.11",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2019-11-17 03:18:41 +00:00
|
|
|
]
|
|
|
|
|
2021-03-14 02:13:31 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "filesize"
|
|
|
|
version = "0.2.0"
|
2020-02-10 20:32:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-04-07 07:51:17 +00:00
|
|
|
checksum = "12d741e2415d4e2e5bd1c1d00409d1a8865a57892c2d689b504365655d237d43"
|
2020-02-10 20:32:18 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2020-02-10 20:32:18 +00:00
|
|
|
]
|
|
|
|
|
2022-04-07 11:44:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.17"
|
2022-04-07 11:44:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c"
|
2022-04-07 11:44:05 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-04-07 11:44:05 +00:00
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-04-07 11:44:05 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2022-06-14 20:53:33 +00:00
|
|
|
version = "1.0.24"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 20:53:33 +00:00
|
|
|
checksum = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2021-11-19 19:23:35 +00:00
|
|
|
"crc32fast",
|
2022-05-25 17:13:14 +00:00
|
|
|
"miniz_oxide",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "float-cmp"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
|
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-05-16 03:18:24 +00:00
|
|
|
version = "1.0.7"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-16 03:18:24 +00:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2020-03-20 07:53:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
|
|
|
dependencies = [
|
|
|
|
"foreign-types-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
|
|
|
|
2022-08-12 12:10:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "foreign_vec"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee1b05cbd864bcaecbd3455d6d967862d446e4ebfc3c2e5e5b9841e53cba6673"
|
|
|
|
|
2020-09-08 22:35:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.1.0"
|
2020-09-08 22:35:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
|
2020-09-08 22:35:45 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"percent-encoding",
|
2020-09-08 22:35:45 +00:00
|
|
|
]
|
|
|
|
|
2022-02-09 14:56:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
2023-02-06 09:59:58 +00:00
|
|
|
version = "1.3.0"
|
2022-02-09 14:56:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-06 09:59:58 +00:00
|
|
|
checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
|
2022-02-09 14:56:27 +00:00
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fsevent-sys"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
version = "4.1.0"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
checksum = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-09-03 23:44:53 +00:00
|
|
|
[[package]]
|
2020-11-03 21:46:42 +00:00
|
|
|
name = "futf"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.1.5"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"mac",
|
|
|
|
"new_debug_unreachable",
|
|
|
|
]
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "7f21eda599937fba36daeb58a22e8f5cee2d14c4a17b5b7739c7c8e5e3b8230c"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
Futures v0.3 upgrade (#1344)
* Upgrade futures, async-stream, and futures_codec
These were the last three dependencies on futures-preview. `nu` itself
is now fully dependent on `futures@0.3`, as opposed to `futures-preview`
alpha.
Because the update to `futures` from `0.3.0-alpha.19` to `0.3.0` removed
the `Stream` implementation of `VecDeque` ([changelog][changelog]), most
commands that convert a `VecDeque` to an `OutputStream` broke and had to
be fixed.
The current solution is to now convert `VecDeque`s to a `Stream` via
`futures::stream::iter`. However, it may be useful for `futures` to
create an `IntoStream` trait, implemented on the `std::collections` (or
really any `IntoIterator`). If something like this happends, it may be
worthwhile to update the trait implementations on `OutputStream` and
refactor these commands again.
While upgrading `futures_codec`, we remove a custom implementation of
`LinesCodec`, as one has been added to the library. There's also a small
refactor to make the stream output more idiomatic.
[changelog]: https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#030---2019-11-5
* Upgrade sys & ps plugin dependencies
They were previously dependent on `futures-preview`, and `nu_plugin_ps`
was dependent on an old version of `futures-timer`.
* Remove dependency on futures-timer from nu
* Update Cargo.lock
* Fix formatting
* Revert fmt regressions
CI is still on 1.40.0, but the latest rustfmt v1.41.0 has changes to the
`val @ pattern` syntax, causing the linting job to fail.
* Fix clippy warnings
2020-02-06 03:46:48 +00:00
|
|
|
"futures-executor",
|
2020-01-01 06:45:27 +00:00
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
2019-12-14 13:27:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2019-12-14 13:27:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "30bdd20c28fadd505d0fd6712cdfcb0d4b5648baf45faef7f852afb2399bb050"
|
2019-12-14 13:27:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
2020-01-01 06:45:27 +00:00
|
|
|
"futures-sink",
|
2019-12-14 13:27:14 +00:00
|
|
|
]
|
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "4e5aa3de05362c3fb88de6531e6296e85cde7739cccad4b9dfeeb7f6ebce56bf"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
Futures v0.3 upgrade (#1344)
* Upgrade futures, async-stream, and futures_codec
These were the last three dependencies on futures-preview. `nu` itself
is now fully dependent on `futures@0.3`, as opposed to `futures-preview`
alpha.
Because the update to `futures` from `0.3.0-alpha.19` to `0.3.0` removed
the `Stream` implementation of `VecDeque` ([changelog][changelog]), most
commands that convert a `VecDeque` to an `OutputStream` broke and had to
be fixed.
The current solution is to now convert `VecDeque`s to a `Stream` via
`futures::stream::iter`. However, it may be useful for `futures` to
create an `IntoStream` trait, implemented on the `std::collections` (or
really any `IntoIterator`). If something like this happends, it may be
worthwhile to update the trait implementations on `OutputStream` and
refactor these commands again.
While upgrading `futures_codec`, we remove a custom implementation of
`LinesCodec`, as one has been added to the library. There's also a small
refactor to make the stream output more idiomatic.
[changelog]: https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#030---2019-11-5
* Upgrade sys & ps plugin dependencies
They were previously dependent on `futures-preview`, and `nu_plugin_ps`
was dependent on an old version of `futures-timer`.
* Remove dependency on futures-timer from nu
* Update Cargo.lock
* Fix formatting
* Revert fmt regressions
CI is still on 1.40.0, but the latest rustfmt v1.41.0 has changes to the
`val @ pattern` syntax, causing the linting job to fail.
* Fix clippy warnings
2020-02-06 03:46:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
Futures v0.3 upgrade (#1344)
* Upgrade futures, async-stream, and futures_codec
These were the last three dependencies on futures-preview. `nu` itself
is now fully dependent on `futures@0.3`, as opposed to `futures-preview`
alpha.
Because the update to `futures` from `0.3.0-alpha.19` to `0.3.0` removed
the `Stream` implementation of `VecDeque` ([changelog][changelog]), most
commands that convert a `VecDeque` to an `OutputStream` broke and had to
be fixed.
The current solution is to now convert `VecDeque`s to a `Stream` via
`futures::stream::iter`. However, it may be useful for `futures` to
create an `IntoStream` trait, implemented on the `std::collections` (or
really any `IntoIterator`). If something like this happends, it may be
worthwhile to update the trait implementations on `OutputStream` and
refactor these commands again.
While upgrading `futures_codec`, we remove a custom implementation of
`LinesCodec`, as one has been added to the library. There's also a small
refactor to make the stream output more idiomatic.
[changelog]: https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#030---2019-11-5
* Upgrade sys & ps plugin dependencies
They were previously dependent on `futures-preview`, and `nu_plugin_ps`
was dependent on an old version of `futures-timer`.
* Remove dependency on futures-timer from nu
* Update Cargo.lock
* Fix formatting
* Revert fmt regressions
CI is still on 1.40.0, but the latest rustfmt v1.41.0 has changes to the
`val @ pattern` syntax, causing the linting job to fail.
* Fix clippy warnings
2020-02-06 03:46:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "9ff63c23854bee61b6e9cd331d523909f238fc7636290b96826e9cfa5faa00ab"
|
Futures v0.3 upgrade (#1344)
* Upgrade futures, async-stream, and futures_codec
These were the last three dependencies on futures-preview. `nu` itself
is now fully dependent on `futures@0.3`, as opposed to `futures-preview`
alpha.
Because the update to `futures` from `0.3.0-alpha.19` to `0.3.0` removed
the `Stream` implementation of `VecDeque` ([changelog][changelog]), most
commands that convert a `VecDeque` to an `OutputStream` broke and had to
be fixed.
The current solution is to now convert `VecDeque`s to a `Stream` via
`futures::stream::iter`. However, it may be useful for `futures` to
create an `IntoStream` trait, implemented on the `std::collections` (or
really any `IntoIterator`). If something like this happends, it may be
worthwhile to update the trait implementations on `OutputStream` and
refactor these commands again.
While upgrading `futures_codec`, we remove a custom implementation of
`LinesCodec`, as one has been added to the library. There's also a small
refactor to make the stream output more idiomatic.
[changelog]: https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#030---2019-11-5
* Upgrade sys & ps plugin dependencies
They were previously dependent on `futures-preview`, and `nu_plugin_ps`
was dependent on an old version of `futures-timer`.
* Remove dependency on futures-timer from nu
* Update Cargo.lock
* Fix formatting
* Revert fmt regressions
CI is still on 1.40.0, but the latest rustfmt v1.41.0 has changes to the
`val @ pattern` syntax, causing the linting job to fail.
* Fix clippy warnings
2020-02-06 03:46:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "bbf4d2a7a308fd4578637c0b17c7e1c7ba127b8f6ba00b29f717e9655d85eb68"
|
2020-08-03 22:47:19 +00:00
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "42cd15d1c7456c04dbdf7e88bcd69760d74f3a798d6444e16974b505b0e62f17"
|
2019-11-04 15:47:03 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-04 15:47:03 +00:00
|
|
|
]
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "21b20ba5a92e727ba30e72834706623d94ac93a725410b6a6b6fbc1b07f7ba56"
|
2020-01-01 06:45:27 +00:00
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "a6508c467c73851293f390476d4491cf4d227dbabcd4170f3bb6044959b294f1"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.24"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "44fb6cb1be61cc1d2e43b262516aafcf63b241cffdb1d3fa115f91d9c7b09c90"
|
2019-11-04 15:47:03 +00:00
|
|
|
dependencies = [
|
2020-01-01 06:45:27 +00:00
|
|
|
"futures-channel",
|
2019-11-28 02:21:00 +00:00
|
|
|
"futures-core",
|
2020-01-01 06:45:27 +00:00
|
|
|
"futures-io",
|
2019-11-28 02:21:00 +00:00
|
|
|
"futures-macro",
|
2020-01-01 06:45:27 +00:00
|
|
|
"futures-sink",
|
2019-11-28 02:21:00 +00:00
|
|
|
"futures-task",
|
2020-01-01 06:45:27 +00:00
|
|
|
"memchr",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
2019-11-28 02:21:00 +00:00
|
|
|
"pin-utils",
|
2021-07-09 19:28:07 +00:00
|
|
|
"slab",
|
2019-11-04 15:47:03 +00:00
|
|
|
]
|
|
|
|
|
2022-04-24 21:43:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fuzzy-matcher"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "54614a3312934d066701a80f20f15fa3b56d67ac7722b39eea5b4c9dd1d66c94"
|
|
|
|
dependencies = [
|
|
|
|
"thread_local",
|
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fxhash"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
]
|
|
|
|
|
2021-11-15 20:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.14.6"
|
2021-11-15 20:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9"
|
2021-11-15 20:09:17 +00:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
2022-07-19 17:35:25 +00:00
|
|
|
"version_check",
|
Autoenv rewrite, security and scripting (#2083)
* Add args in .nurc file to environment
* Working dummy version
* Add add_nurc to sync_env command
* Parse .nurc file
* Delete env vars after leaving directory
* Removing vals not working, strangely
* Refactoring, add comment
* Debugging
* Debug by logging to file
* Add and remove env var behavior appears correct
However, it does not use existing code that well.
* Move work to cli.rs
* Parse config directories
* I am in a state of distress
* Rename .nurc to .nu
* Some notes for me
* Refactoring
* Removing vars works, but not done in a very nice fashion
* Refactor env_vars_to_delete
* Refactor env_vars_to_add()
* Move directory environment code to separate file
* Refactor from_config
* Restore env values
* Working?
* Working?
* Update comments and change var name
* Formatting
* Remove vars after leaving dir
* Remove notes I made
* Rename config function
* Clippy
* Cleanup and handle errors
* cargo fmt
* Better error messages, remove last (?) unwrap
* FORMAT PLZ
* Rename whitelisted_directories to allowed_directories
* Add comment to clarify how overwritten values are restored.
* Change list of allowed dirs to indexmap
* Rewrite starting
* rewrite everything
* Overwritten env values tracks an indexmap instead of vector
* Refactor restore function
* Untrack removed vars properly
* Performance concerns
* Performance concerns
* Error handling
* Clippy
* Add type aliases for String and OsString
* Deletion almost works
* Working?
* Error handling and refactoring
* nicer errors
* Add TODO file
* Move outside of loop
* Error handling
* Reworking adding of vars
* Reworking adding of vars
* Ready for testing
* Refactoring
* Restore overwritten vals code
* todo.org
* Remove overwritten values tracking, as it is not needed
* Cleanup, stop tracking overwritten values as nu takes care of it
* Init autoenv command
* Initialize autoenv and autoenv trust
* autoenv trust toml
* toml
* Use serde for autoenv
* Optional directory arg
* Add autoenv untrust command
* ... actually add autoenv untrust this time
* OsString and paths
* Revert "OsString and paths"
This reverts commit e6eedf882498c1365ecfc899e5ec11bd83cb055c.
* Fix path
* Fix path
* Autoenv trust and untrust
* Start using autoenv
* Check hashes
* Use trust functionality when setting vars
* Remove unused code
* Clippy
* Nicer errors for autoenv commands
* Non-working errors
* Update error description
* Satisfy fmt
* Errors
* Errors print, but not nicely
* Nicer errors
* fmt
* Delete accidentally added todo.org file
* Rename direnv to autoenv
* Use ShellError instead of Error
* Change tests to pass, danger zone?
* Clippy and errors
* Clippy... again
* Replace match with or_else
* Use sha2 crate for hashing
* parsing and error msg
* Refactoring
* Only apply vars once
* if parent dir
* Delete vars
* Rework exit code
* Adding works
* restore
* Fix possibility of infinite loop
* Refactoring
* Non-working
* Revert "Non-working"
This reverts commit e231b85570bcb3fc838f950e9f5004c6a7c5a2ac.
* Revert "Revert "Non-working""
This reverts commit 804092e46a752266576b044401cc97c317e41f21.
* Autoenv trust works without restart
* Cargo fix
* Script vars
* Serde
* Serde errors
* Entry and exitscripts
* Clippy
* Support windows and handle errors
* Formatting
* Fix infinite loop on windows
* Debugging windows loop
* More windows infinite loop debugging
* Windows loop debugging #3
* windows loop #4
* Don't return err
* Cleanup unused code
* Infinite loop debug
* Loop debugging
* Check if infinite loop is vars_to_add
* env_vars_to_add does not terminate, skip loop as test
* Hypothesis: std::env::current_dir() is messing with something
* Hypothesis: std::env::current_dir() is messing with something
* plz
* make clippy happy
* debugging in env_vars_to_add
* Debbuging env_vars_to_add #2
* clippy
* clippy..
* Fool clippy
* Fix another infinite loop
* Binary search for error location x)
* Binary search #3
* fmt
* Binary search #4
* more searching...
* closing in... maybe
* PLZ
* Cleanup
* Restore commented out functionality
* Handle case when user gives the directory "."
* fmt
* Use fs::canonicalize for paths
* Create optional script section
* fmt
* Add exitscripts even if no entryscripts are defined
* All sections in .nu-env are now optional
* Re-read config file each directory change
* Hot reload after autoenv untrust, don't run exitscripts if untrusted
* Debugging
* Fix issue with recursive adding of vars
* Thank you for finding my issues Mr. Azure
* use std::env
2020-07-05 17:34:00 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2021-01-07 00:38:22 +00:00
|
|
|
version = "0.1.16"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-07 00:38:22 +00:00
|
|
|
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2020-10-07 02:26:16 +00:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2019-07-04 22:17:18 +00:00
|
|
|
]
|
|
|
|
|
2021-01-19 20:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.7"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-11-09 22:07:38 +00:00
|
|
|
"js-sys",
|
2021-01-19 20:24:27 +00:00
|
|
|
"libc",
|
2022-07-26 02:09:32 +00:00
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2022-11-09 22:07:38 +00:00
|
|
|
"wasm-bindgen",
|
2021-01-19 20:24:27 +00:00
|
|
|
]
|
|
|
|
|
2020-03-08 19:18:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getset"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.1.2"
|
2020-03-08 19:18:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "e45727250e75cc04ff2846a66397da8ef2b3db8e40e0cef4df67950a07621eb9"
|
2020-03-08 19:18:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-03-03 18:18:11 +00:00
|
|
|
]
|
|
|
|
|
2020-05-16 03:18:24 +00:00
|
|
|
[[package]]
|
2021-11-23 08:14:40 +00:00
|
|
|
name = "ghost"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.6"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "eb19fe8de3ea0920d282f7b77dd4227aea6b8b999b42cdf0ca41b2472b14443a"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
2021-06-03 06:25:28 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-06-03 06:25:28 +00:00
|
|
|
]
|
|
|
|
|
2021-12-06 17:28:11 +00:00
|
|
|
[[package]]
|
2019-06-01 21:11:28 +00:00
|
|
|
name = "git2"
|
2023-01-21 13:25:52 +00:00
|
|
|
version = "0.16.1"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-21 13:25:52 +00:00
|
|
|
checksum = "ccf7f68c2995f392c49fffb4f95ae2c873297830eb25c6bc4c114ce8f4562acc"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2021-12-06 17:28:11 +00:00
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
2020-11-22 00:37:16 +00:00
|
|
|
"url",
|
2019-06-01 21:11:28 +00:00
|
|
|
]
|
|
|
|
|
2021-04-19 16:19:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gjson"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.8.1"
|
2021-04-19 16:19:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "43503cc176394dd30a6525f5f36e838339b8b5619be33ed9a7783841580a97b6"
|
2021-04-19 16:19:06 +00:00
|
|
|
|
2019-07-27 07:45:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2019-07-27 07:45:00 +00:00
|
|
|
|
2021-07-09 19:28:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.14"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "5ca32592cf21ac7ccab1825cd87f6c9b3d9022c44d086172ed0966bec8af30be"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2021-07-09 19:28:07 +00:00
|
|
|
"fnv",
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-util",
|
|
|
|
"http",
|
|
|
|
"indexmap",
|
|
|
|
"slab",
|
2021-08-28 03:34:11 +00:00
|
|
|
"tokio",
|
|
|
|
"tokio-util",
|
2021-07-09 19:28:07 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "half"
|
|
|
|
version = "1.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "halfbrown"
|
|
|
|
version = "0.1.15"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ce69ed202df415a3d4a01e6f3341320ca88b9bd4f0bf37be6fa239cdea06d9bf"
|
|
|
|
dependencies = [
|
|
|
|
"fxhash",
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.12.3",
|
2022-11-09 22:07:38 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-03-15 07:26:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hamcrest2"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "49f837c62de05dc9cc71ff6486cd85de8856a330395ae338a04bfcefe5e91075"
|
|
|
|
dependencies = [
|
2021-05-12 01:01:31 +00:00
|
|
|
"num 0.2.1",
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2021-03-15 07:26:30 +00:00
|
|
|
]
|
|
|
|
|
2021-12-24 07:22:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hash32"
|
2021-11-15 22:29:54 +00:00
|
|
|
version = "0.2.1"
|
2021-05-01 16:12:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-15 22:29:54 +00:00
|
|
|
checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67"
|
2021-05-01 16:12:25 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
]
|
|
|
|
|
2021-09-15 19:10:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hash_hasher"
|
|
|
|
version = "2.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "74721d007512d0cb3338cd20f0654ac913920061a4c4d0d8708edb3f2a698c0c"
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.12.3"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"ahash 0.7.6",
|
2023-01-13 15:27:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.13.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
|
|
|
|
dependencies = [
|
|
|
|
"ahash 0.8.1",
|
2021-05-12 01:01:31 +00:00
|
|
|
"rayon",
|
2020-11-22 00:37:16 +00:00
|
|
|
]
|
|
|
|
|
2022-04-14 03:15:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashlink"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.8.1"
|
2022-04-14 03:15:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "69fe1fcf8b4278d860ad0548329f892a3631fb63f82574df68275f34cdbe0ffa"
|
2022-04-14 03:15:02 +00:00
|
|
|
dependencies = [
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.12.3",
|
2022-04-14 03:15:02 +00:00
|
|
|
]
|
|
|
|
|
2021-05-01 16:12:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heapless"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.7.16"
|
2021-05-01 16:12:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "db04bc24a18b9ea980628ecf00e6c0264f3c1426dac36c00cb49b6fbad8b0743"
|
2021-12-24 07:22:11 +00:00
|
|
|
dependencies = [
|
2022-05-25 17:13:14 +00:00
|
|
|
"atomic-polyfill",
|
2022-07-19 17:35:25 +00:00
|
|
|
"hash32",
|
2022-05-25 17:13:14 +00:00
|
|
|
"rustc_version 0.4.0",
|
2021-11-15 22:29:54 +00:00
|
|
|
"spin",
|
2021-05-01 16:12:25 +00:00
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
2021-12-01 19:48:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2022-03-17 00:13:34 +00:00
|
|
|
version = "0.4.0"
|
2021-12-01 19:48:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-17 00:13:34 +00:00
|
|
|
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
|
2021-12-01 19:48:03 +00:00
|
|
|
|
2021-12-14 15:43:48 +00:00
|
|
|
[[package]]
|
2019-11-16 17:17:05 +00:00
|
|
|
name = "hermit-abi"
|
2021-08-28 03:34:11 +00:00
|
|
|
version = "0.1.19"
|
2019-11-16 17:17:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 03:34:11 +00:00
|
|
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
2019-11-16 17:17:05 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2019-11-16 17:17:05 +00:00
|
|
|
]
|
|
|
|
|
2019-09-24 19:02:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2021-03-12 05:20:54 +00:00
|
|
|
version = "0.4.3"
|
2019-09-24 19:02:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 05:20:54 +00:00
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
2019-09-24 19:02:35 +00:00
|
|
|
|
2021-03-03 18:18:11 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "html5ever"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.26.0"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2020-11-03 21:46:42 +00:00
|
|
|
"mac",
|
|
|
|
"markup5ever",
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
2020-03-15 03:04:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "htmlescape"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163"
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.8"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2020-11-22 00:37:16 +00:00
|
|
|
]
|
|
|
|
|
2021-07-30 21:04:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "http-body"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.4.5"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
|
2021-07-09 19:28:07 +00:00
|
|
|
dependencies = [
|
2022-01-04 02:01:18 +00:00
|
|
|
"bytes",
|
2021-07-09 19:28:07 +00:00
|
|
|
"http",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
2021-03-03 18:18:11 +00:00
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httparse"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.8.0"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
|
2021-07-30 21:04:01 +00:00
|
|
|
|
2021-07-09 19:28:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "httpdate"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "1.0.2"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
|
2021-07-09 19:28:07 +00:00
|
|
|
|
2021-07-30 21:04:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hyper"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.14.20"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "02c929dc5c39e335a03c405292728118860721b10190d98c2a0f0efd5baafbac"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
2020-11-22 00:37:16 +00:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-util",
|
2021-08-28 03:34:11 +00:00
|
|
|
"h2",
|
2021-06-01 08:11:21 +00:00
|
|
|
"http",
|
2021-08-28 03:34:11 +00:00
|
|
|
"http-body",
|
2020-08-12 17:20:22 +00:00
|
|
|
"httparse",
|
2021-08-28 03:34:11 +00:00
|
|
|
"httpdate",
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
|
|
|
"socket2",
|
|
|
|
"tokio",
|
2020-11-22 00:37:16 +00:00
|
|
|
"tower-service",
|
|
|
|
"tracing",
|
2021-07-09 19:28:07 +00:00
|
|
|
"want",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.50"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "fd911b35d940d2bd0bea0f9100068e5b97b51a1cbe13d13382f132e0365257a0"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-08-13 18:21:28 +00:00
|
|
|
"android_system_properties",
|
|
|
|
"core-foundation-sys",
|
2022-07-26 02:09:32 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2020-03-20 19:35:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ical"
|
2023-02-09 18:37:51 +00:00
|
|
|
version = "0.8.0"
|
2020-03-20 19:35:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-09 18:37:51 +00:00
|
|
|
checksum = "356d82bd58997815d55ea6f9081bd4cac149e50ca943f7a4f7c050fec7271c1f"
|
2020-03-20 19:35:09 +00:00
|
|
|
dependencies = [
|
2021-01-07 00:38:22 +00:00
|
|
|
"thiserror",
|
2020-03-20 19:35:09 +00:00
|
|
|
]
|
|
|
|
|
2019-07-29 07:46:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.0"
|
2019-07-29 07:46:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
|
2019-07-29 07:46:24 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-07-29 07:46:24 +00:00
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indent_write"
|
|
|
|
version = "2.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0cfe9645a18782869361d9c8732246be7b410ad4e919d3609ebabdac00ba12c3"
|
|
|
|
|
2019-05-15 18:14:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "1.9.1"
|
2019-05-15 18:14:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
|
2019-06-01 05:50:16 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.12.3",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2019-06-01 05:50:16 +00:00
|
|
|
]
|
2019-05-15 18:14:51 +00:00
|
|
|
|
2023-01-11 01:57:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indicatif"
|
|
|
|
version = "0.17.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4295cbb7573c16d310e99e713cf9e75101eb190ab31fccd35f2d2691b4352b19"
|
|
|
|
dependencies = [
|
|
|
|
"console",
|
|
|
|
"number_prefix",
|
|
|
|
"portable-atomic",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "inotify"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
version = "0.9.6"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"inotify-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "inotify-sys"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-08-01 03:03:13 +00:00
|
|
|
[[package]]
|
2020-06-27 07:54:31 +00:00
|
|
|
name = "instant"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.1.12"
|
2020-06-27 07:54:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
2020-10-06 22:21:24 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2020-10-06 22:21:24 +00:00
|
|
|
]
|
2020-06-27 07:54:31 +00:00
|
|
|
|
2019-05-24 18:48:33 +00:00
|
|
|
[[package]]
|
2021-11-23 08:14:40 +00:00
|
|
|
name = "inventory"
|
2023-01-30 02:46:31 +00:00
|
|
|
version = "0.3.3"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:46:31 +00:00
|
|
|
checksum = "16fe3b35d64bd1f72917f06425e7573a2f63f74f42c8f56e53ea6826dde3a2b5"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"ctor",
|
|
|
|
"ghost",
|
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.7.3"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "1ea37f355c05dde75b84bba2d767906ad522e97cd9e2eef2be7a4ab7fb442c06"
|
2022-07-11 16:18:06 +00:00
|
|
|
|
2023-02-27 07:53:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"windows-sys 0.45.0",
|
|
|
|
]
|
|
|
|
|
2022-06-06 11:55:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "is-root"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "04a4202a60e86f1c9702706bb42270dadd333f2db7810157563c86f17af3c873"
|
|
|
|
dependencies = [
|
|
|
|
"users 0.10.0",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-06-06 11:55:23 +00:00
|
|
|
]
|
|
|
|
|
2021-12-01 19:48:03 +00:00
|
|
|
[[package]]
|
2021-09-22 23:49:39 +00:00
|
|
|
name = "is_ci"
|
|
|
|
version = "1.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb"
|
|
|
|
|
2021-12-11 20:40:16 +00:00
|
|
|
[[package]]
|
2021-12-01 19:48:03 +00:00
|
|
|
name = "is_debug"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "06d198e9919d9822d5f7083ba8530e04de87841eaf21ead9af8f2304efd57c89"
|
|
|
|
|
2021-06-21 21:39:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "is_executable"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-06-21 21:39:21 +00:00
|
|
|
]
|
|
|
|
|
2020-03-08 19:18:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.5"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
2020-03-08 19:18:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2021-08-28 03:34:11 +00:00
|
|
|
version = "0.4.8"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 03:34:11 +00:00
|
|
|
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2022-02-08 13:28:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2022-10-10 11:25:57 +00:00
|
|
|
version = "1.0.4"
|
2022-02-08 13:28:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-10 11:25:57 +00:00
|
|
|
checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc"
|
2022-02-08 13:28:21 +00:00
|
|
|
|
2019-09-13 03:44:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.25"
|
2019-09-13 03:44:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
|
2019-09-13 03:44:21 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2019-09-13 03:44:21 +00:00
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "joinery"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "72167d68f5fce3b8655487b8038691a3c9984ee769590f93f2a631f4ad64e4f5"
|
|
|
|
|
2019-08-24 19:36:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "js-sys"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.60"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
|
2019-08-24 19:36:19 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"wasm-bindgen",
|
2019-08-24 19:36:19 +00:00
|
|
|
]
|
|
|
|
|
2022-06-15 16:45:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "json-deserializer"
|
2023-01-13 15:27:37 +00:00
|
|
|
version = "0.4.4"
|
2022-06-15 16:45:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 15:27:37 +00:00
|
|
|
checksum = "5f63b421e16eb4100beb677af56f0b4f3a4f08bab74ef2af079ce5bb92c2683f"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
|
|
|
]
|
2022-06-15 16:45:03 +00:00
|
|
|
|
2022-10-03 16:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "json_to_table"
|
2022-12-15 14:47:04 +00:00
|
|
|
version = "0.3.1"
|
2022-10-03 16:40:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-15 14:47:04 +00:00
|
|
|
checksum = "a0be33515faeb3773f550c80fd7a889148164e58f7e3cf36467718c8ce71ee55"
|
2022-10-03 16:40:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde_json",
|
|
|
|
"tabled",
|
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
name = "kqueue"
|
|
|
|
version = "1.0.7"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
checksum = "2c8fc60ba15bf51257aa9807a48a61013db043fcf3a78cb0d916e8e396dcad98"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"kqueue-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "kqueue-sys"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"libc",
|
2022-04-28 14:26:34 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2019-10-13 04:53:58 +00:00
|
|
|
version = "1.4.0"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
2021-05-12 01:01:31 +00:00
|
|
|
name = "lexical"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "6.1.1"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "c7aefb36fd43fef7003334742cbf77b243fcd36418a1d1bdd480d613a67968f6"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"lexical-core",
|
|
|
|
]
|
|
|
|
|
2020-09-08 22:35:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lexical-core"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.8.5"
|
2020-09-08 22:35:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46"
|
2020-09-08 22:35:45 +00:00
|
|
|
dependencies = [
|
2021-09-15 19:10:12 +00:00
|
|
|
"lexical-parse-float",
|
|
|
|
"lexical-parse-integer",
|
|
|
|
"lexical-util",
|
|
|
|
"lexical-write-float",
|
|
|
|
"lexical-write-integer",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lexical-parse-float"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.8.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"lexical-parse-integer",
|
|
|
|
"lexical-util",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lexical-parse-integer"
|
2022-06-14 20:53:33 +00:00
|
|
|
version = "0.8.6"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 20:53:33 +00:00
|
|
|
checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"lexical-util",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lexical-util"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.8.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lexical-write-float"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.8.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"lexical-util",
|
|
|
|
"lexical-write-integer",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lexical-write-integer"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.8.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"lexical-util",
|
2020-09-08 22:35:45 +00:00
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2023-01-23 18:57:40 +00:00
|
|
|
version = "0.2.139"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 18:57:40 +00:00
|
|
|
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libgit2-sys"
|
2023-01-21 00:50:33 +00:00
|
|
|
version = "0.14.2+1.5.1"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-21 00:50:33 +00:00
|
|
|
checksum = "7f3d95f6b51075fe9810a7ae22c7095f12b98005ab364d8544797a825ce946a4"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2021-12-06 17:28:11 +00:00
|
|
|
"libssh2-sys",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libz-sys",
|
2021-12-06 17:28:11 +00:00
|
|
|
"openssl-sys",
|
2019-11-28 02:21:00 +00:00
|
|
|
"pkg-config",
|
2019-06-01 21:11:28 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
|
|
|
"winapi",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2021-05-27 05:09:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.5"
|
2021-05-27 05:09:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "292a948cd991e376cf75541fe5b97a1081d713c618b4f1b9500f8844e49eb565"
|
2021-05-27 05:09:48 +00:00
|
|
|
|
2019-08-27 21:45:18 +00:00
|
|
|
[[package]]
|
2022-01-14 06:20:53 +00:00
|
|
|
name = "libproc"
|
2022-07-11 16:18:06 +00:00
|
|
|
version = "0.12.0"
|
2022-01-14 06:20:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-11 16:18:06 +00:00
|
|
|
checksum = "0b799ad155d75ce914c467ee5627b62247c20d4aedbd446f821484cebf3cded7"
|
2022-01-14 06:20:53 +00:00
|
|
|
dependencies = [
|
2022-07-11 16:18:06 +00:00
|
|
|
"bindgen",
|
2023-02-22 12:56:31 +00:00
|
|
|
"errno 0.2.8",
|
2022-01-14 06:20:53 +00:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-04-14 03:15:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libsqlite3-sys"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.25.1"
|
2022-04-14 03:15:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "9f0455f2c1bc9a7caa792907026e469c1d91761fb0ea37cbb16427c77280cf35"
|
2022-04-14 03:15:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2021-12-06 17:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
|
|
|
version = "0.2.23"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
2019-11-28 02:21:00 +00:00
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-08-27 21:45:18 +00:00
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2022-06-14 20:53:33 +00:00
|
|
|
version = "1.1.8"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 20:53:33 +00:00
|
|
|
checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-06-01 21:11:28 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.5.6"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
2021-03-04 06:35:13 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2021-03-04 06:35:13 +00:00
|
|
|
]
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2020-06-27 07:54:31 +00:00
|
|
|
[[package]]
|
2022-02-06 00:16:21 +00:00
|
|
|
name = "linux-raw-sys"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.0.46"
|
2022-02-06 00:16:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d"
|
2022-02-06 00:16:21 +00:00
|
|
|
|
2023-02-27 07:53:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
|
|
|
|
|
2021-08-30 18:36:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.4.9"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
|
2020-06-27 07:54:31 +00:00
|
|
|
dependencies = [
|
2022-04-15 11:04:15 +00:00
|
|
|
"autocfg",
|
2020-06-27 07:54:31 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.4.17"
|
2020-06-24 17:57:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
2020-06-24 17:57:27 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
Add LRU regex cache (#7587)
Closes #7572 by adding a cache for compiled regexes of type
`Arc<Mutex<LruCache<String, Regex>>>` to `EngineState` .
The cache is limited to 100 entries (limit chosen arbitrarily) and
evicts least-recently-used items first.
This PR makes a noticeable difference when using regexes for
`color_config`, e.g.:
```bash
#first set string formatting in config.nu like:
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }`
# then try displaying and exploring a table with many strings
# this is instant after the PR, but takes hundreds of milliseconds before
['#ff0033', '#0025ee', '#0087aa', 'string', '#4101ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff']
```
## New dependency (`lru`)
This uses [the popular `lru` crate](https://lib.rs/crates/lru). The new
dependency adds 19.8KB to a Linux release build of Nushell. I think this
is OK, especially since the crate can be useful elsewhere in Nu.
2022-12-23 22:30:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lru"
|
2023-01-13 20:37:39 +00:00
|
|
|
version = "0.9.0"
|
Add LRU regex cache (#7587)
Closes #7572 by adding a cache for compiled regexes of type
`Arc<Mutex<LruCache<String, Regex>>>` to `EngineState` .
The cache is limited to 100 entries (limit chosen arbitrarily) and
evicts least-recently-used items first.
This PR makes a noticeable difference when using regexes for
`color_config`, e.g.:
```bash
#first set string formatting in config.nu like:
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }`
# then try displaying and exploring a table with many strings
# this is instant after the PR, but takes hundreds of milliseconds before
['#ff0033', '#0025ee', '#0087aa', 'string', '#4101ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff']
```
## New dependency (`lru`)
This uses [the popular `lru` crate](https://lib.rs/crates/lru). The new
dependency adds 19.8KB to a Linux release build of Nushell. I think this
is OK, especially since the crate can be useful elsewhere in Nu.
2022-12-23 22:30:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 20:37:39 +00:00
|
|
|
checksum = "71e7d46de488603ffdd5f30afbc64fbba2378214a2c3a2fb83abf3d33126df17"
|
Add LRU regex cache (#7587)
Closes #7572 by adding a cache for compiled regexes of type
`Arc<Mutex<LruCache<String, Regex>>>` to `EngineState` .
The cache is limited to 100 entries (limit chosen arbitrarily) and
evicts least-recently-used items first.
This PR makes a noticeable difference when using regexes for
`color_config`, e.g.:
```bash
#first set string formatting in config.nu like:
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }`
# then try displaying and exploring a table with many strings
# this is instant after the PR, but takes hundreds of milliseconds before
['#ff0033', '#0025ee', '#0087aa', 'string', '#4101ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff']
```
## New dependency (`lru`)
This uses [the popular `lru` crate](https://lib.rs/crates/lru). The new
dependency adds 19.8KB to a Linux release build of Nushell. I think this
is OK, especially since the crate can be useful elsewhere in Nu.
2022-12-23 22:30:04 +00:00
|
|
|
dependencies = [
|
2023-01-13 20:37:39 +00:00
|
|
|
"hashbrown 0.13.2",
|
Add LRU regex cache (#7587)
Closes #7572 by adding a cache for compiled regexes of type
`Arc<Mutex<LruCache<String, Regex>>>` to `EngineState` .
The cache is limited to 100 entries (limit chosen arbitrarily) and
evicts least-recently-used items first.
This PR makes a noticeable difference when using regexes for
`color_config`, e.g.:
```bash
#first set string formatting in config.nu like:
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }`
# then try displaying and exploring a table with many strings
# this is instant after the PR, but takes hundreds of milliseconds before
['#ff0033', '#0025ee', '#0087aa', 'string', '#4101ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff']
```
## New dependency (`lru`)
This uses [the popular `lru` crate](https://lib.rs/crates/lru). The new
dependency adds 19.8KB to a Linux release build of Nushell. I think this
is OK, especially since the crate can be useful elsewhere in Nu.
2022-12-23 22:30:04 +00:00
|
|
|
]
|
|
|
|
|
2021-10-08 14:40:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lscolors"
|
2022-08-09 14:32:30 +00:00
|
|
|
version = "0.12.0"
|
2022-08-10 19:56:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "074bff749d092e2e818fe954952102f88e21f67fc69f4d350621aab15a1810f1"
|
2021-10-08 14:40:20 +00:00
|
|
|
dependencies = [
|
2022-07-30 09:41:15 +00:00
|
|
|
"crossterm 0.24.0",
|
2019-08-27 21:45:18 +00:00
|
|
|
]
|
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lz4"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.24.0"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"lz4-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lz4-sys"
|
2022-09-03 12:32:12 +00:00
|
|
|
version = "1.9.4"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-09-03 12:32:12 +00:00
|
|
|
checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mac"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
|
|
|
|
2022-09-01 06:09:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mach2"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6d0d1830bcd151a6fc4aea1369af235b36c1528fe976b8ff678683c9995eade8"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-06-07 16:30:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "malloc_buf"
|
|
|
|
version = "0.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
|
2019-06-07 16:30:50 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2019-06-07 16:30:50 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "markup5ever"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.11.0"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2022-07-26 02:09:32 +00:00
|
|
|
"phf 0.10.1",
|
|
|
|
"phf_codegen 0.10.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"string_cache",
|
|
|
|
"string_cache_codegen",
|
|
|
|
"tendril",
|
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
2021-08-28 03:34:11 +00:00
|
|
|
version = "0.1.9"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 03:34:11 +00:00
|
|
|
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
|
2019-11-16 17:17:05 +00:00
|
|
|
|
2021-07-25 19:08:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "md-5"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.5"
|
2021-12-10 23:14:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
|
2021-12-10 23:14:28 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"digest",
|
2021-12-10 23:14:28 +00:00
|
|
|
]
|
|
|
|
|
2021-08-30 18:36:07 +00:00
|
|
|
[[package]]
|
2019-05-10 16:59:12 +00:00
|
|
|
name = "memchr"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "2.5.0"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
2021-05-12 01:01:31 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.5.7"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "95af15f345b17af2efc8ead6080fb8bc376f8cec1b35277b935637595fe77498"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2020-11-30 17:47:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.6.5"
|
2020-11-30 17:47:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
2020-11-30 17:47:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2021-09-20 21:37:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miette"
|
2023-01-23 01:56:28 +00:00
|
|
|
version = "5.5.0"
|
2021-09-22 23:49:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 01:56:28 +00:00
|
|
|
checksum = "4afd9b301defa984bbdbe112b4763e093ed191750a0d914a78c1106b2d0fe703"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2022-10-24 19:42:32 +00:00
|
|
|
"miette-derive",
|
2021-09-20 21:37:26 +00:00
|
|
|
"once_cell",
|
|
|
|
"owo-colors",
|
|
|
|
"supports-color",
|
|
|
|
"supports-hyperlinks",
|
|
|
|
"supports-unicode",
|
2022-07-11 16:18:06 +00:00
|
|
|
"terminal_size 0.1.17",
|
2022-10-03 16:40:16 +00:00
|
|
|
"textwrap 0.15.1",
|
2021-09-20 21:37:26 +00:00
|
|
|
"thiserror",
|
2022-02-21 03:31:50 +00:00
|
|
|
"unicode-width",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "miette-derive"
|
2023-01-23 01:56:28 +00:00
|
|
|
version = "5.5.0"
|
2021-09-22 23:49:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 01:56:28 +00:00
|
|
|
checksum = "97c2401ab7ac5282ca5c8b518a87635b1a93762b0b90b9990c509888eeccba29"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-01-04 02:01:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
|
|
|
version = "0.3.16"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
|
2020-09-08 22:35:45 +00:00
|
|
|
|
2022-12-27 18:46:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mime_guess"
|
|
|
|
version = "2.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
|
|
|
|
dependencies = [
|
|
|
|
"mime",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
2022-04-15 11:04:15 +00:00
|
|
|
name = "miniz_oxide"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.5.4"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "96590ba8f175222643a85693f33d26e9c8a015f599c216509b1a6894af675d34"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
2022-04-15 11:04:15 +00:00
|
|
|
"adler",
|
2020-01-01 06:45:27 +00:00
|
|
|
]
|
|
|
|
|
2022-03-10 20:58:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.8.4"
|
2022-03-10 20:58:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "57ee1c23c7c63b0c9250c339ffdc69255f110b298b901b9f6c82547b7b87caaf"
|
2022-03-10 20:58:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"log",
|
2022-03-27 13:01:04 +00:00
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-04-28 14:26:34 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mockito"
|
|
|
|
version = "0.32.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09908a0c0e8c956c1360268b54c0f7eeefc7ef98020cfb81077fa71761a18d29"
|
|
|
|
dependencies = [
|
|
|
|
"assert-json-diff",
|
|
|
|
"async-trait",
|
|
|
|
"colored",
|
|
|
|
"deadpool",
|
|
|
|
"futures",
|
|
|
|
"hyper",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"regex",
|
|
|
|
"serde_json",
|
|
|
|
"serde_urlencoded",
|
|
|
|
"similar",
|
|
|
|
"tokio",
|
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "multiversion"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "025c962a3dd3cc5e0e520aa9c612201d127dcdf28616974961a649dca64f5373"
|
|
|
|
dependencies = [
|
|
|
|
"multiversion-macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "multiversion-macros"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8a3e2bde382ebf960c1f3e79689fa5941625fe9bf694a1cb64af3e85faff3af"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2020-03-20 07:53:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "native-tls"
|
2023-03-05 22:48:13 +00:00
|
|
|
version = "0.2.11"
|
2020-03-20 07:53:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-05 22:48:13 +00:00
|
|
|
checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
|
2020-03-20 07:53:49 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"lazy_static",
|
2020-03-20 07:53:49 +00:00
|
|
|
"libc",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2020-03-20 07:53:49 +00:00
|
|
|
"openssl",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
|
|
|
"security-framework",
|
|
|
|
"security-framework-sys",
|
|
|
|
"tempfile",
|
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nb"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "801d31da0513b6ec5214e9bf433a77966320625a37860f910be265be6e18d06f"
|
|
|
|
dependencies = [
|
|
|
|
"nb 1.0.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nb"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "546c37ac5d9e56f55e73b677106873d9d9f5190605e41a856503623648488cae"
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
2020-11-03 21:46:42 +00:00
|
|
|
name = "new_debug_unreachable"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
|
|
|
|
2022-10-03 16:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
|
|
|
version = "0.25.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e322c04a9e3440c327fca7b6c8a63e6890a32fa2ad689db972425f07e0d22abb"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"bitflags",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-10-03 16:40:16 +00:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2020-07-12 03:57:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nodrop"
|
|
|
|
version = "0.1.14"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "7.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "nom-supreme"
|
2022-07-11 16:18:06 +00:00
|
|
|
version = "0.8.0"
|
2022-04-04 20:45:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-11 16:18:06 +00:00
|
|
|
checksum = "2bd3ae6c901f1959588759ff51c95d24b491ecb9ff91aa9c2ef4acc5b1dcab27"
|
2022-04-04 20:45:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"brownstone",
|
|
|
|
"indent_write",
|
|
|
|
"joinery",
|
|
|
|
"memchr",
|
2023-01-04 22:50:18 +00:00
|
|
|
"nom",
|
2022-04-04 20:45:01 +00:00
|
|
|
]
|
|
|
|
|
2023-02-06 20:15:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nom8"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "notify"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
version = "5.1.0"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
checksum = "58ea850aa68a06e48fdb069c0ec44d0d64c8dbffa49bf3b6f7f0a901fdea1ba9"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"crossbeam-channel",
|
2022-04-28 14:26:34 +00:00
|
|
|
"filetime",
|
|
|
|
"fsevent-sys",
|
|
|
|
"inotify",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"kqueue",
|
2022-04-28 14:26:34 +00:00
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"mio",
|
2022-04-28 14:26:34 +00:00
|
|
|
"walkdir",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"windows-sys 0.42.0",
|
2022-04-28 14:26:34 +00:00
|
|
|
]
|
|
|
|
|
2023-01-13 15:27:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "now"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6d89e9874397a1f0a52fc1f197a8effd9735223cb2390e9dcc83ac6cd02923d0"
|
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
|
|
|
]
|
|
|
|
|
2022-10-03 16:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ntapi"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc51db7b362b205941f71232e56c625156eb9a929f8cf74a428fd5bc094a4afc"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-10-03 16:40:16 +00:00
|
|
|
]
|
|
|
|
|
2019-05-16 23:39:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2022-02-02 20:59:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"assert_cmd",
|
2022-09-29 18:37:48 +00:00
|
|
|
"atty",
|
2022-02-09 22:08:16 +00:00
|
|
|
"chrono",
|
2023-01-05 19:39:54 +00:00
|
|
|
"criterion",
|
2022-07-30 09:41:15 +00:00
|
|
|
"crossterm 0.24.0",
|
2022-02-02 20:59:01 +00:00
|
|
|
"ctrlc",
|
|
|
|
"hamcrest2",
|
2022-02-22 15:55:28 +00:00
|
|
|
"is_executable",
|
2022-02-02 20:59:01 +00:00
|
|
|
"itertools",
|
|
|
|
"log",
|
2022-10-24 19:42:32 +00:00
|
|
|
"miette",
|
2022-10-27 23:07:13 +00:00
|
|
|
"nix",
|
2022-02-02 20:59:01 +00:00
|
|
|
"nu-ansi-term",
|
|
|
|
"nu-cli",
|
2023-02-24 15:54:42 +00:00
|
|
|
"nu-cmd-lang",
|
2022-02-02 20:59:01 +00:00
|
|
|
"nu-color-config",
|
|
|
|
"nu-command",
|
|
|
|
"nu-engine",
|
|
|
|
"nu-json",
|
|
|
|
"nu-parser",
|
|
|
|
"nu-path",
|
|
|
|
"nu-plugin",
|
|
|
|
"nu-pretty-hex",
|
|
|
|
"nu-protocol",
|
|
|
|
"nu-system",
|
|
|
|
"nu-table",
|
|
|
|
"nu-term-grid",
|
|
|
|
"nu-test-support",
|
2022-05-17 18:28:18 +00:00
|
|
|
"nu-utils",
|
2022-04-28 00:25:09 +00:00
|
|
|
"openssl",
|
2022-02-02 20:59:01 +00:00
|
|
|
"pretty_assertions",
|
2022-02-11 18:46:36 +00:00
|
|
|
"rayon",
|
2022-02-02 20:59:01 +00:00
|
|
|
"reedline",
|
2022-07-26 02:09:32 +00:00
|
|
|
"rstest",
|
2022-02-02 20:59:01 +00:00
|
|
|
"serial_test",
|
2022-06-09 12:08:15 +00:00
|
|
|
"signal-hook",
|
2022-08-09 16:44:37 +00:00
|
|
|
"simplelog",
|
2022-02-02 20:59:01 +00:00
|
|
|
"tempfile",
|
2022-10-03 16:40:16 +00:00
|
|
|
"time 0.3.14",
|
2022-05-25 03:28:10 +00:00
|
|
|
"winres",
|
2020-03-04 18:58:20 +00:00
|
|
|
]
|
|
|
|
|
2021-02-22 18:33:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-ansi-term"
|
2022-06-03 19:38:54 +00:00
|
|
|
version = "0.46.0"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 19:38:54 +00:00
|
|
|
checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2021-09-05 19:06:57 +00:00
|
|
|
"overload",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-02-22 18:33:34 +00:00
|
|
|
]
|
|
|
|
|
2020-03-04 18:58:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-cli"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2022-09-05 11:33:54 +00:00
|
|
|
"atty",
|
2022-06-14 20:53:33 +00:00
|
|
|
"chrono",
|
2022-07-30 09:41:15 +00:00
|
|
|
"crossterm 0.24.0",
|
2023-01-23 18:57:40 +00:00
|
|
|
"fancy-regex",
|
2022-04-24 21:43:18 +00:00
|
|
|
"fuzzy-matcher",
|
2022-01-20 18:02:53 +00:00
|
|
|
"is_executable",
|
2022-01-01 21:42:50 +00:00
|
|
|
"log",
|
2022-10-24 19:42:32 +00:00
|
|
|
"miette",
|
2021-12-16 12:17:29 +00:00
|
|
|
"nu-ansi-term",
|
|
|
|
"nu-color-config",
|
2022-04-20 04:54:00 +00:00
|
|
|
"nu-command",
|
2021-08-30 18:36:07 +00:00
|
|
|
"nu-engine",
|
|
|
|
"nu-parser",
|
2021-10-04 19:21:31 +00:00
|
|
|
"nu-path",
|
2021-09-02 01:29:43 +00:00
|
|
|
"nu-protocol",
|
2022-04-20 04:54:00 +00:00
|
|
|
"nu-test-support",
|
2022-03-16 22:21:06 +00:00
|
|
|
"nu-utils",
|
2022-12-17 18:30:04 +00:00
|
|
|
"once_cell",
|
2022-09-13 12:36:53 +00:00
|
|
|
"percent-encoding",
|
2021-08-30 18:36:07 +00:00
|
|
|
"reedline",
|
2022-07-26 02:09:32 +00:00
|
|
|
"rstest",
|
2023-03-04 22:48:34 +00:00
|
|
|
"sysinfo 0.28.2",
|
2021-09-20 21:37:26 +00:00
|
|
|
"thiserror",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
2023-02-24 15:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-cmd-lang"
|
|
|
|
version = "0.76.1"
|
|
|
|
dependencies = [
|
|
|
|
"fancy-regex",
|
|
|
|
"itertools",
|
|
|
|
"log",
|
|
|
|
"nu-ansi-term",
|
|
|
|
"nu-color-config",
|
|
|
|
"nu-engine",
|
|
|
|
"nu-parser",
|
|
|
|
"nu-protocol",
|
|
|
|
"nu-test-support",
|
|
|
|
"nu-utils",
|
|
|
|
"shadow-rs",
|
|
|
|
]
|
|
|
|
|
2021-12-16 12:17:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-color-config"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-12-16 12:17:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"nu-ansi-term",
|
color_config now accepts closures as color values (#7141)
# Description
Closes #6909. You can now add closures to your `color_config` themes.
Whenever a value would be printed with `table`, the closure is run with
the value piped-in. The closure must return either a {fg,bg,attr} record
or a color name (`'light_red'` etc.). This returned style is used to
colour the value.
This is entirely backwards-compatible with existing config.nu files.
Example code excerpt:
```
let my_theme = {
header: green_bold
bool: { if $in { 'light_cyan' } else { 'light_red' } }
int: purple_bold
filesize: { |e| if $e == 0b { 'gray' } else if $e < 1mb { 'purple_bold' } else { 'cyan_bold' } }
duration: purple_bold
date: { (date now) - $in | if $in > 1wk { 'cyan_bold' } else if $in > 1day { 'green_bold' } else { 'yellow_bold' } }
range: yellow_bold
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }
nothing: white
```
Example output with this in effect:
![2022-11-16 12 47 23 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952558-482de05d-69c7-4bf2-91fc-d0964bf71264.png)
![2022-11-16 12 39 41 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952580-2384bb86-b680-40fe-8192-71bae396c738.png)
![2022-11-15 09 21 54 PM - run_external
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952601-343fc15d-e4a8-4a92-ad89-9a7d17d42748.png)
Slightly important notes:
* Some color_config names, namely "separator", "empty" and "hints", pipe
in `null` instead of a value.
* Currently, doing anything non-trivial inside a closure has an
understandably big perf hit. I currently do not actually recommend
something like `string: { if $in =~ '^#\w{6}$' { $in } else { 'white' }
}` for serious work, mainly because of the abundance of string-type data
in the world. Nevertheless, lesser-used types like "date" and "duration"
work well with this.
* I had to do some reorganisation in order to make it possible to call
`eval_block()` that late in table rendering. I invented a new struct
called "StyleComputer" which holds the engine_state and stack of the
initial `table` command (implicit or explicit).
* StyleComputer has a `compute()` method which takes a color_config name
and a nu value, and always returns the correct Style, so you don't have
to worry about A) the color_config value was set at all, B) whether it
was set to a closure or not, or C) which default style to use in those
cases.
* Currently, errors encountered during execution of the closures are
thrown in the garbage. Any other ideas are welcome. (Nonetheless, errors
result in a huge perf hit when they are encountered. I think what should
be done is to assume something terrible happened to the user's config
and invalidate the StyleComputer for that `table` run, thus causing
subsequent output to just be Style::default().)
* More thorough tests are forthcoming - ran into some difficulty using
`nu!` to take an alternative config, and for some reason `let-env config
=` statements don't seem to work inside `nu!` pipelines(???)
* The default config.nu has not been updated to make use of this yet. Do
tell if you think I should incorporate that into this.
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-17 13:07:56 +00:00
|
|
|
"nu-engine",
|
2022-12-18 14:43:15 +00:00
|
|
|
"nu-json",
|
2021-12-16 12:17:29 +00:00
|
|
|
"nu-protocol",
|
color_config now accepts closures as color values (#7141)
# Description
Closes #6909. You can now add closures to your `color_config` themes.
Whenever a value would be printed with `table`, the closure is run with
the value piped-in. The closure must return either a {fg,bg,attr} record
or a color name (`'light_red'` etc.). This returned style is used to
colour the value.
This is entirely backwards-compatible with existing config.nu files.
Example code excerpt:
```
let my_theme = {
header: green_bold
bool: { if $in { 'light_cyan' } else { 'light_red' } }
int: purple_bold
filesize: { |e| if $e == 0b { 'gray' } else if $e < 1mb { 'purple_bold' } else { 'cyan_bold' } }
duration: purple_bold
date: { (date now) - $in | if $in > 1wk { 'cyan_bold' } else if $in > 1day { 'green_bold' } else { 'yellow_bold' } }
range: yellow_bold
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }
nothing: white
```
Example output with this in effect:
![2022-11-16 12 47 23 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952558-482de05d-69c7-4bf2-91fc-d0964bf71264.png)
![2022-11-16 12 39 41 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952580-2384bb86-b680-40fe-8192-71bae396c738.png)
![2022-11-15 09 21 54 PM - run_external
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952601-343fc15d-e4a8-4a92-ad89-9a7d17d42748.png)
Slightly important notes:
* Some color_config names, namely "separator", "empty" and "hints", pipe
in `null` instead of a value.
* Currently, doing anything non-trivial inside a closure has an
understandably big perf hit. I currently do not actually recommend
something like `string: { if $in =~ '^#\w{6}$' { $in } else { 'white' }
}` for serious work, mainly because of the abundance of string-type data
in the world. Nevertheless, lesser-used types like "date" and "duration"
work well with this.
* I had to do some reorganisation in order to make it possible to call
`eval_block()` that late in table rendering. I invented a new struct
called "StyleComputer" which holds the engine_state and stack of the
initial `table` command (implicit or explicit).
* StyleComputer has a `compute()` method which takes a color_config name
and a nu value, and always returns the correct Style, so you don't have
to worry about A) the color_config value was set at all, B) whether it
was set to a closure or not, or C) which default style to use in those
cases.
* Currently, errors encountered during execution of the closures are
thrown in the garbage. Any other ideas are welcome. (Nonetheless, errors
result in a huge perf hit when they are encountered. I think what should
be done is to assume something terrible happened to the user's config
and invalidate the StyleComputer for that `table` run, thus causing
subsequent output to just be Style::default().)
* More thorough tests are forthcoming - ran into some difficulty using
`nu!` to take an alternative config, and for some reason `let-env config
=` statements don't seem to work inside `nu!` pipelines(???)
* The default config.nu has not been updated to make use of this yet. Do
tell if you think I should incorporate that into this.
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-17 13:07:56 +00:00
|
|
|
"nu-test-support",
|
|
|
|
"nu-utils",
|
2021-12-16 12:17:29 +00:00
|
|
|
"serde",
|
color_config now accepts closures as color values (#7141)
# Description
Closes #6909. You can now add closures to your `color_config` themes.
Whenever a value would be printed with `table`, the closure is run with
the value piped-in. The closure must return either a {fg,bg,attr} record
or a color name (`'light_red'` etc.). This returned style is used to
colour the value.
This is entirely backwards-compatible with existing config.nu files.
Example code excerpt:
```
let my_theme = {
header: green_bold
bool: { if $in { 'light_cyan' } else { 'light_red' } }
int: purple_bold
filesize: { |e| if $e == 0b { 'gray' } else if $e < 1mb { 'purple_bold' } else { 'cyan_bold' } }
duration: purple_bold
date: { (date now) - $in | if $in > 1wk { 'cyan_bold' } else if $in > 1day { 'green_bold' } else { 'yellow_bold' } }
range: yellow_bold
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }
nothing: white
```
Example output with this in effect:
![2022-11-16 12 47 23 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952558-482de05d-69c7-4bf2-91fc-d0964bf71264.png)
![2022-11-16 12 39 41 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952580-2384bb86-b680-40fe-8192-71bae396c738.png)
![2022-11-15 09 21 54 PM - run_external
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952601-343fc15d-e4a8-4a92-ad89-9a7d17d42748.png)
Slightly important notes:
* Some color_config names, namely "separator", "empty" and "hints", pipe
in `null` instead of a value.
* Currently, doing anything non-trivial inside a closure has an
understandably big perf hit. I currently do not actually recommend
something like `string: { if $in =~ '^#\w{6}$' { $in } else { 'white' }
}` for serious work, mainly because of the abundance of string-type data
in the world. Nevertheless, lesser-used types like "date" and "duration"
work well with this.
* I had to do some reorganisation in order to make it possible to call
`eval_block()` that late in table rendering. I invented a new struct
called "StyleComputer" which holds the engine_state and stack of the
initial `table` command (implicit or explicit).
* StyleComputer has a `compute()` method which takes a color_config name
and a nu value, and always returns the correct Style, so you don't have
to worry about A) the color_config value was set at all, B) whether it
was set to a closure or not, or C) which default style to use in those
cases.
* Currently, errors encountered during execution of the closures are
thrown in the garbage. Any other ideas are welcome. (Nonetheless, errors
result in a huge perf hit when they are encountered. I think what should
be done is to assume something terrible happened to the user's config
and invalidate the StyleComputer for that `table` run, thus causing
subsequent output to just be Style::default().)
* More thorough tests are forthcoming - ran into some difficulty using
`nu!` to take an alternative config, and for some reason `let-env config
=` statements don't seem to work inside `nu!` pipelines(???)
* The default config.nu has not been updated to make use of this yet. Do
tell if you think I should incorporate that into this.
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-17 13:07:56 +00:00
|
|
|
"tabled",
|
2019-11-21 14:33:14 +00:00
|
|
|
]
|
2021-01-10 02:50:49 +00:00
|
|
|
|
2021-01-11 18:50:53 +00:00
|
|
|
[[package]]
|
2021-01-12 04:59:53 +00:00
|
|
|
name = "nu-command"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-09-02 22:58:15 +00:00
|
|
|
dependencies = [
|
2021-11-07 02:40:44 +00:00
|
|
|
"Inflector",
|
2022-05-06 12:58:32 +00:00
|
|
|
"alphanumeric-sort",
|
2022-12-15 14:47:04 +00:00
|
|
|
"atty",
|
2023-01-13 13:16:14 +00:00
|
|
|
"base64 0.21.0",
|
2022-07-03 18:31:50 +00:00
|
|
|
"byteorder",
|
2021-10-12 20:22:12 +00:00
|
|
|
"bytesize",
|
2021-11-19 19:23:35 +00:00
|
|
|
"calamine",
|
2021-10-05 02:27:39 +00:00
|
|
|
"chrono",
|
2021-11-02 03:08:05 +00:00
|
|
|
"chrono-humanize",
|
2022-07-26 02:09:32 +00:00
|
|
|
"chrono-tz",
|
2022-07-30 09:41:15 +00:00
|
|
|
"crossterm 0.24.0",
|
2021-11-09 20:17:37 +00:00
|
|
|
"csv",
|
2021-10-15 18:51:25 +00:00
|
|
|
"dialoguer",
|
2022-10-03 16:40:16 +00:00
|
|
|
"digest",
|
2021-03-14 02:13:31 +00:00
|
|
|
"dirs-next",
|
2021-01-12 04:59:53 +00:00
|
|
|
"dtparse",
|
|
|
|
"encoding_rs",
|
2023-01-23 18:57:40 +00:00
|
|
|
"fancy-regex",
|
2021-01-12 04:59:53 +00:00
|
|
|
"filesize",
|
2022-04-07 11:44:05 +00:00
|
|
|
"filetime",
|
2022-02-09 14:56:27 +00:00
|
|
|
"fs_extra",
|
2022-02-02 20:59:01 +00:00
|
|
|
"hamcrest2",
|
2021-01-12 04:59:53 +00:00
|
|
|
"htmlescape",
|
|
|
|
"indexmap",
|
2023-01-11 01:57:48 +00:00
|
|
|
"indicatif",
|
2022-06-06 11:55:23 +00:00
|
|
|
"is-root",
|
2021-01-12 04:59:53 +00:00
|
|
|
"itertools",
|
2022-11-04 18:38:39 +00:00
|
|
|
"libc",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2021-10-08 14:40:20 +00:00
|
|
|
"lscolors",
|
2021-07-25 19:08:08 +00:00
|
|
|
"md-5",
|
2021-09-01 02:29:09 +00:00
|
|
|
"mime",
|
2022-12-27 18:46:23 +00:00
|
|
|
"mime_guess",
|
2023-03-02 19:05:18 +00:00
|
|
|
"mockito",
|
2023-03-05 22:48:13 +00:00
|
|
|
"native-tls",
|
2022-04-28 14:26:34 +00:00
|
|
|
"notify",
|
2021-06-01 08:11:21 +00:00
|
|
|
"nu-ansi-term",
|
2023-02-24 15:54:42 +00:00
|
|
|
"nu-cmd-lang",
|
2021-12-16 12:17:29 +00:00
|
|
|
"nu-color-config",
|
2021-09-02 22:58:15 +00:00
|
|
|
"nu-engine",
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"nu-explore",
|
2022-03-13 18:30:27 +00:00
|
|
|
"nu-glob",
|
2021-10-01 05:11:49 +00:00
|
|
|
"nu-json",
|
2021-10-09 13:10:10 +00:00
|
|
|
"nu-parser",
|
2021-10-02 20:16:37 +00:00
|
|
|
"nu-path",
|
2021-12-24 07:22:11 +00:00
|
|
|
"nu-pretty-hex",
|
2021-09-02 22:58:15 +00:00
|
|
|
"nu-protocol",
|
2022-01-14 06:20:53 +00:00
|
|
|
"nu-system",
|
2021-09-10 02:27:12 +00:00
|
|
|
"nu-table",
|
2021-10-07 15:32:39 +00:00
|
|
|
"nu-term-grid",
|
2022-02-02 20:59:01 +00:00
|
|
|
"nu-test-support",
|
2022-03-16 22:21:06 +00:00
|
|
|
"nu-utils",
|
2021-12-04 05:02:57 +00:00
|
|
|
"num 0.4.0",
|
2022-08-13 02:13:50 +00:00
|
|
|
"num-format",
|
2022-08-02 20:52:04 +00:00
|
|
|
"num-traits",
|
2022-11-19 11:09:39 +00:00
|
|
|
"once_cell",
|
2023-01-03 18:47:37 +00:00
|
|
|
"open",
|
2022-01-16 13:55:56 +00:00
|
|
|
"pathdiff",
|
2023-01-05 18:24:38 +00:00
|
|
|
"percent-encoding",
|
2021-05-12 01:01:31 +00:00
|
|
|
"polars",
|
2022-05-06 12:58:32 +00:00
|
|
|
"powierza-coefficient",
|
`string | fill` counts clusters, not graphemes; and doesn't count ANSI escape codes (#8134)
Enhancement of new `fill` command (#7846) to handle content including
ANSI escape codes for formatting or multi-code-point Unicode grapheme
clusters.
In both of these cases, the content is (many) bytes longer than its
visible length, and `fill` was counting the extra bytes so not adding
enough fill characters.
# Description
This script:
```rust
# the teacher emoji `\u{1F9D1}\u{200D}\u{1F3EB}` is 3 code points, but only 1 print position wide.
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"\u{1F9D1}\u{200D}\u{1F3EB}" | fill -c "+" -w 3 -a "c"
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"(ansi green)a(ansi reset)" | fill -c "+" -w 3 -a c
echo ""
```
Was producing this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
🧑🏫
This output should be 3 print positions wide, with leading and trailing `+`
a
```
After this PR, it produces this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
+🧑🏫+
This output should be 3 print positions wide, with leading and trailing `+`
+a+
```
# User-Facing Changes
Users may have to undo fixes they may have introduced to work around the
former behavior. I have one such in my prompt string that I can now
revert.
# Tests + Formatting
Don't forget to add tests that cover your changes.
-- Done
Make sure you've run and fixed any issues with these commands:
- [x] `cargo fmt --all -- --check` to check standard code formatting
(`cargo fmt --all` applies these changes)
- [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- [x] `cargo test --workspace` to check that all tests pass
# After Submitting
`fill` command not documented in the book, and it still talks about `str
lpad/rpad`. I'll fix.
Note added dependency on a new library `print-positions`, which is an
iterator that yields a complete print position (cluster + Ansi sequence)
per call. Should this be vendored?
2023-02-20 12:32:20 +00:00
|
|
|
"print-positions",
|
2022-09-01 12:08:19 +00:00
|
|
|
"proptest",
|
2023-01-16 02:06:31 +00:00
|
|
|
"quick-xml 0.27.1",
|
2021-01-12 04:59:53 +00:00
|
|
|
"quickcheck",
|
|
|
|
"quickcheck_macros",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2021-10-26 01:30:53 +00:00
|
|
|
"rayon",
|
2022-02-04 06:47:18 +00:00
|
|
|
"reedline",
|
2022-12-02 16:30:26 +00:00
|
|
|
"regex",
|
2021-01-12 04:59:53 +00:00
|
|
|
"roxmltree",
|
2022-07-26 02:09:32 +00:00
|
|
|
"rstest",
|
2022-04-14 03:15:02 +00:00
|
|
|
"rusqlite",
|
2021-01-12 04:59:53 +00:00
|
|
|
"rust-embed",
|
2022-09-23 18:09:31 +00:00
|
|
|
"same-file",
|
2021-11-10 01:02:33 +00:00
|
|
|
"serde",
|
2021-11-12 20:46:39 +00:00
|
|
|
"serde_urlencoded",
|
2021-11-10 01:02:33 +00:00
|
|
|
"serde_yaml",
|
2022-10-03 16:40:16 +00:00
|
|
|
"sha2",
|
2022-04-24 09:29:21 +00:00
|
|
|
"sqlparser",
|
2023-03-04 22:48:34 +00:00
|
|
|
"sysinfo 0.28.2",
|
2023-02-11 18:59:11 +00:00
|
|
|
"tabled",
|
2022-07-11 16:18:06 +00:00
|
|
|
"terminal_size 0.2.1",
|
2021-10-01 05:11:49 +00:00
|
|
|
"thiserror",
|
2021-11-02 03:08:05 +00:00
|
|
|
"titlecase",
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
"toml 0.7.2",
|
2021-01-12 04:59:53 +00:00
|
|
|
"trash",
|
|
|
|
"umask",
|
|
|
|
"unicode-segmentation",
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
"unicode-width",
|
2023-03-05 22:48:13 +00:00
|
|
|
"ureq",
|
2021-01-12 04:59:53 +00:00
|
|
|
"url",
|
2022-06-06 11:55:23 +00:00
|
|
|
"users 0.11.0",
|
2021-01-12 04:59:53 +00:00
|
|
|
"uuid",
|
2022-04-04 20:45:01 +00:00
|
|
|
"wax",
|
2021-01-12 04:59:53 +00:00
|
|
|
"which",
|
2023-01-30 10:58:56 +00:00
|
|
|
"windows",
|
2023-03-05 22:48:13 +00:00
|
|
|
"winreg",
|
2021-01-11 18:50:53 +00:00
|
|
|
]
|
|
|
|
|
2021-01-10 02:50:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-engine"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-01-10 02:50:49 +00:00
|
|
|
dependencies = [
|
2021-04-08 08:15:36 +00:00
|
|
|
"chrono",
|
2022-03-13 18:30:27 +00:00
|
|
|
"nu-glob",
|
2021-06-19 23:07:26 +00:00
|
|
|
"nu-path",
|
2021-01-10 02:50:49 +00:00
|
|
|
"nu-protocol",
|
2022-05-17 18:28:18 +00:00
|
|
|
"nu-utils",
|
LazyRecord (#7619)
This is an attempt to implement a new `Value::LazyRecord` variant for
performance reasons.
`LazyRecord` is like a regular `Record`, but it's possible to access
individual columns without evaluating other columns. I've implemented
`LazyRecord` for the special `$nu` variable; accessing `$nu` is
relatively slow because of all the information in `scope`, and [`$nu`
accounts for about 2/3 of Nu's startup time on
Linux](https://github.com/nushell/nushell/issues/6677#issuecomment-1364618122).
### Benchmarks
I ran some benchmarks on my desktop (Linux, 12900K) and the results are
very pleasing.
Nu's time to start up and run a command (`cargo build --release;
hyperfine 'target/release/nu -c "echo \"Hello, world!\""' --shell=none
--warmup 10`) goes from **8.8ms to 3.2ms, about 2.8x faster**.
Tests are also much faster! Running `cargo nextest` (with our very slow
`proptest` tests disabled) goes from **7.2s to 4.4s (1.6x faster)**,
because most tests involve launching a new instance of Nu.
### Design (updated)
I've added a new `LazyRecord` trait and added a `Value` variant wrapping
those trait objects, much like `CustomValue`. `LazyRecord`
implementations must implement these 2 functions:
```rust
// All column names
fn column_names(&self) -> Vec<&'static str>;
// Get 1 specific column value
fn get_column_value(&self, column: &str) -> Result<Value, ShellError>;
```
### Serializability
`Value` variants must implement `Serializable` and `Deserializable`, which poses some problems because I want to use unserializable things like `EngineState` in `LazyRecord`s. To work around this, I basically lie to the type system:
1. Add `#[typetag::serde(tag = "type")]` to `LazyRecord` to make it serializable
2. Any unserializable fields in `LazyRecord` implementations get marked with `#[serde(skip)]`
3. At the point where a `LazyRecord` normally would get serialized and sent to a plugin, I instead collect it into a regular `Value::Record` (which can be serialized)
2023-01-19 03:27:26 +00:00
|
|
|
"serde",
|
2023-03-04 22:48:34 +00:00
|
|
|
"sysinfo 0.28.2",
|
Extract core stuff into own crates
This commit extracts five new crates:
- nu-source, which contains the core source-code handling logic in Nu,
including Text, Span, and also the pretty.rs-based debug logic
- nu-parser, which is the parser and expander logic
- nu-protocol, which is the bulk of the types and basic conveniences
used by plugins
- nu-errors, which contains ShellError, ParseError and error handling
conveniences
- nu-textview, which is the textview plugin extracted into a crate
One of the major consequences of this refactor is that it's no longer
possible to `impl X for Spanned<Y>` outside of the `nu-source` crate, so
a lot of types became more concrete (Value became a concrete type
instead of Spanned<Value>, for example).
This also turned a number of inherent methods in the main nu crate into
plain functions (impl Value {} became a bunch of functions in the
`value` namespace in `crate::data::value`).
2019-11-26 02:30:48 +00:00
|
|
|
]
|
|
|
|
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-explore"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"ansi-str 0.7.2",
|
|
|
|
"crossterm 0.24.0",
|
2022-12-18 14:43:15 +00:00
|
|
|
"lscolors",
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"nu-ansi-term",
|
|
|
|
"nu-color-config",
|
|
|
|
"nu-engine",
|
2022-12-16 15:47:07 +00:00
|
|
|
"nu-json",
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"nu-parser",
|
|
|
|
"nu-protocol",
|
|
|
|
"nu-table",
|
2022-12-18 14:43:15 +00:00
|
|
|
"nu-utils",
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"strip-ansi-escapes",
|
|
|
|
"terminal_size 0.2.1",
|
|
|
|
"tui",
|
|
|
|
]
|
|
|
|
|
2022-03-13 18:30:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-glob"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2022-03-13 18:30:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"doc-comment",
|
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-json"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"linked-hash-map",
|
|
|
|
"num-traits",
|
|
|
|
"serde",
|
2020-11-22 00:37:16 +00:00
|
|
|
]
|
|
|
|
|
Extract core stuff into own crates
This commit extracts five new crates:
- nu-source, which contains the core source-code handling logic in Nu,
including Text, Span, and also the pretty.rs-based debug logic
- nu-parser, which is the parser and expander logic
- nu-protocol, which is the bulk of the types and basic conveniences
used by plugins
- nu-errors, which contains ShellError, ParseError and error handling
conveniences
- nu-textview, which is the textview plugin extracted into a crate
One of the major consequences of this refactor is that it's no longer
possible to `impl X for Spanned<Y>` outside of the `nu-source` crate, so
a lot of types became more concrete (Value became a concrete type
instead of Spanned<Value>, for example).
This also turned a number of inherent methods in the main nu crate into
plain functions (impl Value {} became a bunch of functions in the
`value` namespace in `crate::data::value`).
2019-11-26 02:30:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-parser"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2022-09-28 22:08:38 +00:00
|
|
|
"bytesize",
|
2022-02-24 02:02:48 +00:00
|
|
|
"chrono",
|
2022-06-17 18:11:48 +00:00
|
|
|
"itertools",
|
2022-01-01 21:42:50 +00:00
|
|
|
"log",
|
2022-10-24 19:42:32 +00:00
|
|
|
"miette",
|
2022-08-08 12:26:49 +00:00
|
|
|
"nu-engine",
|
2021-11-18 19:32:27 +00:00
|
|
|
"nu-path",
|
2021-12-03 14:29:55 +00:00
|
|
|
"nu-plugin",
|
2021-09-02 01:29:43 +00:00
|
|
|
"nu-protocol",
|
2021-11-19 02:51:42 +00:00
|
|
|
"serde_json",
|
2021-09-20 21:37:26 +00:00
|
|
|
"thiserror",
|
Extract core stuff into own crates
This commit extracts five new crates:
- nu-source, which contains the core source-code handling logic in Nu,
including Text, Span, and also the pretty.rs-based debug logic
- nu-parser, which is the parser and expander logic
- nu-protocol, which is the bulk of the types and basic conveniences
used by plugins
- nu-errors, which contains ShellError, ParseError and error handling
conveniences
- nu-textview, which is the textview plugin extracted into a crate
One of the major consequences of this refactor is that it's no longer
possible to `impl X for Spanned<Y>` outside of the `nu-source` crate, so
a lot of types became more concrete (Value became a concrete type
instead of Spanned<Value>, for example).
This also turned a number of inherent methods in the main nu crate into
plain functions (impl Value {} became a bunch of functions in the
`value` namespace in `crate::data::value`).
2019-11-26 02:30:48 +00:00
|
|
|
]
|
|
|
|
|
2021-06-19 23:07:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-path"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-06-19 23:07:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"dirs-next",
|
2022-10-22 16:51:52 +00:00
|
|
|
"omnipath",
|
2022-04-24 22:12:57 +00:00
|
|
|
"pwd",
|
2021-06-19 23:07:26 +00:00
|
|
|
]
|
|
|
|
|
2019-12-27 13:30:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-plugin"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-10-28 06:12:33 +00:00
|
|
|
dependencies = [
|
2022-07-25 16:32:56 +00:00
|
|
|
"bincode",
|
2021-12-02 05:42:56 +00:00
|
|
|
"nu-engine",
|
2021-10-28 06:12:33 +00:00
|
|
|
"nu-protocol",
|
2022-08-21 11:13:38 +00:00
|
|
|
"rmp",
|
|
|
|
"rmp-serde",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2019-12-27 13:30:14 +00:00
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2021-05-01 16:12:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-pretty-hex"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-12-24 07:22:11 +00:00
|
|
|
dependencies = [
|
2022-07-19 17:35:25 +00:00
|
|
|
"heapless",
|
2021-06-01 08:11:21 +00:00
|
|
|
"nu-ansi-term",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2021-05-01 16:12:25 +00:00
|
|
|
]
|
|
|
|
|
Extract core stuff into own crates
This commit extracts five new crates:
- nu-source, which contains the core source-code handling logic in Nu,
including Text, Span, and also the pretty.rs-based debug logic
- nu-parser, which is the parser and expander logic
- nu-protocol, which is the bulk of the types and basic conveniences
used by plugins
- nu-errors, which contains ShellError, ParseError and error handling
conveniences
- nu-textview, which is the textview plugin extracted into a crate
One of the major consequences of this refactor is that it's no longer
possible to `impl X for Spanned<Y>` outside of the `nu-source` crate, so
a lot of types became more concrete (Value became a concrete type
instead of Spanned<Value>, for example).
This also turned a number of inherent methods in the main nu crate into
plain functions (impl Value {} became a bunch of functions in the
`value` namespace in `crate::data::value`).
2019-11-26 02:30:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-protocol"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-09-02 08:25:22 +00:00
|
|
|
dependencies = [
|
2021-10-05 02:27:39 +00:00
|
|
|
"byte-unit",
|
|
|
|
"chrono",
|
|
|
|
"chrono-humanize",
|
2023-01-23 18:57:40 +00:00
|
|
|
"fancy-regex",
|
2021-11-25 17:10:56 +00:00
|
|
|
"indexmap",
|
Add LRU regex cache (#7587)
Closes #7572 by adding a cache for compiled regexes of type
`Arc<Mutex<LruCache<String, Regex>>>` to `EngineState` .
The cache is limited to 100 entries (limit chosen arbitrarily) and
evicts least-recently-used items first.
This PR makes a noticeable difference when using regexes for
`color_config`, e.g.:
```bash
#first set string formatting in config.nu like:
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }`
# then try displaying and exploring a table with many strings
# this is instant after the PR, but takes hundreds of milliseconds before
['#ff0033', '#0025ee', '#0087aa', 'string', '#4101ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff', '#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff','#ff0033', '#0025ee', '#0087aa', 'string', '#6103ff']
```
## New dependency (`lru`)
This uses [the popular `lru` crate](https://lib.rs/crates/lru). The new
dependency adds 19.8KB to a Linux release build of Nushell. I think this
is OK, especially since the crate can be useful elsewhere in Nu.
2022-12-23 22:30:04 +00:00
|
|
|
"lru",
|
2022-10-24 19:42:32 +00:00
|
|
|
"miette",
|
2021-11-23 08:14:40 +00:00
|
|
|
"nu-json",
|
`$env.config` now always holds a record with only valid values (#7309)
# Description
Closes #7059. Rather than generate a new Record each time $env.config is
accessed (as described in that issue), instead `$env.config = ` now A)
parses the input record, then B) un-parses it into a clean Record with
only the valid values, and stores that as an env-var. The reasoning for
this is that I believe `config_to_nu_record()` (the method that performs
step B) will be useful in later PRs. (See below)
As a result, this also "fixes" the following "bug":
```
〉$env.config = 'butts'
$env.config is not a record
〉$env.config
butts
```
~~Instead, `$env.config = 'butts'` now turns `$env.config` into the
default (not the default config.nu, but `Config::default()`, which
notably has empty keybindings, color_config, menus and hooks vecs).~~
This doesn't attempt to fix #7110. cc @Kangaxx-0
# Example of new behaviour
OLD:
```
〉$env.config = ($env.config | merge { foo: 1 })
$env.config.foo is an unknown config setting
〉$env.config.foo
1
```
NEW:
```
〉$env.config = ($env.config | merge { foo: 1 })
Error:
× Config record contains invalid values or unknown settings
Error:
× Error while applying config changes
╭─[entry #1:1:1]
1 │ $env.config = ($env.config | merge { foo: 1 })
· ┬
· ╰── $env.config.foo is an unknown config setting
╰────
help: This value has been removed from your $env.config record.
〉$env.config.foo
Error: nu::shell::column_not_found (link)
× Cannot find column
╭─[entry #1:1:1]
1 │ $env.config = ($env.config | merge { foo: 1 })
· ──┬──
· ╰── value originates here
╰────
╭─[entry #2:1:1]
1 │ $env.config.foo
· ─┬─
· ╰── cannot find column 'foo'
╰────
```
# Example of new errors
OLD:
```
$env.config.cd.baz is an unknown config setting
$env.config.foo is an unknown config setting
$env.config.bar is an unknown config setting
$env.config.table.qux is an unknown config setting
$env.config.history.qux is an unknown config setting
```
NEW:
```
Error:
× Config record contains invalid values or unknown settings
Error:
× Error while applying config changes
╭─[C:\Users\Leon\AppData\Roaming\nushell\config.nu:267:1]
267 │ abbreviations: true # allows `cd s/o/f` to expand to `cd some/other/folder`
268 │ baz: 3,
· ┬
· ╰── $env.config.cd.baz is an unknown config setting
269 │ }
╰────
help: This value has been removed from your $env.config record.
Error:
× Error while applying config changes
╭─[C:\Users\Leon\AppData\Roaming\nushell\config.nu:269:1]
269 │ }
270 │ foo: 1,
· ┬
· ╰── $env.config.foo is an unknown config setting
271 │ bar: 2,
╰────
help: This value has been removed from your $env.config record.
Error:
× Error while applying config changes
╭─[C:\Users\Leon\AppData\Roaming\nushell\config.nu:270:1]
270 │ foo: 1,
271 │ bar: 2,
· ┬
· ╰── $env.config.bar is an unknown config setting
╰────
help: This value has been removed from your $env.config record.
Error:
× Error while applying config changes
╭─[C:\Users\Leon\AppData\Roaming\nushell\config.nu:279:1]
279 │ }
280 │ qux: 4,
· ┬
· ╰── $env.config.table.qux is an unknown config setting
281 │ }
╰────
help: This value has been removed from your $env.config record.
Error:
× Error while applying config changes
╭─[C:\Users\Leon\AppData\Roaming\nushell\config.nu:285:1]
285 │ file_format: "plaintext" # "sqlite" or "plaintext"
286 │ qux: 2
· ┬
· ╰── $env.config.history.qux is an unknown config setting
287 │ }
╰────
help: This value has been removed from your $env.config record.
```
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-10 13:34:46 +00:00
|
|
|
"nu-test-support",
|
2022-05-17 18:28:18 +00:00
|
|
|
"nu-utils",
|
2021-12-09 19:19:36 +00:00
|
|
|
"num-format",
|
2021-10-01 05:11:49 +00:00
|
|
|
"serde",
|
2021-11-19 02:51:42 +00:00
|
|
|
"serde_json",
|
2022-11-09 23:24:57 +00:00
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2021-12-09 19:19:36 +00:00
|
|
|
"sys-locale",
|
2021-09-20 21:37:26 +00:00
|
|
|
"thiserror",
|
2021-11-23 08:14:40 +00:00
|
|
|
"typetag",
|
2021-09-02 08:25:22 +00:00
|
|
|
]
|
2021-09-02 01:29:43 +00:00
|
|
|
|
2022-01-14 06:20:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-system"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2022-01-14 06:20:53 +00:00
|
|
|
dependencies = [
|
2022-09-29 18:37:48 +00:00
|
|
|
"atty",
|
2022-01-14 06:20:53 +00:00
|
|
|
"chrono",
|
2023-02-22 12:56:31 +00:00
|
|
|
"errno 0.3.0",
|
2022-01-14 06:20:53 +00:00
|
|
|
"libc",
|
|
|
|
"libproc",
|
2022-10-22 16:54:46 +00:00
|
|
|
"log",
|
2022-09-01 06:09:52 +00:00
|
|
|
"mach2",
|
2022-10-27 23:07:13 +00:00
|
|
|
"nix",
|
2022-10-30 13:29:41 +00:00
|
|
|
"ntapi",
|
2022-02-01 21:05:26 +00:00
|
|
|
"once_cell",
|
2022-01-14 06:20:53 +00:00
|
|
|
"procfs",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-01-14 06:20:53 +00:00
|
|
|
]
|
|
|
|
|
2021-09-10 02:27:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-table"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2021-09-10 02:27:12 +00:00
|
|
|
dependencies = [
|
color_config now accepts closures as color values (#7141)
# Description
Closes #6909. You can now add closures to your `color_config` themes.
Whenever a value would be printed with `table`, the closure is run with
the value piped-in. The closure must return either a {fg,bg,attr} record
or a color name (`'light_red'` etc.). This returned style is used to
colour the value.
This is entirely backwards-compatible with existing config.nu files.
Example code excerpt:
```
let my_theme = {
header: green_bold
bool: { if $in { 'light_cyan' } else { 'light_red' } }
int: purple_bold
filesize: { |e| if $e == 0b { 'gray' } else if $e < 1mb { 'purple_bold' } else { 'cyan_bold' } }
duration: purple_bold
date: { (date now) - $in | if $in > 1wk { 'cyan_bold' } else if $in > 1day { 'green_bold' } else { 'yellow_bold' } }
range: yellow_bold
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }
nothing: white
```
Example output with this in effect:
![2022-11-16 12 47 23 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952558-482de05d-69c7-4bf2-91fc-d0964bf71264.png)
![2022-11-16 12 39 41 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952580-2384bb86-b680-40fe-8192-71bae396c738.png)
![2022-11-15 09 21 54 PM - run_external
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952601-343fc15d-e4a8-4a92-ad89-9a7d17d42748.png)
Slightly important notes:
* Some color_config names, namely "separator", "empty" and "hints", pipe
in `null` instead of a value.
* Currently, doing anything non-trivial inside a closure has an
understandably big perf hit. I currently do not actually recommend
something like `string: { if $in =~ '^#\w{6}$' { $in } else { 'white' }
}` for serious work, mainly because of the abundance of string-type data
in the world. Nevertheless, lesser-used types like "date" and "duration"
work well with this.
* I had to do some reorganisation in order to make it possible to call
`eval_block()` that late in table rendering. I invented a new struct
called "StyleComputer" which holds the engine_state and stack of the
initial `table` command (implicit or explicit).
* StyleComputer has a `compute()` method which takes a color_config name
and a nu value, and always returns the correct Style, so you don't have
to worry about A) the color_config value was set at all, B) whether it
was set to a closure or not, or C) which default style to use in those
cases.
* Currently, errors encountered during execution of the closures are
thrown in the garbage. Any other ideas are welcome. (Nonetheless, errors
result in a huge perf hit when they are encountered. I think what should
be done is to assume something terrible happened to the user's config
and invalidate the StyleComputer for that `table` run, thus causing
subsequent output to just be Style::default().)
* More thorough tests are forthcoming - ran into some difficulty using
`nu!` to take an alternative config, and for some reason `let-env config
=` statements don't seem to work inside `nu!` pipelines(???)
* The default config.nu has not been updated to make use of this yet. Do
tell if you think I should incorporate that into this.
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-17 13:07:56 +00:00
|
|
|
"atty",
|
2022-10-03 16:40:16 +00:00
|
|
|
"json_to_table",
|
2021-12-16 12:17:29 +00:00
|
|
|
"nu-ansi-term",
|
color_config now accepts closures as color values (#7141)
# Description
Closes #6909. You can now add closures to your `color_config` themes.
Whenever a value would be printed with `table`, the closure is run with
the value piped-in. The closure must return either a {fg,bg,attr} record
or a color name (`'light_red'` etc.). This returned style is used to
colour the value.
This is entirely backwards-compatible with existing config.nu files.
Example code excerpt:
```
let my_theme = {
header: green_bold
bool: { if $in { 'light_cyan' } else { 'light_red' } }
int: purple_bold
filesize: { |e| if $e == 0b { 'gray' } else if $e < 1mb { 'purple_bold' } else { 'cyan_bold' } }
duration: purple_bold
date: { (date now) - $in | if $in > 1wk { 'cyan_bold' } else if $in > 1day { 'green_bold' } else { 'yellow_bold' } }
range: yellow_bold
string: { if $in =~ '^#\w{6}$' { $in } else { 'white' } }
nothing: white
```
Example output with this in effect:
![2022-11-16 12 47 23 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952558-482de05d-69c7-4bf2-91fc-d0964bf71264.png)
![2022-11-16 12 39 41 AM - style_computer
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952580-2384bb86-b680-40fe-8192-71bae396c738.png)
![2022-11-15 09 21 54 PM - run_external
rs_-_nushell_-_VSCodium](https://user-images.githubusercontent.com/83939/201952601-343fc15d-e4a8-4a92-ad89-9a7d17d42748.png)
Slightly important notes:
* Some color_config names, namely "separator", "empty" and "hints", pipe
in `null` instead of a value.
* Currently, doing anything non-trivial inside a closure has an
understandably big perf hit. I currently do not actually recommend
something like `string: { if $in =~ '^#\w{6}$' { $in } else { 'white' }
}` for serious work, mainly because of the abundance of string-type data
in the world. Nevertheless, lesser-used types like "date" and "duration"
work well with this.
* I had to do some reorganisation in order to make it possible to call
`eval_block()` that late in table rendering. I invented a new struct
called "StyleComputer" which holds the engine_state and stack of the
initial `table` command (implicit or explicit).
* StyleComputer has a `compute()` method which takes a color_config name
and a nu value, and always returns the correct Style, so you don't have
to worry about A) the color_config value was set at all, B) whether it
was set to a closure or not, or C) which default style to use in those
cases.
* Currently, errors encountered during execution of the closures are
thrown in the garbage. Any other ideas are welcome. (Nonetheless, errors
result in a huge perf hit when they are encountered. I think what should
be done is to assume something terrible happened to the user's config
and invalidate the StyleComputer for that `table` run, thus causing
subsequent output to just be Style::default().)
* More thorough tests are forthcoming - ran into some difficulty using
`nu!` to take an alternative config, and for some reason `let-env config
=` statements don't seem to work inside `nu!` pipelines(???)
* The default config.nu has not been updated to make use of this yet. Do
tell if you think I should incorporate that into this.
# User-Facing Changes
See above.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-12-17 13:07:56 +00:00
|
|
|
"nu-color-config",
|
|
|
|
"nu-engine",
|
2021-12-01 19:20:23 +00:00
|
|
|
"nu-protocol",
|
2022-11-04 18:49:45 +00:00
|
|
|
"nu-utils",
|
2022-10-03 16:40:16 +00:00
|
|
|
"serde_json",
|
2022-07-06 19:57:40 +00:00
|
|
|
"tabled",
|
2021-09-10 02:27:12 +00:00
|
|
|
]
|
|
|
|
|
2021-10-07 15:32:39 +00:00
|
|
|
[[package]]
|
2022-02-07 19:11:34 +00:00
|
|
|
name = "nu-term-grid"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2019-12-17 18:41:47 +00:00
|
|
|
dependencies = [
|
2022-11-04 18:49:45 +00:00
|
|
|
"nu-utils",
|
2022-02-07 19:54:06 +00:00
|
|
|
"unicode-width",
|
2020-05-08 18:19:48 +00:00
|
|
|
]
|
|
|
|
|
2019-12-10 03:57:55 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "nu-test-support"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2019-12-10 03:57:55 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"getset",
|
|
|
|
"hamcrest2",
|
2022-03-13 18:30:27 +00:00
|
|
|
"nu-glob",
|
2022-02-07 19:54:06 +00:00
|
|
|
"nu-path",
|
2022-08-13 02:13:50 +00:00
|
|
|
"nu-utils",
|
|
|
|
"num-format",
|
2022-12-17 18:30:04 +00:00
|
|
|
"once_cell",
|
2022-02-07 19:54:06 +00:00
|
|
|
"tempfile",
|
2023-02-13 12:42:08 +00:00
|
|
|
"which",
|
2019-12-10 03:57:55 +00:00
|
|
|
]
|
|
|
|
|
2022-03-16 22:21:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-utils"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2022-03-16 22:21:06 +00:00
|
|
|
dependencies = [
|
|
|
|
"crossterm_winapi",
|
2023-01-24 20:28:59 +00:00
|
|
|
"log",
|
2022-07-20 15:09:33 +00:00
|
|
|
"lscolors",
|
2022-08-13 02:13:50 +00:00
|
|
|
"num-format",
|
2022-11-04 18:49:45 +00:00
|
|
|
"strip-ansi-escapes",
|
2022-08-13 02:13:50 +00:00
|
|
|
"sys-locale",
|
2022-03-16 22:21:06 +00:00
|
|
|
]
|
|
|
|
|
2022-07-25 16:32:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu_plugin_custom_values"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"nu-plugin",
|
|
|
|
"nu-protocol",
|
|
|
|
"serde",
|
|
|
|
"typetag",
|
|
|
|
]
|
|
|
|
|
2020-07-18 01:59:23 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "nu_plugin_example"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2020-07-18 01:59:23 +00:00
|
|
|
dependencies = [
|
|
|
|
"nu-plugin",
|
|
|
|
"nu-protocol",
|
|
|
|
]
|
|
|
|
|
2023-02-13 12:42:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu_plugin_formats"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2023-02-13 12:42:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"eml-parser",
|
|
|
|
"ical",
|
|
|
|
"indexmap",
|
|
|
|
"nu-engine",
|
|
|
|
"nu-plugin",
|
|
|
|
"nu-protocol",
|
|
|
|
"rust-ini",
|
|
|
|
]
|
|
|
|
|
2020-07-18 01:59:23 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "nu_plugin_gstat"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2020-07-18 01:59:23 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"git2",
|
|
|
|
"nu-engine",
|
2020-07-18 01:59:23 +00:00
|
|
|
"nu-plugin",
|
|
|
|
"nu-protocol",
|
|
|
|
]
|
|
|
|
|
2019-12-09 18:39:51 +00:00
|
|
|
[[package]]
|
2022-02-07 19:54:06 +00:00
|
|
|
name = "nu_plugin_inc"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2019-12-09 18:39:51 +00:00
|
|
|
dependencies = [
|
2019-12-27 13:30:14 +00:00
|
|
|
"nu-plugin",
|
2019-12-09 18:39:51 +00:00
|
|
|
"nu-protocol",
|
2023-01-16 02:39:27 +00:00
|
|
|
"semver 1.0.16",
|
2019-12-09 18:39:51 +00:00
|
|
|
]
|
|
|
|
|
2020-10-12 23:18:39 +00:00
|
|
|
[[package]]
|
2022-02-01 18:45:48 +00:00
|
|
|
name = "nu_plugin_query"
|
2023-02-21 23:21:39 +00:00
|
|
|
version = "0.76.1"
|
2022-02-01 18:45:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"gjson",
|
|
|
|
"nu-engine",
|
|
|
|
"nu-plugin",
|
|
|
|
"nu-protocol",
|
|
|
|
"scraper",
|
2020-10-12 23:18:39 +00:00
|
|
|
"sxd-document",
|
|
|
|
"sxd-xpath",
|
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36"
|
|
|
|
dependencies = [
|
2020-09-21 17:28:31 +00:00
|
|
|
"num-bigint 0.2.6",
|
2021-05-12 01:01:31 +00:00
|
|
|
"num-complex 0.2.4",
|
2020-08-05 21:34:28 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
2020-12-15 19:27:21 +00:00
|
|
|
"num-rational 0.2.4",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2020-08-05 21:34:28 +00:00
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606"
|
|
|
|
dependencies = [
|
2021-12-01 19:48:03 +00:00
|
|
|
"num-bigint 0.4.3",
|
2022-07-26 02:09:32 +00:00
|
|
|
"num-complex 0.4.2",
|
2021-05-12 01:01:31 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-iter",
|
2022-07-26 02:09:32 +00:00
|
|
|
"num-rational 0.4.1",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2019-08-30 17:29:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-bigint"
|
2021-12-04 05:02:57 +00:00
|
|
|
version = "0.2.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304"
|
2019-08-30 17:29:04 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2019-11-28 02:21:00 +00:00
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-bigint"
|
2021-12-01 19:48:03 +00:00
|
|
|
version = "0.4.3"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-01 19:48:03 +00:00
|
|
|
checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2019-08-30 17:29:04 +00:00
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-complex"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95"
|
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2020-08-05 21:34:28 +00:00
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-complex"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.4.2"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2020-07-12 03:57:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-format"
|
2022-10-10 11:25:57 +00:00
|
|
|
version = "0.4.3"
|
2020-07-12 03:57:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-10 11:25:57 +00:00
|
|
|
checksum = "54b862ff8df690cf089058c98b183676a7ed0f974cc08b426800093227cbff3b"
|
2020-07-12 03:57:39 +00:00
|
|
|
dependencies = [
|
2022-10-10 11:25:57 +00:00
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"itoa 1.0.4",
|
2020-07-12 03:57:39 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.1.45"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
|
|
|
|
2019-07-05 07:53:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-iter"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.1.43"
|
2019-07-05 07:53:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252"
|
2019-07-05 07:53:09 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2019-11-28 02:21:00 +00:00
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2019-07-05 07:53:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-rational"
|
2020-04-18 03:31:57 +00:00
|
|
|
version = "0.2.4"
|
2019-07-05 07:53:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-04-18 03:31:57 +00:00
|
|
|
checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef"
|
2019-07-05 07:53:09 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2020-09-21 17:28:31 +00:00
|
|
|
"num-bigint 0.2.6",
|
2019-11-28 02:21:00 +00:00
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2019-07-05 07:53:09 +00:00
|
|
|
]
|
|
|
|
|
2020-12-15 19:27:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-rational"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.4.1"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2021-12-01 19:48:03 +00:00
|
|
|
"num-bigint 0.4.3",
|
2020-12-15 19:27:21 +00:00
|
|
|
"num-integer",
|
2021-08-28 03:34:11 +00:00
|
|
|
"num-traits",
|
2019-06-03 07:41:28 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.2.15"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
2019-05-22 07:12:03 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2021-05-27 05:09:48 +00:00
|
|
|
"libm",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
2019-05-10 16:59:12 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "1.13.1"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num_threads"
|
|
|
|
version = "0.1.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-01-11 01:57:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "number_prefix"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
|
|
|
|
|
2019-06-07 16:30:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "objc"
|
2019-11-16 17:17:05 +00:00
|
|
|
version = "0.2.7"
|
2019-06-07 16:30:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
|
2019-06-07 16:30:50 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"malloc_buf",
|
2019-06-07 16:30:50 +00:00
|
|
|
]
|
|
|
|
|
2022-10-22 16:51:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "omnipath"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e7461858c5ac9bde3fcdeedc17f58ed0469ec74f2d737b6369fc31c0b0ef576c"
|
|
|
|
|
2019-10-08 13:47:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2023-01-11 23:00:44 +00:00
|
|
|
version = "1.17.0"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-11 23:00:44 +00:00
|
|
|
checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
|
2019-10-08 13:47:30 +00:00
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "oorandom"
|
|
|
|
version = "11.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
|
|
|
|
2023-01-03 18:47:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "open"
|
|
|
|
version = "3.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2078c0039e6a54a0c42c28faa984e115fb4c2d5bf2208f77d1961002df8576f8"
|
|
|
|
dependencies = [
|
|
|
|
"pathdiff",
|
|
|
|
"windows-sys 0.42.0",
|
|
|
|
]
|
|
|
|
|
2020-01-17 20:35:48 +00:00
|
|
|
[[package]]
|
2020-03-20 07:53:49 +00:00
|
|
|
name = "openssl"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.42"
|
2020-03-20 07:53:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "12fc0523e3bd51a692c8850d075d74dc062ccf251c0110668cbd921917118a13"
|
2020-03-20 07:53:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2020-03-20 07:53:49 +00:00
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
2021-05-12 01:01:31 +00:00
|
|
|
"once_cell",
|
2022-05-25 17:13:14 +00:00
|
|
|
"openssl-macros",
|
2020-03-20 07:53:49 +00:00
|
|
|
"openssl-sys",
|
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.1.5"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
|
2019-06-01 21:11:28 +00:00
|
|
|
|
2022-04-28 00:25:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2023-02-08 23:23:40 +00:00
|
|
|
version = "111.25.0+1.1.1t"
|
2022-04-28 00:25:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-08 23:23:40 +00:00
|
|
|
checksum = "3173cd3626c43e3854b1b727422a276e568d9ec5fe8cec197822cf52cfb743d6"
|
2022-04-28 00:25:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.9.76"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "5230151e44c0f05157effb743e8d517472843121cf9243e8b81393edb5acd9ce"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"autocfg",
|
2019-11-28 02:21:00 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2022-04-28 00:25:09 +00:00
|
|
|
"openssl-src",
|
2019-11-28 02:21:00 +00:00
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2019-06-01 21:11:28 +00:00
|
|
|
]
|
|
|
|
|
2023-02-09 11:47:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ordered-multimap"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ccd746e37177e1711c20dd619a1620f34f5c8b569c53590a72dedd5344d8924a"
|
|
|
|
dependencies = [
|
|
|
|
"dlv-list",
|
|
|
|
"hashbrown 0.12.3",
|
|
|
|
]
|
|
|
|
|
2023-01-05 19:39:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
|
|
|
version = "6.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"
|
|
|
|
|
2021-06-07 18:20:05 +00:00
|
|
|
[[package]]
|
2021-08-30 18:36:07 +00:00
|
|
|
name = "output_vt100"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "0.1.3"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
2021-09-05 19:06:57 +00:00
|
|
|
[[package]]
|
2021-06-07 18:20:05 +00:00
|
|
|
name = "overload"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
|
|
|
|
|
2020-06-27 07:54:31 +00:00
|
|
|
[[package]]
|
2021-09-20 21:37:26 +00:00
|
|
|
name = "owo-colors"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "3.5.0"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
|
2021-09-20 21:37:26 +00:00
|
|
|
|
2022-07-06 19:57:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "papergrid"
|
2022-10-20 12:52:15 +00:00
|
|
|
version = "0.7.1"
|
2022-07-22 15:33:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 12:52:15 +00:00
|
|
|
checksum = "1526bb6aa9f10ec339fb10360f22c57edf81d5678d0278e93bc12a47ffbe4b01"
|
2022-07-06 19:57:40 +00:00
|
|
|
dependencies = [
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"ansi-str 0.5.0",
|
2022-10-03 16:40:16 +00:00
|
|
|
"ansitok",
|
2022-07-06 19:57:40 +00:00
|
|
|
"bytecount",
|
2022-07-22 15:33:29 +00:00
|
|
|
"fnv",
|
2022-07-06 19:57:40 +00:00
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2023-02-21 23:32:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.11.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core 0.8.6",
|
|
|
|
]
|
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2022-06-14 20:53:33 +00:00
|
|
|
version = "0.12.1"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 20:53:33 +00:00
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
2022-03-01 12:05:46 +00:00
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot_core 0.9.3",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
|
|
|
version = "0.8.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-02-21 23:32:28 +00:00
|
|
|
"instant",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"smallvec",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-05-29 15:26:45 +00:00
|
|
|
]
|
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.9.3"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
|
2022-03-01 12:05:46 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-03-01 12:05:46 +00:00
|
|
|
"libc",
|
2022-03-19 11:13:34 +00:00
|
|
|
"redox_syscall",
|
2022-03-01 12:05:46 +00:00
|
|
|
"smallvec",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-03-01 12:05:46 +00:00
|
|
|
]
|
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
2022-11-09 22:07:38 +00:00
|
|
|
name = "parquet-format-safe"
|
|
|
|
version = "0.2.4"
|
2021-07-04 23:46:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-11-09 22:07:38 +00:00
|
|
|
checksum = "1131c54b167dd4e4799ce762e1ab01549ebb94d5bdd13e6ec1b467491c378e1f"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
2021-09-15 19:10:12 +00:00
|
|
|
"async-trait",
|
2021-11-23 08:14:40 +00:00
|
|
|
"futures",
|
2021-05-18 19:33:10 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-09-15 19:10:12 +00:00
|
|
|
name = "parquet2"
|
2023-01-13 15:27:37 +00:00
|
|
|
version = "0.17.1"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 15:27:37 +00:00
|
|
|
checksum = "aefc53bedbf9bbe0ff8912befafaafe30ced83851fb0aebe86696a9289ebb29e"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
2021-09-15 19:10:12 +00:00
|
|
|
"async-stream",
|
|
|
|
"brotli",
|
|
|
|
"flate2",
|
2021-11-23 08:14:40 +00:00
|
|
|
"futures",
|
2021-09-15 19:10:12 +00:00
|
|
|
"lz4",
|
2022-11-09 22:07:38 +00:00
|
|
|
"parquet-format-safe",
|
|
|
|
"seq-macro",
|
2021-09-15 19:10:12 +00:00
|
|
|
"snap",
|
2021-11-16 08:53:03 +00:00
|
|
|
"streaming-decompression",
|
2021-09-15 19:10:12 +00:00
|
|
|
"zstd",
|
2021-05-18 19:33:10 +00:00
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parse-zoneinfo"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c705f256449c60da65e11ff6626e0c16a0a0b96aaa348de61376b249bc340f41"
|
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2020-08-05 21:34:28 +00:00
|
|
|
]
|
|
|
|
|
2022-08-21 11:13:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.9"
|
2022-08-21 11:13:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1"
|
2022-08-21 11:13:38 +00:00
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2021-08-28 03:34:11 +00:00
|
|
|
name = "pathdiff"
|
2021-12-02 18:05:38 +00:00
|
|
|
version = "0.2.1"
|
2021-08-28 03:34:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-02 18:05:38 +00:00
|
|
|
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
|
2021-08-28 03:34:11 +00:00
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "peeking_take_while"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
|
|
|
|
|
2019-07-29 07:46:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "2.2.0"
|
2019-07-29 07:46:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
|
2019-07-29 07:46:24 +00:00
|
|
|
|
2020-10-12 13:03:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "peresil"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f658886ed52e196e850cfbbfddab9eaa7f6d90dd0929e264c31e5cec07e09e57"
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
|
|
|
|
dependencies = [
|
|
|
|
"phf_macros",
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"proc-macro-hack",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-11-02 03:08:05 +00:00
|
|
|
name = "phf"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "0.10.1"
|
2021-11-02 03:08:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
|
2021-11-02 03:08:05 +00:00
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.10.0",
|
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.11.1"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"phf_shared 0.11.1",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2022-02-01 18:45:48 +00:00
|
|
|
[[package]]
|
2020-11-03 21:46:42 +00:00
|
|
|
name = "phf_codegen"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
|
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_generator 0.8.0",
|
|
|
|
"phf_shared 0.8.0",
|
2021-11-02 03:08:05 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
|
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_generator 0.10.0",
|
|
|
|
"phf_shared 0.10.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.11.1"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "a56ac890c5e3ca598bbdeaa99964edb5b0258a583a9eb6ef4e89fc85d9224770"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"phf_generator 0.11.1",
|
|
|
|
"phf_shared 0.11.1",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
|
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"rand 0.7.3",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-11-02 03:08:05 +00:00
|
|
|
name = "phf_generator"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.10.0",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2022-02-01 18:45:48 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.11.1"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"phf_shared 0.11.1",
|
2022-07-26 02:09:32 +00:00
|
|
|
"rand 0.8.5",
|
|
|
|
]
|
|
|
|
|
2022-02-01 18:45:48 +00:00
|
|
|
[[package]]
|
2020-11-03 21:46:42 +00:00
|
|
|
name = "phf_macros"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c"
|
|
|
|
dependencies = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_generator 0.8.0",
|
|
|
|
"phf_shared 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
2021-11-02 03:08:05 +00:00
|
|
|
name = "phf_shared"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.11.1"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676"
|
2021-11-02 03:08:05 +00:00
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.2.9"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
|
2020-01-01 06:45:27 +00:00
|
|
|
|
2019-05-23 04:30:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
2020-05-16 03:18:24 +00:00
|
|
|
version = "0.1.0"
|
2019-05-23 04:30:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-16 03:18:24 +00:00
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
2019-05-23 04:30:43 +00:00
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.3.25"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2022-02-27 16:10:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "planus"
|
2022-08-12 12:10:36 +00:00
|
|
|
version = "0.3.1"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-08-12 12:10:36 +00:00
|
|
|
checksum = "fc1691dd09e82f428ce8d6310bd6d5da2557c82ff17694d2a32cad7242aea89f"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"array-init-cursor",
|
|
|
|
]
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "plotters"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.4"
|
2022-08-23 16:49:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97"
|
2022-08-23 16:49:51 +00:00
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
"plotters-backend",
|
|
|
|
"plotters-svg",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-backend"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "plotters-svg"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f"
|
|
|
|
dependencies = [
|
|
|
|
"plotters-backend",
|
|
|
|
]
|
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polars"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "8918f4add49e6244bae2fe91cac89be339f2d6a77c59a4df3d7348bd40f98d1e"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2023-02-21 23:32:28 +00:00
|
|
|
"getrandom 0.2.7",
|
2021-05-12 01:01:31 +00:00
|
|
|
"polars-core",
|
|
|
|
"polars-io",
|
|
|
|
"polars-lazy",
|
2022-05-16 07:27:43 +00:00
|
|
|
"polars-ops",
|
2022-03-19 11:13:34 +00:00
|
|
|
"polars-time",
|
2023-01-13 15:27:37 +00:00
|
|
|
"version_check",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-arrow"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "06e57a7b929edf6c73475dbc3f63d35152f14f4a9455476acc6127d770daa0f6"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2021-09-15 19:10:12 +00:00
|
|
|
"arrow2",
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.13.2",
|
2021-05-12 01:01:31 +00:00
|
|
|
"num 0.4.0",
|
2022-05-16 07:27:43 +00:00
|
|
|
"serde",
|
2021-05-12 01:01:31 +00:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-core"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "5a440cd53916f1a87fac1fda36cd7cc2d226247b4d4570d96242da5fa7f07b2a"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"ahash 0.8.1",
|
2021-05-12 01:01:31 +00:00
|
|
|
"anyhow",
|
2021-09-15 19:10:12 +00:00
|
|
|
"arrow2",
|
2022-08-12 12:10:36 +00:00
|
|
|
"bitflags",
|
2022-03-19 11:13:34 +00:00
|
|
|
"chrono",
|
|
|
|
"comfy-table",
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.13.2",
|
2022-03-19 11:13:34 +00:00
|
|
|
"indexmap",
|
2021-05-12 01:01:31 +00:00
|
|
|
"num 0.4.0",
|
2022-06-15 16:45:03 +00:00
|
|
|
"once_cell",
|
2021-05-12 01:01:31 +00:00
|
|
|
"polars-arrow",
|
2022-05-16 07:27:43 +00:00
|
|
|
"polars-utils",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2021-05-27 05:09:48 +00:00
|
|
|
"rand_distr",
|
2021-05-12 01:01:31 +00:00
|
|
|
"rayon",
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2021-07-29 21:16:30 +00:00
|
|
|
"serde_json",
|
2022-08-12 12:10:36 +00:00
|
|
|
"smartstring",
|
2021-05-12 01:01:31 +00:00
|
|
|
"thiserror",
|
2023-02-21 23:32:28 +00:00
|
|
|
"wasm-timer",
|
2023-01-13 15:27:37 +00:00
|
|
|
"xxhash-rust",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-io"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "a1d941750cba70a3acf150b959fcf446c09e8a8a4a35d03472d941bd6740bc43"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"ahash 0.8.1",
|
2021-05-12 01:01:31 +00:00
|
|
|
"anyhow",
|
2021-09-15 19:10:12 +00:00
|
|
|
"arrow2",
|
2023-02-21 23:32:28 +00:00
|
|
|
"bytes",
|
|
|
|
"chrono",
|
2022-03-19 11:13:34 +00:00
|
|
|
"dirs",
|
2021-05-12 01:01:31 +00:00
|
|
|
"lexical",
|
2022-06-15 16:45:03 +00:00
|
|
|
"lexical-core",
|
2021-11-16 08:53:03 +00:00
|
|
|
"memchr",
|
2021-05-12 01:01:31 +00:00
|
|
|
"memmap2",
|
|
|
|
"num 0.4.0",
|
2022-06-15 16:45:03 +00:00
|
|
|
"once_cell",
|
2021-05-12 01:01:31 +00:00
|
|
|
"polars-arrow",
|
|
|
|
"polars-core",
|
2022-05-16 07:27:43 +00:00
|
|
|
"polars-time",
|
2022-02-27 16:10:29 +00:00
|
|
|
"polars-utils",
|
2021-05-12 01:01:31 +00:00
|
|
|
"rayon",
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2022-05-16 07:27:43 +00:00
|
|
|
"serde",
|
2023-01-13 15:27:37 +00:00
|
|
|
"serde_json",
|
2022-11-09 22:07:38 +00:00
|
|
|
"simd-json",
|
2021-11-16 08:53:03 +00:00
|
|
|
"simdutf8",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-lazy"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "d227fcb817485be462748d3172d2e55c61d56fbdc7fd56c24b72fa2e510e7be6"
|
2021-05-12 01:01:31 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"ahash 0.8.1",
|
2022-08-12 12:10:36 +00:00
|
|
|
"bitflags",
|
2022-02-27 16:10:29 +00:00
|
|
|
"glob",
|
2021-05-12 01:01:31 +00:00
|
|
|
"polars-arrow",
|
|
|
|
"polars-core",
|
|
|
|
"polars-io",
|
2022-06-15 16:45:03 +00:00
|
|
|
"polars-ops",
|
2022-11-09 22:07:38 +00:00
|
|
|
"polars-pipe",
|
|
|
|
"polars-plan",
|
2022-03-19 11:13:34 +00:00
|
|
|
"polars-time",
|
2022-02-27 16:10:29 +00:00
|
|
|
"polars-utils",
|
2021-05-12 01:01:31 +00:00
|
|
|
"rayon",
|
2022-05-16 07:27:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-ops"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "36638340fd9f4377dab11f307877ebb5bdac3bc9b25ea32a771584de76e5280a"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"arrow2",
|
|
|
|
"polars-arrow",
|
|
|
|
"polars-core",
|
|
|
|
"polars-utils",
|
2023-01-13 15:27:37 +00:00
|
|
|
"serde",
|
2022-11-09 22:07:38 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-pipe"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2022-05-16 07:27:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "ac1dfae18a14a812119d3328dae8790be53f1bc0fbcb977606dcf0f181490a8f"
|
2022-05-16 07:27:43 +00:00
|
|
|
dependencies = [
|
2023-02-21 23:32:28 +00:00
|
|
|
"crossbeam-channel",
|
2022-11-09 22:07:38 +00:00
|
|
|
"enum_dispatch",
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.13.2",
|
2022-11-09 22:07:38 +00:00
|
|
|
"num 0.4.0",
|
2023-01-13 15:27:37 +00:00
|
|
|
"polars-arrow",
|
2022-11-09 22:07:38 +00:00
|
|
|
"polars-core",
|
|
|
|
"polars-io",
|
2023-02-21 23:32:28 +00:00
|
|
|
"polars-ops",
|
2022-11-09 22:07:38 +00:00
|
|
|
"polars-plan",
|
|
|
|
"polars-utils",
|
|
|
|
"rayon",
|
2023-01-13 15:27:37 +00:00
|
|
|
"smartstring",
|
2022-11-09 22:07:38 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-plan"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "9ca57df4974f25fa0642ae18ef00c0836c5120d4371be77a34d4684173b043c3"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"ahash 0.8.1",
|
2023-02-21 23:32:28 +00:00
|
|
|
"once_cell",
|
2022-06-15 16:45:03 +00:00
|
|
|
"polars-arrow",
|
2022-05-16 07:27:43 +00:00
|
|
|
"polars-core",
|
2022-11-09 22:07:38 +00:00
|
|
|
"polars-io",
|
|
|
|
"polars-ops",
|
|
|
|
"polars-time",
|
|
|
|
"polars-utils",
|
|
|
|
"rayon",
|
|
|
|
"serde",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2022-02-27 16:10:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polars-time"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "d961a9ccbe3c739de063fbf78449b3c172baf3379f958769c42ee9c309289786"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
2022-05-16 07:27:43 +00:00
|
|
|
"lexical",
|
2023-01-13 15:27:37 +00:00
|
|
|
"now",
|
2023-02-21 23:32:28 +00:00
|
|
|
"once_cell",
|
2022-02-27 16:10:29 +00:00
|
|
|
"polars-arrow",
|
2022-03-19 11:13:34 +00:00
|
|
|
"polars-core",
|
2023-01-13 15:27:37 +00:00
|
|
|
"polars-ops",
|
2022-06-15 16:45:03 +00:00
|
|
|
"polars-utils",
|
2023-02-21 23:32:28 +00:00
|
|
|
"regex",
|
2022-05-16 07:27:43 +00:00
|
|
|
"serde",
|
2022-02-27 16:10:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "polars-utils"
|
2023-02-21 23:32:28 +00:00
|
|
|
version = "0.27.2"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:28 +00:00
|
|
|
checksum = "a741a3325c544c97c7a9ff57d857f089b60041bd92b06c41582df6940ffaa05b"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
2023-02-21 23:32:28 +00:00
|
|
|
"once_cell",
|
2022-03-19 11:13:34 +00:00
|
|
|
"rayon",
|
2023-02-27 06:47:59 +00:00
|
|
|
"sysinfo 0.27.8",
|
2022-02-27 16:10:29 +00:00
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pori"
|
|
|
|
version = "0.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a4a63d338dec139f56dacc692ca63ad35a6be6a797442479b55acd611d79e906"
|
|
|
|
dependencies = [
|
2023-01-04 22:50:18 +00:00
|
|
|
"nom",
|
2022-04-04 20:45:01 +00:00
|
|
|
]
|
|
|
|
|
2023-01-11 01:57:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "portable-atomic"
|
|
|
|
version = "0.3.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "26f6a7b87c2e435a3241addceeeff740ff8b7e76b74c13bf9acb17fa454ea00b"
|
|
|
|
|
2022-05-06 12:58:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "powierza-coefficient"
|
2022-12-29 16:40:11 +00:00
|
|
|
version = "1.0.2"
|
2022-05-06 12:58:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-29 16:40:11 +00:00
|
|
|
checksum = "04123079750026568dff0e68efe1ca676f6686023f3bf7686b87dab661c0375b"
|
2022-05-06 12:58:32 +00:00
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.2.16"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
|
2019-07-04 22:17:18 +00:00
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
2021-08-30 18:36:07 +00:00
|
|
|
name = "predicates"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "2.1.1"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "a5aab5be6e4732b473071984b3164dbbfb7a3674d30ea5ff44410b6bcd960c3c"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"difflib",
|
|
|
|
"itertools",
|
|
|
|
"predicates-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-core"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "1.0.3"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "da1c2388b1513e1b605fcec39a95e0a9e8ef088f71443ef37099fa9ae6673fcb"
|
2021-08-30 18:36:07 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-tree"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "1.0.5"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "4d86de6de25020a36c6d3643a86d9a6a9f552107c0559c60ea03551b5e16c032"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"predicates-core",
|
2021-10-10 04:13:15 +00:00
|
|
|
"termtree",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.3.0"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"ctor",
|
|
|
|
"diff",
|
|
|
|
"output_vt100",
|
2022-10-03 16:40:16 +00:00
|
|
|
"yansi",
|
2019-11-04 15:47:03 +00:00
|
|
|
]
|
|
|
|
|
`string | fill` counts clusters, not graphemes; and doesn't count ANSI escape codes (#8134)
Enhancement of new `fill` command (#7846) to handle content including
ANSI escape codes for formatting or multi-code-point Unicode grapheme
clusters.
In both of these cases, the content is (many) bytes longer than its
visible length, and `fill` was counting the extra bytes so not adding
enough fill characters.
# Description
This script:
```rust
# the teacher emoji `\u{1F9D1}\u{200D}\u{1F3EB}` is 3 code points, but only 1 print position wide.
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"\u{1F9D1}\u{200D}\u{1F3EB}" | fill -c "+" -w 3 -a "c"
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"(ansi green)a(ansi reset)" | fill -c "+" -w 3 -a c
echo ""
```
Was producing this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
🧑🏫
This output should be 3 print positions wide, with leading and trailing `+`
a
```
After this PR, it produces this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
+🧑🏫+
This output should be 3 print positions wide, with leading and trailing `+`
+a+
```
# User-Facing Changes
Users may have to undo fixes they may have introduced to work around the
former behavior. I have one such in my prompt string that I can now
revert.
# Tests + Formatting
Don't forget to add tests that cover your changes.
-- Done
Make sure you've run and fixed any issues with these commands:
- [x] `cargo fmt --all -- --check` to check standard code formatting
(`cargo fmt --all` applies these changes)
- [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- [x] `cargo test --workspace` to check that all tests pass
# After Submitting
`fill` command not documented in the book, and it still talks about `str
lpad/rpad`. I'll fix.
Note added dependency on a new library `print-positions`, which is an
iterator that yields a complete print position (cluster + Ansi sequence)
per call. Should this be vendored?
2023-02-20 12:32:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "print-positions"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1df593470e3ef502e48cb0cfc9a3a61e5f61e967b78e1ed35a67ac615cfbd208"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
|
|
|
|
2022-02-02 20:59:01 +00:00
|
|
|
[[package]]
|
2020-03-08 19:18:44 +00:00
|
|
|
name = "proc-macro-error"
|
2020-08-03 22:47:19 +00:00
|
|
|
version = "1.0.4"
|
2020-03-08 19:18:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-03 22:47:19 +00:00
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
2020-03-08 19:18:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error-attr",
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2022-07-19 17:35:25 +00:00
|
|
|
"version_check",
|
2020-03-08 19:18:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
2020-08-03 22:47:19 +00:00
|
|
|
version = "1.0.4"
|
2020-03-08 19:18:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-03 22:47:19 +00:00
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
2020-03-08 19:18:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2022-07-19 17:35:25 +00:00
|
|
|
"version_check",
|
2020-03-08 19:18:44 +00:00
|
|
|
]
|
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
2020-11-22 00:37:16 +00:00
|
|
|
version = "0.5.19"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-22 00:37:16 +00:00
|
|
|
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.46"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b"
|
2019-08-24 19:36:19 +00:00
|
|
|
dependencies = [
|
2022-05-25 17:13:14 +00:00
|
|
|
"unicode-ident",
|
2019-08-24 19:36:19 +00:00
|
|
|
]
|
|
|
|
|
2019-06-07 07:50:26 +00:00
|
|
|
[[package]]
|
2022-01-14 06:20:53 +00:00
|
|
|
name = "procfs"
|
2023-02-27 07:53:01 +00:00
|
|
|
version = "0.15.1"
|
2022-01-14 06:20:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-27 07:53:01 +00:00
|
|
|
checksum = "943ca7f9f29bab5844ecd8fdb3992c5969b6622bb9609b9502fef9b4310e3f1f"
|
2022-01-14 06:20:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"byteorder",
|
|
|
|
"chrono",
|
|
|
|
"flate2",
|
|
|
|
"hex",
|
|
|
|
"lazy_static",
|
2023-02-27 07:53:01 +00:00
|
|
|
"rustix 0.36.8",
|
2019-06-07 07:50:26 +00:00
|
|
|
]
|
|
|
|
|
2022-09-01 12:08:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proptest"
|
2023-02-13 02:31:53 +00:00
|
|
|
version = "1.1.0"
|
2022-09-01 12:08:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-13 02:31:53 +00:00
|
|
|
checksum = "29f1b898011ce9595050a68e60f90bad083ff2987a695a42357134c8381fba70"
|
2022-09-01 12:08:19 +00:00
|
|
|
dependencies = [
|
|
|
|
"bit-set",
|
|
|
|
"bitflags",
|
|
|
|
"byteorder",
|
|
|
|
"lazy_static",
|
|
|
|
"num-traits",
|
|
|
|
"quick-error 2.0.1",
|
|
|
|
"rand 0.8.5",
|
|
|
|
"rand_chacha 0.3.1",
|
|
|
|
"rand_xorshift",
|
|
|
|
"regex-syntax",
|
|
|
|
"rusty-fork",
|
|
|
|
"tempfile",
|
2023-02-13 02:31:53 +00:00
|
|
|
"unarray",
|
2022-09-01 12:08:19 +00:00
|
|
|
]
|
|
|
|
|
2022-08-14 13:07:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pure-rust-locales"
|
|
|
|
version = "0.5.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b45c49fc4f91f35bae654f85ebb3a44d60ac64f11b3166ffa609def390c732d8"
|
|
|
|
|
2022-04-24 22:12:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pwd"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "1.4.0"
|
2022-04-24 22:12:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "72c71c0c79b9701efe4e1e4b563b2016dd4ee789eb99badcb09d61ac4b92e4a2"
|
2022-04-24 22:12:57 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-07-26 02:09:32 +00:00
|
|
|
"thiserror",
|
2022-04-24 22:12:57 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
2020-02-01 06:11:42 +00:00
|
|
|
version = "1.2.3"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-01 06:11:42 +00:00
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2022-09-01 12:08:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
|
|
|
version = "2.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
|
|
|
|
|
2019-11-17 03:18:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-xml"
|
2022-12-01 19:25:13 +00:00
|
|
|
version = "0.25.0"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-01 19:25:13 +00:00
|
|
|
checksum = "58e21a144a0ffb5fad7b464babcdab934a325ad69b7c0373bcfef5cbd9799ca9"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2021-01-07 00:38:22 +00:00
|
|
|
"encoding_rs",
|
2019-11-28 02:21:00 +00:00
|
|
|
"memchr",
|
2019-11-17 03:18:41 +00:00
|
|
|
]
|
|
|
|
|
2023-01-16 02:06:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-xml"
|
|
|
|
version = "0.27.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffc053f057dd768a56f62cd7e434c42c831d296968997e9ac1f76ea7c2d14c41"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-04-11 19:05:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quickcheck"
|
2021-02-05 20:54:54 +00:00
|
|
|
version = "1.0.3"
|
2020-04-11 19:05:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-05 20:54:54 +00:00
|
|
|
checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
|
2020-04-11 19:05:59 +00:00
|
|
|
dependencies = [
|
2022-08-09 16:44:37 +00:00
|
|
|
"env_logger",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2020-04-11 19:05:59 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quickcheck_macros"
|
2021-02-05 20:54:54 +00:00
|
|
|
version = "1.0.0"
|
2020-04-11 19:05:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-05 20:54:54 +00:00
|
|
|
checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9"
|
2020-04-11 19:05:59 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-04-11 19:05:59 +00:00
|
|
|
]
|
|
|
|
|
2019-08-24 19:36:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.21"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
|
2019-08-24 19:36:19 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2019-08-24 19:36:19 +00:00
|
|
|
]
|
|
|
|
|
2021-03-14 02:13:31 +00:00
|
|
|
[[package]]
|
2019-05-18 01:24:13 +00:00
|
|
|
name = "rand"
|
2020-02-01 06:11:42 +00:00
|
|
|
version = "0.7.3"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-01 06:11:42 +00:00
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2021-01-19 20:24:27 +00:00
|
|
|
"getrandom 0.1.16",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2021-01-19 20:24:27 +00:00
|
|
|
"rand_chacha 0.2.2",
|
2020-08-12 17:20:22 +00:00
|
|
|
"rand_core 0.5.1",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand_hc",
|
2020-11-22 00:37:16 +00:00
|
|
|
"rand_pcg",
|
2019-07-04 22:17:18 +00:00
|
|
|
]
|
|
|
|
|
2021-01-19 20:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "0.8.5"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
2021-01-19 20:24:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-06-28 10:16:03 +00:00
|
|
|
"rand_chacha 0.3.1",
|
2022-10-03 16:40:16 +00:00
|
|
|
"rand_core 0.6.4",
|
2021-01-19 20:24:27 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2020-04-18 03:31:57 +00:00
|
|
|
version = "0.2.2"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-04-18 03:31:57 +00:00
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2020-04-18 03:31:57 +00:00
|
|
|
"ppv-lite86",
|
2020-08-12 17:20:22 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
2021-01-19 20:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2021-06-28 10:16:03 +00:00
|
|
|
version = "0.3.1"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-28 10:16:03 +00:00
|
|
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
2021-01-19 20:24:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
2022-10-03 16:40:16 +00:00
|
|
|
"rand_core 0.6.4",
|
2021-01-19 20:24:27 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2019-10-13 04:53:58 +00:00
|
|
|
version = "0.5.1"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2021-01-19 20:24:27 +00:00
|
|
|
"getrandom 0.1.16",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.6.4"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
2021-01-19 20:24:27 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"getrandom 0.2.7",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2021-05-27 05:09:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_distr"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "0.4.3"
|
2021-12-21 18:32:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31"
|
2021-12-21 18:32:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
2022-03-10 20:58:11 +00:00
|
|
|
"rand 0.8.5",
|
2021-05-27 05:09:48 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2020-08-12 17:20:22 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_pcg"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
2022-09-01 12:08:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xorshift"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
|
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"rand_core 0.6.4",
|
2022-09-01 12:08:19 +00:00
|
|
|
]
|
|
|
|
|
2019-10-08 13:47:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2023-01-23 04:52:37 +00:00
|
|
|
version = "1.6.1"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 04:52:37 +00:00
|
|
|
checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
|
2019-10-08 13:47:30 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2019-10-08 13:47:30 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2023-01-23 04:52:37 +00:00
|
|
|
version = "1.10.2"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 04:52:37 +00:00
|
|
|
checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
|
2019-10-08 13:47:30 +00:00
|
|
|
dependencies = [
|
2021-06-01 08:11:21 +00:00
|
|
|
"crossbeam-channel",
|
2021-07-09 19:28:07 +00:00
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-utils",
|
2019-11-28 02:21:00 +00:00
|
|
|
"num_cpus",
|
2019-10-08 13:47:30 +00:00
|
|
|
]
|
|
|
|
|
2021-01-19 20:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.16"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
|
|
|
|
2021-01-19 20:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.4.3"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
|
2021-01-19 20:24:27 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"getrandom 0.2.7",
|
2022-03-19 11:13:34 +00:00
|
|
|
"redox_syscall",
|
2022-03-27 13:01:04 +00:00
|
|
|
"thiserror",
|
2021-10-01 05:11:49 +00:00
|
|
|
]
|
|
|
|
|
2021-08-30 18:36:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "reedline"
|
2023-02-20 21:44:04 +00:00
|
|
|
version = "0.16.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a02723e44c03f5ef62ad35665a43cfa1df3b78cbb75e31ea9ddc6d2f0d9b4658"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
2022-07-30 09:41:15 +00:00
|
|
|
"crossterm 0.24.0",
|
2022-02-06 00:16:21 +00:00
|
|
|
"fd-lock",
|
2022-06-17 14:35:34 +00:00
|
|
|
"itertools",
|
2021-12-16 12:17:29 +00:00
|
|
|
"nu-ansi-term",
|
2022-06-14 20:53:33 +00:00
|
|
|
"rusqlite",
|
2021-08-30 18:36:07 +00:00
|
|
|
"serde",
|
2022-06-14 20:53:33 +00:00
|
|
|
"serde_json",
|
2021-12-09 22:06:26 +00:00
|
|
|
"strip-ansi-escapes",
|
2022-11-09 22:07:38 +00:00
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2022-06-14 20:53:33 +00:00
|
|
|
"thiserror",
|
2021-08-30 18:36:07 +00:00
|
|
|
"unicode-segmentation",
|
|
|
|
"unicode-width",
|
2021-01-19 20:24:27 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2023-01-23 01:44:10 +00:00
|
|
|
version = "1.7.1"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 01:44:10 +00:00
|
|
|
checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"aho-corasick",
|
2019-11-28 02:21:00 +00:00
|
|
|
"memchr",
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex-syntax",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2019-07-19 20:11:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2021-06-03 06:23:14 +00:00
|
|
|
version = "0.1.10"
|
2019-07-19 20:11:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-03 06:23:14 +00:00
|
|
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
2019-07-19 20:11:49 +00:00
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.6.27"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-06-08 18:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
2020-06-24 17:57:27 +00:00
|
|
|
version = "0.5.3"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-24 17:57:27 +00:00
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
2019-06-08 18:09:17 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "retain_mut"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0"
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "riscv"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6907ccdd7a31012b70faf2af85cd9e5ba97657cc3987c4f13f8e4d2c2a088aba"
|
|
|
|
dependencies = [
|
|
|
|
"bare-metal 1.0.0",
|
|
|
|
"bit_field",
|
|
|
|
"riscv-target",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "riscv-target"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "88aa938cda42a0cf62a20cfe8d139ff1af20c2e681212b5b34adb5a58333f222"
|
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2022-08-21 11:13:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rmp"
|
|
|
|
version = "0.8.11"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "44519172358fd6d58656c86ab8e7fbc9e1490c3e8f14d35ed78ca0dd07403c9f"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"num-traits",
|
|
|
|
"paste",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rmp-serde"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.1.1"
|
2022-08-21 11:13:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c5b13be192e0220b8afb7222aa5813cb62cc269ebb5cac346ca6487681d2913e"
|
2022-08-21 11:13:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"rmp",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-06-11 06:26:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "roxmltree"
|
2023-02-13 02:35:09 +00:00
|
|
|
version = "0.18.0"
|
2019-06-11 06:26:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-13 02:35:09 +00:00
|
|
|
checksum = "d8f595a457b6b8c6cda66a48503e92ee8d19342f905948f29c383200ec9eb1d8"
|
2019-06-11 06:26:03 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"xmlparser",
|
2019-06-11 06:26:03 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rstest"
|
2023-02-13 02:34:09 +00:00
|
|
|
version = "0.16.0"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-13 02:34:09 +00:00
|
|
|
checksum = "b07f2d176c472198ec1e6551dc7da28f1c089652f66a7b722676c2238ebc0edf"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
|
|
|
"rstest_macros",
|
|
|
|
"rustc_version 0.4.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rstest_macros"
|
2023-02-13 02:34:09 +00:00
|
|
|
version = "0.16.0"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-13 02:34:09 +00:00
|
|
|
checksum = "7229b505ae0706e64f37ffc54a9c163e11022a6636d58fe1f3f52018257ff9f7"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-07-11 16:18:06 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"rustc_version 0.4.0",
|
|
|
|
"syn",
|
2023-02-13 02:34:09 +00:00
|
|
|
"unicode-ident",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2022-04-14 03:15:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rusqlite"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.28.0"
|
2022-04-14 03:15:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "01e213bc3ecb39ac32e81e51ebe31fd888a940515173e3a18a35f8c6e896422a"
|
2022-04-14 03:15:02 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"fallible-iterator",
|
|
|
|
"fallible-streaming-iterator",
|
|
|
|
"hashlink",
|
|
|
|
"libsqlite3-sys",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2020-08-10 17:43:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust-embed"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "6.4.1"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e26934cd67a1da1165efe61cba4047cc1b4a526019da609fcce13a1000afb5fa"
|
2020-08-10 17:43:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"rust-embed-impl",
|
|
|
|
"rust-embed-utils",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rust-embed-impl"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "6.3.0"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e35d7b402e273544cc08e0824aa3404333fab8a90ac43589d3d5b72f4b346e12"
|
2020-08-10 17:43:16 +00:00
|
|
|
dependencies = [
|
2021-01-07 01:33:39 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2020-08-10 17:43:16 +00:00
|
|
|
"rust-embed-utils",
|
2021-08-28 03:34:11 +00:00
|
|
|
"syn",
|
2020-08-10 17:43:16 +00:00
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rust-embed-utils"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "7.3.0"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c1669d81dfabd1b5f8e2856b8bbe146c6192b0ba22162edc738ac0a5de18f054"
|
2021-12-10 01:16:35 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"sha2",
|
2020-08-10 17:43:16 +00:00
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2023-02-09 11:47:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust-ini"
|
|
|
|
version = "0.18.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f6d5f2436026b4f6e79dc829837d467cc7e9a55ee40e750d716713540715a2df"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-02-09 11:47:45 +00:00
|
|
|
"ordered-multimap",
|
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust_decimal"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.26.1"
|
2020-08-05 21:34:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "ee9164faf726e4f3ece4978b25ca877ddc6802fa77f38cdccb32c7f805ecd70c"
|
2020-08-05 21:34:28 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"num-traits",
|
2020-08-05 21:34:28 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
|
|
|
|
dependencies = [
|
|
|
|
"semver 0.9.0",
|
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
2021-12-02 18:05:38 +00:00
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
|
|
dependencies = [
|
2023-01-16 02:39:27 +00:00
|
|
|
"semver 1.0.16",
|
2022-02-06 00:16:21 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.35.11"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "fbb2fda4666def1433b1b05431ab402e42a1084285477222b72d6c564c417cef"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2023-02-22 12:56:31 +00:00
|
|
|
"errno 0.2.8",
|
2023-02-27 07:53:01 +00:00
|
|
|
"io-lifetimes 0.7.3",
|
2022-07-11 16:18:06 +00:00
|
|
|
"libc",
|
2023-02-27 07:53:01 +00:00
|
|
|
"linux-raw-sys 0.0.46",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2023-02-27 07:53:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
|
|
|
version = "0.36.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"errno 0.2.8",
|
|
|
|
"io-lifetimes 1.0.5",
|
|
|
|
"libc",
|
|
|
|
"linux-raw-sys 0.1.4",
|
|
|
|
"windows-sys 0.45.0",
|
|
|
|
]
|
|
|
|
|
2022-02-03 01:24:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.9"
|
2022-02-03 01:24:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "97477e48b4cf8603ad5f7aaf897467cf42ab4218a38ef76fb14c2d6773a6d6a8"
|
2022-02-03 01:24:24 +00:00
|
|
|
|
2022-09-01 12:08:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rusty-fork"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f"
|
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
"quick-error 1.2.3",
|
|
|
|
"tempfile",
|
|
|
|
"wait-timeout",
|
|
|
|
]
|
|
|
|
|
2021-10-01 05:11:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.11"
|
2021-10-01 05:11:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
|
2019-05-18 01:24:13 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-02-01 06:11:42 +00:00
|
|
|
version = "1.0.6"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-01 06:11:42 +00:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"winapi-util",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2019-06-08 18:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2023-03-05 22:48:13 +00:00
|
|
|
version = "0.1.21"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-05 22:48:13 +00:00
|
|
|
checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3"
|
2019-06-08 18:09:17 +00:00
|
|
|
dependencies = [
|
2023-03-05 22:48:13 +00:00
|
|
|
"windows-sys 0.42.0",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2019-10-08 13:47:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2020-04-18 03:31:57 +00:00
|
|
|
version = "1.1.0"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-04-18 03:31:57 +00:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2019-10-08 13:47:30 +00:00
|
|
|
|
2021-09-16 14:02:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scraper"
|
2023-01-23 01:54:50 +00:00
|
|
|
version = "0.14.0"
|
2021-09-16 14:02:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 01:54:50 +00:00
|
|
|
checksum = "fc7cb4dae083699a22a65aa9d2699c27f525e35dffaec38b10801e958ed4cf27"
|
2021-09-16 14:02:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"cssparser",
|
|
|
|
"ego-tree",
|
|
|
|
"html5ever",
|
|
|
|
"matches",
|
|
|
|
"selectors",
|
|
|
|
"smallvec",
|
|
|
|
"tendril",
|
|
|
|
]
|
|
|
|
|
2020-01-17 20:35:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
2023-03-05 22:48:13 +00:00
|
|
|
version = "2.8.2"
|
2020-01-17 20:35:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-05 22:48:13 +00:00
|
|
|
checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254"
|
2020-01-17 20:35:48 +00:00
|
|
|
dependencies = [
|
2020-03-20 07:53:49 +00:00
|
|
|
"bitflags",
|
2021-01-20 07:18:38 +00:00
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
2020-04-18 03:31:57 +00:00
|
|
|
"libc",
|
2020-01-17 20:35:48 +00:00
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
2023-03-05 22:48:13 +00:00
|
|
|
version = "2.8.0"
|
2020-01-17 20:35:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-05 22:48:13 +00:00
|
|
|
checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4"
|
2020-01-17 20:35:48 +00:00
|
|
|
dependencies = [
|
2021-01-20 07:18:38 +00:00
|
|
|
"core-foundation-sys",
|
2020-03-20 07:53:49 +00:00
|
|
|
"libc",
|
2020-01-17 20:35:48 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "selectors"
|
|
|
|
version = "0.22.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df320f1889ac4ba6bc0cdc9c9af7af4bd64bb927bccdf32d81140dc1f9be12fe"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cssparser",
|
|
|
|
"derive_more",
|
|
|
|
"fxhash",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2020-11-03 21:46:42 +00:00
|
|
|
"matches",
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf 0.8.0",
|
|
|
|
"phf_codegen 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"precomputed-hash",
|
|
|
|
"servo_arc",
|
2021-07-09 19:28:07 +00:00
|
|
|
"smallvec",
|
2020-11-03 21:46:42 +00:00
|
|
|
"thin-slice",
|
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
|
|
|
|
dependencies = [
|
2023-01-16 02:39:27 +00:00
|
|
|
"semver-parser",
|
2022-05-25 17:13:14 +00:00
|
|
|
]
|
|
|
|
|
2021-01-07 00:38:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2023-01-16 02:39:27 +00:00
|
|
|
version = "1.0.16"
|
2021-01-07 00:38:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-16 02:39:27 +00:00
|
|
|
checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
|
|
|
version = "0.7.0"
|
2021-12-02 18:05:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
2021-12-02 18:05:38 +00:00
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "seq-macro"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0772c5c30e1a0d91f6834f8e545c69281c099dfa9a3ac58d96a9fd629c8d4898"
|
|
|
|
|
2019-06-03 07:41:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.145"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b"
|
2019-07-15 18:34:44 +00:00
|
|
|
dependencies = [
|
2022-02-07 19:54:06 +00:00
|
|
|
"serde_derive",
|
2019-07-15 18:34:44 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.145"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.85"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2019-11-28 02:21:00 +00:00
|
|
|
"ryu",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2019-06-03 07:41:28 +00:00
|
|
|
]
|
|
|
|
|
2023-02-06 20:15:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_spanned"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2020-09-08 22:35:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_urlencoded"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.7.1"
|
2020-09-08 22:35:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
|
2020-09-08 22:35:45 +00:00
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2020-09-08 22:35:45 +00:00
|
|
|
"ryu",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2020-09-08 22:35:45 +00:00
|
|
|
]
|
|
|
|
|
2019-06-03 07:41:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.9.13"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "8613d593412a0deb7bbd8de9d908efff5a0cb9ccd8f62c641e7b2ed2f57291d1"
|
2019-06-03 07:41:28 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"indexmap",
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2022-02-08 13:28:21 +00:00
|
|
|
"ryu",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2022-08-10 19:56:15 +00:00
|
|
|
"unsafe-libyaml",
|
2019-06-03 07:41:28 +00:00
|
|
|
]
|
|
|
|
|
2021-02-19 01:24:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serial_test"
|
2023-01-30 02:47:51 +00:00
|
|
|
version = "1.0.0"
|
2021-02-19 01:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:47:51 +00:00
|
|
|
checksum = "538c30747ae860d6fb88330addbbd3e0ddbe46d662d032855596d8a8ca260611"
|
2021-02-19 01:24:27 +00:00
|
|
|
dependencies = [
|
2023-01-16 02:06:03 +00:00
|
|
|
"dashmap",
|
2022-07-26 02:09:32 +00:00
|
|
|
"futures",
|
2021-08-28 03:34:11 +00:00
|
|
|
"lazy_static",
|
2022-07-26 02:09:32 +00:00
|
|
|
"log",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2021-02-19 01:24:27 +00:00
|
|
|
"serial_test_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serial_test_derive"
|
2023-01-30 02:47:51 +00:00
|
|
|
version = "1.0.0"
|
2021-02-19 01:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:47:51 +00:00
|
|
|
checksum = "079a83df15f85d89a68d64ae1238f142f172b1fa915d0d76b26a7cba1b659a69"
|
2021-02-19 01:24:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-02-19 01:24:27 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "servo_arc"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d98238b800e0d1576d8b6e3de32827c2d74bee68bb97748dcf5071fb53965432"
|
|
|
|
dependencies = [
|
|
|
|
"nodrop",
|
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.10.6"
|
2021-12-10 23:14:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0"
|
2021-12-10 23:14:28 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-12-10 23:14:28 +00:00
|
|
|
"cpufeatures",
|
2022-10-03 16:40:16 +00:00
|
|
|
"digest",
|
2020-05-16 22:34:10 +00:00
|
|
|
]
|
|
|
|
|
2021-07-05 07:16:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shadow-rs"
|
2023-03-03 17:41:13 +00:00
|
|
|
version = "0.21.0"
|
2021-07-05 07:16:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-03 17:41:13 +00:00
|
|
|
checksum = "427f07ab5f873000cf55324882e12a88c0a7ea7025df4fc1e7e35e688877a583"
|
2021-07-05 07:16:34 +00:00
|
|
|
dependencies = [
|
2022-04-04 14:59:59 +00:00
|
|
|
"const_format",
|
2021-12-01 19:48:03 +00:00
|
|
|
"is_debug",
|
2022-10-03 16:40:16 +00:00
|
|
|
"time 0.3.14",
|
2021-07-05 07:16:34 +00:00
|
|
|
]
|
|
|
|
|
2023-01-16 02:04:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shell-words"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
|
|
|
|
|
2021-06-03 06:25:28 +00:00
|
|
|
[[package]]
|
2022-02-07 19:11:34 +00:00
|
|
|
name = "signal-hook"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.3.14"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"signal-hook-registry",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-mio"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.2.3"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"mio",
|
2021-08-30 18:36:07 +00:00
|
|
|
"signal-hook",
|
2020-01-27 02:51:46 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2021-06-03 06:23:14 +00:00
|
|
|
version = "1.4.0"
|
2020-01-27 02:51:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-03 06:23:14 +00:00
|
|
|
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
|
2020-01-27 02:51:46 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "simd-json"
|
2023-01-13 15:27:37 +00:00
|
|
|
version = "0.7.0"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 15:27:37 +00:00
|
|
|
checksum = "8e3375b6c3d8c048ba09c8b4b6c3f1d3f35e06b71db07d231c323943a949e1b8"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"halfbrown",
|
2023-01-13 15:27:37 +00:00
|
|
|
"lexical-core",
|
2022-11-09 22:07:38 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"simdutf8",
|
|
|
|
"value-trait",
|
|
|
|
]
|
|
|
|
|
2021-11-16 08:53:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "simdutf8"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.1.4"
|
2021-11-16 08:53:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
|
2021-11-16 08:53:03 +00:00
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "similar"
|
|
|
|
version = "2.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf"
|
|
|
|
|
2022-08-09 16:44:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "simplelog"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "48dfff04aade74dd495b007c831cd6f4e0cee19c344dd9dc0884c0289b70a786"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"termcolor",
|
2022-10-03 16:40:16 +00:00
|
|
|
"time 0.3.14",
|
2022-08-09 16:44:37 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "0.3.10"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
2021-11-02 03:08:05 +00:00
|
|
|
|
2019-05-23 04:30:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.4.7"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2021-07-30 21:04:01 +00:00
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "1.9.0"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2022-08-12 12:10:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smartstring"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"static_assertions",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2021-09-20 21:37:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smawk"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043"
|
2021-02-04 07:20:21 +00:00
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451"
|
|
|
|
|
2021-07-30 21:04:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.4.7"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2021-11-15 22:29:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.9.4"
|
2021-11-15 22:29:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09"
|
2021-11-15 22:29:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
|
|
|
]
|
|
|
|
|
2022-04-24 09:29:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sqlparser"
|
2023-01-16 03:30:39 +00:00
|
|
|
version = "0.30.0"
|
2022-04-24 09:29:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-16 03:30:39 +00:00
|
|
|
checksum = "db67dc6ef36edb658196c3fef0464a80b53dbbc194a904e81f9bd4190f9ecc5b"
|
2022-04-24 09:29:21 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
2022-04-27 10:52:31 +00:00
|
|
|
"serde",
|
2022-04-24 09:29:21 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
|
|
2020-09-08 22:35:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "static_assertions"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
2021-11-16 08:53:03 +00:00
|
|
|
name = "streaming-decompression"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.2"
|
2021-11-16 08:53:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "bf6cc3b19bfb128a8ad11026086e31d3ce9ad23f8ea37354b31383a187c44cf3"
|
2021-11-16 08:53:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"fallible-streaming-iterator",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-09-15 19:10:12 +00:00
|
|
|
name = "streaming-iterator"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.7"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "0085b81d5d4e57f264d492641cf80ea508c96d9a0e47c6296e8f016504e28fd7"
|
2021-09-15 19:10:12 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strength_reduce"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a3ff2f71c82567c565ba4b3009a9350a96a7269eaa4001ebedae926230bc2254"
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.8.4"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"new_debug_unreachable",
|
2022-04-15 11:04:15 +00:00
|
|
|
"once_cell",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2022-02-08 13:28:21 +00:00
|
|
|
"phf_shared 0.10.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"precomputed-hash",
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "string_cache_codegen"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.5.2"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
2022-04-15 11:04:15 +00:00
|
|
|
"phf_generator 0.10.0",
|
|
|
|
"phf_shared 0.10.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
2019-11-16 20:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strip-ansi-escapes"
|
2021-08-28 12:59:09 +00:00
|
|
|
version = "0.1.1"
|
2019-11-16 20:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 12:59:09 +00:00
|
|
|
checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8"
|
2019-11-16 20:02:26 +00:00
|
|
|
dependencies = [
|
2022-10-20 12:52:15 +00:00
|
|
|
"vte",
|
2019-11-16 20:02:26 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
2021-12-01 19:48:03 +00:00
|
|
|
name = "strum"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.24.1"
|
2022-02-03 01:24:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
|
2022-02-03 01:24:24 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.24.3"
|
2022-02-03 01:24:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
|
2022-02-03 01:24:24 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"heck",
|
2022-02-03 01:24:24 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"rustversion",
|
2021-12-01 19:48:03 +00:00
|
|
|
"syn",
|
|
|
|
]
|
2019-05-18 01:24:13 +00:00
|
|
|
|
2021-03-03 18:18:11 +00:00
|
|
|
[[package]]
|
2021-09-20 21:37:26 +00:00
|
|
|
name = "supports-color"
|
2021-10-04 21:37:32 +00:00
|
|
|
version = "1.3.0"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-04 21:37:32 +00:00
|
|
|
checksum = "4872ced36b91d47bae8a214a683fe54e7078875b399dfa251df346c9b547d1f9"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2021-09-22 23:49:39 +00:00
|
|
|
"is_ci",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-hyperlinks"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "590b34f7c5f01ecc9d78dba4b3f445f31df750a67621cf31626f3b7441ce6406"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-unicode"
|
2021-10-04 21:37:32 +00:00
|
|
|
version = "1.0.2"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-04 21:37:32 +00:00
|
|
|
checksum = "a8b945e45b417b125a8ec51f1b7df2f8df7920367700d1f98aedd21e5735f8b2"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
]
|
2021-03-03 18:18:11 +00:00
|
|
|
|
2020-10-12 13:03:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sxd-document"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "94d82f37be9faf1b10a82c4bd492b74f698e40082f0f40de38ab275f31d42078"
|
|
|
|
dependencies = [
|
|
|
|
"peresil",
|
|
|
|
"typed-arena",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sxd-xpath"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "36e39da5d30887b5690e29de4c5ebb8ddff64ebd9933f98a01daaa4fd11b36ea"
|
|
|
|
dependencies = [
|
|
|
|
"peresil",
|
2022-09-01 12:08:19 +00:00
|
|
|
"quick-error 1.2.3",
|
2020-10-12 13:03:00 +00:00
|
|
|
"sxd-document",
|
|
|
|
]
|
|
|
|
|
2021-01-11 17:53:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "1.0.101"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "e90cde112c4b9690b8cbe810cba9ddd8bc1d7472e2cae317b69e9438c1cba7d2"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2022-05-25 17:13:14 +00:00
|
|
|
"unicode-ident",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2020-03-20 19:35:09 +00:00
|
|
|
[[package]]
|
2021-05-26 23:02:24 +00:00
|
|
|
name = "sys-locale"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.2.1"
|
2021-05-26 23:02:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "658ee915b6c7b73ec4c1ffcd838506b5c5a4087eadc1ec8f862f1066cf2c8132"
|
2021-05-26 23:02:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"cstr_core",
|
2022-07-26 02:09:32 +00:00
|
|
|
"js-sys",
|
2021-05-26 23:02:24 +00:00
|
|
|
"libc",
|
2022-07-26 02:09:32 +00:00
|
|
|
"wasm-bindgen",
|
2021-05-26 23:02:24 +00:00
|
|
|
"web-sys",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-05-26 23:02:24 +00:00
|
|
|
]
|
|
|
|
|
2023-02-21 23:32:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sysinfo"
|
2023-02-27 06:47:59 +00:00
|
|
|
version = "0.27.8"
|
2023-02-21 23:32:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-27 06:47:59 +00:00
|
|
|
checksum = "a902e9050fca0a5d6877550b769abd2bd1ce8c04634b941dbe2809735e1a1e33"
|
2023-02-21 23:32:28 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2023-02-21 23:32:28 +00:00
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"ntapi",
|
|
|
|
"once_cell",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2023-02-21 23:32:28 +00:00
|
|
|
]
|
|
|
|
|
2021-01-20 07:18:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sysinfo"
|
2023-03-04 22:48:34 +00:00
|
|
|
version = "0.28.2"
|
2022-06-14 20:53:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-04 22:48:34 +00:00
|
|
|
checksum = "d3e847e2de7a137c8c2cede5095872dbb00f4f9bf34d061347e36b43322acd56"
|
2022-06-14 20:53:33 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-06-14 20:53:33 +00:00
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
2022-10-30 13:29:41 +00:00
|
|
|
"ntapi",
|
2022-06-14 20:53:33 +00:00
|
|
|
"once_cell",
|
|
|
|
"rayon",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2022-06-14 20:53:33 +00:00
|
|
|
]
|
|
|
|
|
2022-07-06 19:57:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tabled"
|
2022-10-20 12:52:15 +00:00
|
|
|
version = "0.10.0"
|
2022-07-22 15:33:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-20 12:52:15 +00:00
|
|
|
checksum = "56c3ee73732ffceaea7b8f6b719ce3bb17f253fa27461ffeaf568ebd0cdb4b85"
|
2022-07-06 19:57:40 +00:00
|
|
|
dependencies = [
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
"ansi-str 0.5.0",
|
2022-07-06 19:57:40 +00:00
|
|
|
"papergrid",
|
|
|
|
"tabled_derive",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tabled_derive"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.5.0"
|
2022-07-22 15:33:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "beca1b4eaceb4f2755df858b88d9b9315b7ccfd1ffd0d7a48a52602301f01a57"
|
2022-07-06 19:57:40 +00:00
|
|
|
dependencies = [
|
2022-11-09 22:07:38 +00:00
|
|
|
"heck",
|
2022-07-06 19:57:40 +00:00
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2019-06-08 18:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "3.3.0"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2022-02-08 13:28:21 +00:00
|
|
|
"fastrand",
|
2021-08-30 18:36:07 +00:00
|
|
|
"libc",
|
2022-03-19 11:13:34 +00:00
|
|
|
"redox_syscall",
|
2021-08-30 18:36:07 +00:00
|
|
|
"remove_dir_all",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tendril"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.4.3"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"futf",
|
|
|
|
"mac",
|
|
|
|
"utf-8",
|
|
|
|
]
|
|
|
|
|
2019-05-26 06:54:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2022-03-10 20:58:11 +00:00
|
|
|
version = "1.1.3"
|
2019-05-26 06:54:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-10 20:58:11 +00:00
|
|
|
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
|
2019-05-26 06:54:41 +00:00
|
|
|
dependencies = [
|
2020-01-17 20:35:48 +00:00
|
|
|
"winapi-util",
|
2019-05-26 06:54:41 +00:00
|
|
|
]
|
|
|
|
|
2020-06-16 21:17:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "terminal_size"
|
2021-06-03 06:23:14 +00:00
|
|
|
version = "0.1.17"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-03 06:23:14 +00:00
|
|
|
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-10-05 13:43:20 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "terminal_size"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8440c860cf79def6164e4a0a983bcc2305d82419177a0e0c71930d049e3ac5a1"
|
|
|
|
dependencies = [
|
2023-02-27 07:53:01 +00:00
|
|
|
"rustix 0.35.11",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows-sys 0.36.1",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2021-10-10 04:13:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termtree"
|
2022-02-04 06:47:18 +00:00
|
|
|
version = "0.2.4"
|
2021-10-10 04:13:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-04 06:47:18 +00:00
|
|
|
checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b"
|
2021-10-10 04:13:15 +00:00
|
|
|
|
2021-09-20 21:37:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.15.1"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"smawk",
|
|
|
|
"unicode-linebreak",
|
|
|
|
"unicode-width",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2023-01-05 19:39:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
|
|
|
version = "0.16.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thin-slice"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8eaa81235c7058867fa8c0e7314f33dcce9c215f535d1913822a2b3f5e289f3c"
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2023-02-09 18:37:51 +00:00
|
|
|
version = "1.0.38"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-09 18:37:51 +00:00
|
|
|
checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2023-02-09 18:37:51 +00:00
|
|
|
version = "1.0.38"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-09 18:37:51 +00:00
|
|
|
checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-01-01 06:45:27 +00:00
|
|
|
]
|
|
|
|
|
2022-04-24 21:43:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
|
|
|
version = "1.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
|
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2021-03-12 05:20:54 +00:00
|
|
|
version = "0.1.44"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 05:20:54 +00:00
|
|
|
checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2021-03-12 05:20:54 +00:00
|
|
|
"wasi 0.10.0+wasi-snapshot-preview1",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2021-12-02 18:05:38 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.14"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "3c3f9a28b618c3a6b9251b6908e9c99e04b9e5c02e6581ccbb67d59c34ef7f9b"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-10-10 11:25:57 +00:00
|
|
|
"itoa 1.0.4",
|
2022-07-26 02:09:32 +00:00
|
|
|
"libc",
|
|
|
|
"num_threads",
|
2022-08-09 16:44:37 +00:00
|
|
|
"time-macros",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2022-08-09 16:44:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42657b1a6f4d817cda8e7a0ace261fe0cc946cf3a80314390b22cc61ae080792"
|
|
|
|
|
2023-01-13 15:27:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tiny-keccak"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
|
|
|
|
dependencies = [
|
|
|
|
"crunchy",
|
|
|
|
]
|
|
|
|
|
2022-08-23 16:49:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinytemplate"
|
|
|
|
version = "1.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2020-06-24 17:57:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "1.6.0"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"tinyvec_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec_macros"
|
|
|
|
version = "0.1.0"
|
2020-06-24 17:57:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-22 00:37:16 +00:00
|
|
|
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
2020-06-24 17:57:27 +00:00
|
|
|
|
2020-12-12 18:18:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "titlecase"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "2.2.0"
|
2020-12-12 18:18:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "268c82cc8fdb739c2bcf9daed9a46d0e26ea2d3e70d070e4cac83bdcc40d6a49"
|
2020-12-12 18:18:03 +00:00
|
|
|
dependencies = [
|
2022-10-03 16:40:16 +00:00
|
|
|
"joinery",
|
2021-08-28 03:34:11 +00:00
|
|
|
"lazy_static",
|
2021-07-09 19:28:07 +00:00
|
|
|
"regex",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
2021-07-30 21:04:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2023-02-05 21:22:37 +00:00
|
|
|
version = "1.25.0"
|
2020-08-12 17:20:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-05 21:22:37 +00:00
|
|
|
checksum = "c8e00990ebabbe4c14c08aca901caed183ecd5c09562a12c824bb53d3c3fd3af"
|
2020-08-12 17:20:22 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"autocfg",
|
2022-01-04 02:01:18 +00:00
|
|
|
"bytes",
|
2021-07-09 19:28:07 +00:00
|
|
|
"libc",
|
|
|
|
"memchr",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"mio",
|
2021-07-09 19:28:07 +00:00
|
|
|
"num_cpus",
|
2023-03-02 19:05:18 +00:00
|
|
|
"parking_lot 0.12.1",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
2023-03-02 19:05:18 +00:00
|
|
|
"signal-hook-registry",
|
2022-03-10 20:58:11 +00:00
|
|
|
"socket2",
|
2023-03-02 19:05:18 +00:00
|
|
|
"tokio-macros",
|
2023-01-06 22:37:37 +00:00
|
|
|
"windows-sys 0.42.0",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
|
|
|
version = "1.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-07-09 19:28:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.7.4"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740"
|
2021-07-09 19:28:07 +00:00
|
|
|
dependencies = [
|
2022-01-04 02:01:18 +00:00
|
|
|
"bytes",
|
2021-07-09 19:28:07 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
2022-04-15 11:04:15 +00:00
|
|
|
"tracing",
|
2021-07-09 19:28:07 +00:00
|
|
|
]
|
|
|
|
|
2019-05-22 07:12:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2022-04-15 11:04:15 +00:00
|
|
|
version = "0.5.9"
|
2019-05-22 07:12:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 11:04:15 +00:00
|
|
|
checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7"
|
2019-05-22 07:12:03 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"serde",
|
2020-11-22 00:37:16 +00:00
|
|
|
]
|
|
|
|
|
2023-02-06 20:15:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
version = "0.7.2"
|
2023-02-06 20:15:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
checksum = "f7afcae9e3f0fe2c370fd4657108972cbb2fa9db1b9f84849cefd80741b01cb6"
|
2023-02-06 20:15:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
"serde_spanned",
|
|
|
|
"toml_datetime",
|
|
|
|
"toml_edit",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml_datetime"
|
|
|
|
version = "0.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "toml_edit"
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
version = "0.19.3"
|
2023-02-06 20:15:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
A `fill` command to replace `str lpad` and `str rpad` (#7846)
# Description
The point of this command is to allow you to be able to format ints,
floats, filesizes, and strings with an alignment, padding, and a fill
character, as strings. It's meant to take the place of `str lpad` and
`str rpad`.
```
> help fill
Fill and Align
Search terms: display, render, format, pad, align
Usage:
> fill {flags}
Flags:
-h, --help - Display the help message for this command
-w, --width <Int> - The width of the output. Defaults to 1
-a, --alignment <String> - The alignment of the output. Defaults to Left (Left(l), Right(r), Center(c/m), MiddleRight(cr/mr))
-c, --character <String> - The character to fill with. Defaults to ' ' (space)
Signatures:
<number> | fill -> <string>
<string> | fill -> <string>
Examples:
Fill a string on the left side to a width of 15 with the character '─'
> 'nushell' | fill -a l -c '─' -w 15
Fill a string on the right side to a width of 15 with the character '─'
> 'nushell' | fill -a r -c '─' -w 15
Fill a string on both sides to a width of 15 with the character '─'
> 'nushell' | fill -a m -c '─' -w 15
Fill a number on the left side to a width of 5 with the character '0'
> 1 | fill --alignment right --character 0 --width 5
Fill a filesize on the left side to a width of 5 with the character '0'
> 1kib | fill --alignment middle --character 0 --width 10
```
![image](https://user-images.githubusercontent.com/343840/214133752-6fc93fa7-4003-4eb4-96ed-cd967312e244.png)
# User-Facing Changes
Deprecated `str lpad` and `str rpad`.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-09 20:56:52 +00:00
|
|
|
checksum = "5e6a7712b49e1775fb9a7b998de6635b299237f48b404dde71704f2e0e7f37e5"
|
2023-02-06 20:15:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
|
|
|
"nom8",
|
|
|
|
"serde",
|
|
|
|
"serde_spanned",
|
|
|
|
"toml_datetime",
|
|
|
|
]
|
|
|
|
|
2020-11-22 00:37:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
2022-07-26 02:09:32 +00:00
|
|
|
version = "0.3.2"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-26 02:09:32 +00:00
|
|
|
checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
|
2020-11-22 00:37:16 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.36"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2021-08-28 03:34:11 +00:00
|
|
|
"pin-project-lite",
|
2020-11-22 00:37:16 +00:00
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.29"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7"
|
2021-07-30 21:04:01 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"once_cell",
|
2021-07-30 21:04:01 +00:00
|
|
|
]
|
|
|
|
|
2019-10-18 22:41:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "trash"
|
2023-01-30 10:58:56 +00:00
|
|
|
version = "3.0.1"
|
2019-05-22 07:12:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 10:58:56 +00:00
|
|
|
checksum = "a27b2a127810fceb959593bbc6c7b8e0282c2d318d76f0749252197c52a1dd0c"
|
2019-05-22 07:12:03 +00:00
|
|
|
dependencies = [
|
2021-12-01 19:48:03 +00:00
|
|
|
"chrono",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"objc",
|
2022-02-08 13:28:21 +00:00
|
|
|
"once_cell",
|
2021-12-01 19:48:03 +00:00
|
|
|
"scopeguard",
|
|
|
|
"url",
|
2023-01-30 10:58:56 +00:00
|
|
|
"windows",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
|
|
|
|
|
[MVP][WIP] `less` like pager (#6984)
Run it as `explore`.
#### example
```nu
ls | explore
```
Configuration points in `config.nu` file.
```
# A 'explore' utility config
explore_config: {
highlight: { bg: 'yellow', fg: 'black' }
status_bar: { bg: '#C4C9C6', fg: '#1D1F21' }
command_bar: { fg: '#C4C9C6' }
split_line: '#404040'
cursor: true
# selected_column: 'blue'
# selected_row: { fg: 'yellow', bg: '#C1C2A3' }
# selected_cell: { fg: 'white', bg: '#777777' }
# line_shift: false,
# line_index: false,
# line_head_top: false,
# line_head_bottom: false,
}
```
You can start without a pipeline and type `explore` and it'll give you a
few tips.
![image](https://user-images.githubusercontent.com/343840/205088971-a8c0262f-f222-4641-b13a-027fbd4f5e1a.png)
If you type `:help` you an see the help screen with some information on
what tui keybindings are available.
![image](https://user-images.githubusercontent.com/343840/205089461-c4c54217-7ec4-4fa0-96c0-643d68dc0062.png)
From the `:help` screen you can now hit `i` and that puts you in
`cursor` aka `inspection` mode and you can move the cursor left right up
down and it you put it on an area such as `[table 5 rows]` and hit the
enter key, you'll see something like this, which shows all the `:`
commands. If you hit `esc` it will take you to the previous screen.
![image](https://user-images.githubusercontent.com/343840/205090155-3558a14b-87b7-4072-8dfb-dc8cc2ef4943.png)
If you then type `:try` you'll get this type of window where you can
type in the top portion and see results in the bottom.
![image](https://user-images.githubusercontent.com/343840/205089185-3c065551-0792-43d6-a13c-a52762856209.png)
The `:nu` command is interesting because you can type pipelines like
`:nu ls | sort-by type size` or another pipeline of your choosing such
as `:nu sys` and that will show the table that looks like this, which
we're calling "table mode".
![image](https://user-images.githubusercontent.com/343840/205090809-e686ff0f-6d0b-4347-8ed0-8c59adfbd741.png)
If you hit the `t` key it will now transpose the view to look like this.
![image](https://user-images.githubusercontent.com/343840/205090948-a834d7f2-1713-4dfe-92fe-5432f287df3d.png)
In table mode or transposed table mode you can use the `i` key to
inspect any collapsed field like `{record 8 fields}`, `[table 16 rows]`,
`[list x]`, etc.
One of the original benefits was that when you're in a view that has a
lot of columns, `explore` gives you the ability to scroll left, right,
up, and down.
`explore` is also smart enough to know when you're in table mode versus
preview mode. If you do `open Cargo.toml | explore` you get this.
![image](https://user-images.githubusercontent.com/343840/205091822-cac79130-3a52-4ca8-9210-eba5be30ed58.png)
If you type `open --raw Cargo.toml | explore` you get this where you can
scroll left, right, up, down. This is called preview mode.
![image](https://user-images.githubusercontent.com/343840/205091990-69455191-ab78-4fea-a961-feafafc16d70.png)
When you're in table mode, you can also type `:preview`. So, with `open
--raw Cargo.toml | explore`, if you type `:preview`, it will look like
this.
![image](https://user-images.githubusercontent.com/343840/205092569-436aa55a-0474-48d5-ab71-baddb1f43027.png)
Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-12-01 15:32:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tui"
|
|
|
|
version = "0.19.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cassowary",
|
|
|
|
"crossterm 0.25.0",
|
|
|
|
"unicode-segmentation",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2020-09-30 18:27:52 +00:00
|
|
|
[[package]]
|
2019-11-04 15:47:03 +00:00
|
|
|
name = "typed-arena"
|
|
|
|
version = "1.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "a9b2228007eba4120145f785df0f6c92ea538f5a3635a612ecf4e334c8c1446d"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
2019-08-11 03:01:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "1.15.0"
|
2019-08-11 03:01:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
|
2021-10-25 04:01:02 +00:00
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typetag"
|
2023-01-30 02:46:31 +00:00
|
|
|
version = "0.2.5"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:46:31 +00:00
|
|
|
checksum = "8eecd98403ae5ea2813689125cf5b3f99c40b8abed46c0a8945c81eadb673b31"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"erased-serde",
|
|
|
|
"inventory",
|
|
|
|
"once_cell",
|
|
|
|
"serde",
|
|
|
|
"typetag-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "typetag-impl"
|
2023-01-30 02:46:31 +00:00
|
|
|
version = "0.2.5"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:46:31 +00:00
|
|
|
checksum = "8f9568611f0de5e83e0993b85c54679cd0afd659adcfcb0233f16280b980492e"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
2019-08-11 03:01:09 +00:00
|
|
|
|
2019-11-19 05:46:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "umask"
|
2022-05-11 21:13:45 +00:00
|
|
|
version = "2.0.0"
|
2019-11-19 05:46:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-11 21:13:45 +00:00
|
|
|
checksum = "46b0c16eadfb312c7acd6970fc97d1f3152eb536714a2ff72ca09a92cae6fa67"
|
2019-11-19 05:46:47 +00:00
|
|
|
|
2023-02-13 02:31:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unarray"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
|
|
|
|
|
2022-12-27 18:46:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
|
|
|
version = "2.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
|
|
|
|
dependencies = [
|
|
|
|
"version_check",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2023-01-23 18:57:40 +00:00
|
|
|
version = "1.0.6"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-23 18:57:40 +00:00
|
|
|
checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
|
2019-06-01 21:11:28 +00:00
|
|
|
|
|
|
|
[[package]]
|
2021-09-20 21:37:26 +00:00
|
|
|
name = "unicode-linebreak"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.4"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c5faade31a542b8b35855fff6e8def199853b2da8da256da52f52f1316ee3137"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
2023-01-13 15:27:37 +00:00
|
|
|
"hashbrown 0.12.3",
|
2021-09-20 21:37:26 +00:00
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2021-12-06 17:28:11 +00:00
|
|
|
[[package]]
|
2019-06-01 21:11:28 +00:00
|
|
|
name = "unicode-normalization"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.22"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
2020-06-24 17:57:27 +00:00
|
|
|
"tinyvec",
|
2019-06-01 21:11:28 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
`string | fill` counts clusters, not graphemes; and doesn't count ANSI escape codes (#8134)
Enhancement of new `fill` command (#7846) to handle content including
ANSI escape codes for formatting or multi-code-point Unicode grapheme
clusters.
In both of these cases, the content is (many) bytes longer than its
visible length, and `fill` was counting the extra bytes so not adding
enough fill characters.
# Description
This script:
```rust
# the teacher emoji `\u{1F9D1}\u{200D}\u{1F3EB}` is 3 code points, but only 1 print position wide.
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"\u{1F9D1}\u{200D}\u{1F3EB}" | fill -c "+" -w 3 -a "c"
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"(ansi green)a(ansi reset)" | fill -c "+" -w 3 -a c
echo ""
```
Was producing this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
🧑🏫
This output should be 3 print positions wide, with leading and trailing `+`
a
```
After this PR, it produces this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
+🧑🏫+
This output should be 3 print positions wide, with leading and trailing `+`
+a+
```
# User-Facing Changes
Users may have to undo fixes they may have introduced to work around the
former behavior. I have one such in my prompt string that I can now
revert.
# Tests + Formatting
Don't forget to add tests that cover your changes.
-- Done
Make sure you've run and fixed any issues with these commands:
- [x] `cargo fmt --all -- --check` to check standard code formatting
(`cargo fmt --all` applies these changes)
- [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- [x] `cargo test --workspace` to check that all tests pass
# After Submitting
`fill` command not documented in the book, and it still talks about `str
lpad/rpad`. I'll fix.
Note added dependency on a new library `print-positions`, which is an
iterator that yields a complete print position (cluster + Ansi sequence)
per call. Should this be vendored?
2023-02-20 12:32:20 +00:00
|
|
|
version = "1.10.1"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
`string | fill` counts clusters, not graphemes; and doesn't count ANSI escape codes (#8134)
Enhancement of new `fill` command (#7846) to handle content including
ANSI escape codes for formatting or multi-code-point Unicode grapheme
clusters.
In both of these cases, the content is (many) bytes longer than its
visible length, and `fill` was counting the extra bytes so not adding
enough fill characters.
# Description
This script:
```rust
# the teacher emoji `\u{1F9D1}\u{200D}\u{1F3EB}` is 3 code points, but only 1 print position wide.
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"\u{1F9D1}\u{200D}\u{1F3EB}" | fill -c "+" -w 3 -a "c"
echo "This output should be 3 print positions wide, with leading and trailing `+`"
$"(ansi green)a(ansi reset)" | fill -c "+" -w 3 -a c
echo ""
```
Was producing this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
🧑🏫
This output should be 3 print positions wide, with leading and trailing `+`
a
```
After this PR, it produces this output:
```rust
This output should be 3 print positions wide, with leading and trailing `+`
+🧑🏫+
This output should be 3 print positions wide, with leading and trailing `+`
+a+
```
# User-Facing Changes
Users may have to undo fixes they may have introduced to work around the
former behavior. I have one such in my prompt string that I can now
revert.
# Tests + Formatting
Don't forget to add tests that cover your changes.
-- Done
Make sure you've run and fixed any issues with these commands:
- [x] `cargo fmt --all -- --check` to check standard code formatting
(`cargo fmt --all` applies these changes)
- [x] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- [x] `cargo test --workspace` to check that all tests pass
# After Submitting
`fill` command not documented in the book, and it still talks about `str
lpad/rpad`. I'll fix.
Note added dependency on a new library `print-positions`, which is an
iterator that yields a complete print position (cluster + Ansi sequence)
per call. Should this be vendored?
2023-02-20 12:32:20 +00:00
|
|
|
checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.1.10"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-07-29 07:46:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.4"
|
2019-07-29 07:46:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
|
2019-07-29 07:46:24 +00:00
|
|
|
|
2022-08-10 19:56:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unsafe-libyaml"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.4"
|
2022-08-10 19:56:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "c1e5fa573d8ac5f1a856f8d7be41d390ee973daf97c806b2c1a465e4e1406e68"
|
2022-08-10 19:56:15 +00:00
|
|
|
|
2023-03-05 22:48:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ureq"
|
|
|
|
version = "2.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "338b31dd1314f68f3aabf3ed57ab922df95ffcd902476ca7ba3c4ce7b908c46d"
|
|
|
|
dependencies = [
|
|
|
|
"base64 0.13.0",
|
|
|
|
"encoding_rs",
|
|
|
|
"flate2",
|
|
|
|
"log",
|
|
|
|
"native-tls",
|
|
|
|
"once_cell",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "2.3.1"
|
2019-07-29 07:46:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
|
2019-07-29 07:46:24 +00:00
|
|
|
dependencies = [
|
2020-11-22 00:37:16 +00:00
|
|
|
"form_urlencoded",
|
|
|
|
"idna",
|
2021-07-09 19:28:07 +00:00
|
|
|
"percent-encoding",
|
2019-07-29 07:46:24 +00:00
|
|
|
]
|
|
|
|
|
2022-06-06 11:55:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "users"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa4227e95324a443c9fcb06e03d4d85e91aabe9a5a02aa818688b6918b6af486"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
2020-01-11 20:49:20 +00:00
|
|
|
name = "users"
|
2021-02-05 20:54:54 +00:00
|
|
|
version = "0.11.0"
|
2020-01-11 20:49:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-05 20:54:54 +00:00
|
|
|
checksum = "24cc0f6d6f267b73e5a2cadf007ba8f9bc39c6a6f9666f8cf25ea809a153b032"
|
2020-01-11 20:49:20 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2020-01-11 20:49:20 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
2021-05-12 01:01:31 +00:00
|
|
|
version = "0.7.6"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-12 01:01:31 +00:00
|
|
|
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
2020-11-03 21:46:42 +00:00
|
|
|
|
2020-09-08 22:35:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf8-width"
|
2022-03-27 13:01:04 +00:00
|
|
|
version = "0.1.6"
|
2020-09-08 22:35:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-27 13:01:04 +00:00
|
|
|
checksum = "5190c9442dcdaf0ddd50f37420417d219ae5261bbf5db120d0f9bab996c9cba1"
|
2020-09-08 22:35:45 +00:00
|
|
|
|
2020-04-07 07:51:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372"
|
|
|
|
|
2020-06-25 05:51:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
2023-02-21 23:32:52 +00:00
|
|
|
version = "1.3.0"
|
2020-06-25 05:51:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-21 23:32:52 +00:00
|
|
|
checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79"
|
2020-06-25 05:51:09 +00:00
|
|
|
dependencies = [
|
2022-07-26 02:09:32 +00:00
|
|
|
"getrandom 0.2.7",
|
2020-06-25 05:51:09 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "value-trait"
|
2023-01-13 15:27:37 +00:00
|
|
|
version = "0.5.1"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-13 15:27:37 +00:00
|
|
|
checksum = "995de1aa349a0dc50f4aa40870dce12961a30229027230bad09acd2843edbe9e"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"float-cmp",
|
|
|
|
"halfbrown",
|
|
|
|
"itoa 1.0.4",
|
|
|
|
"ryu",
|
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcell"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "77439c1b53d2303b20d9459b1ade71a83c716e3f9c34f3228c00e6f185d6c002"
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2021-08-28 03:34:11 +00:00
|
|
|
version = "0.2.15"
|
2020-08-22 05:06:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 03:34:11 +00:00
|
|
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
2020-08-22 05:06:19 +00:00
|
|
|
|
2021-10-25 04:01:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2022-02-08 13:28:21 +00:00
|
|
|
version = "0.9.4"
|
2021-10-25 04:01:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-08 13:28:21 +00:00
|
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
2019-11-16 17:17:05 +00:00
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "void"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "volatile-register"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9ee8f19f9d74293faf70901bc20ad067dc1ad390d2cbf1e3f75f721ffee908b6"
|
|
|
|
dependencies = [
|
|
|
|
"vcell",
|
|
|
|
]
|
|
|
|
|
2019-11-16 20:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
2021-08-28 12:59:09 +00:00
|
|
|
version = "0.10.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6cbce692ab4ca2f1f3047fcf732430249c0e971bfdd2b234cf2c47ad93af5983"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.5.2",
|
|
|
|
"utf8parse",
|
|
|
|
"vte_generate_state_changes",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "vte_generate_state_changes"
|
|
|
|
version = "0.1.1"
|
2019-11-16 20:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-28 12:59:09 +00:00
|
|
|
checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff"
|
2019-11-16 20:02:26 +00:00
|
|
|
dependencies = [
|
2021-08-28 12:59:09 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-11-16 20:02:26 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
2021-08-30 18:36:07 +00:00
|
|
|
name = "wait-timeout"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-12-10 01:16:35 +00:00
|
|
|
[[package]]
|
2019-05-18 01:24:13 +00:00
|
|
|
name = "walkdir"
|
2021-05-12 01:01:31 +00:00
|
|
|
version = "2.3.2"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-12 01:01:31 +00:00
|
|
|
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"same-file",
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-11-28 02:21:00 +00:00
|
|
|
"winapi-util",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "want"
|
2020-11-22 00:37:16 +00:00
|
|
|
version = "0.3.0"
|
2020-08-12 17:20:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-22 00:37:16 +00:00
|
|
|
checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
|
2020-08-12 17:20:22 +00:00
|
|
|
dependencies = [
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
|
|
|
"try-lock",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
2019-10-13 04:53:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2020-02-01 06:11:42 +00:00
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
2019-10-13 04:53:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-01 06:11:42 +00:00
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
2019-10-13 04:53:58 +00:00
|
|
|
|
2020-10-07 02:26:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2021-03-12 05:20:54 +00:00
|
|
|
version = "0.10.0+wasi-snapshot-preview1"
|
2020-10-07 02:26:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 05:20:54 +00:00
|
|
|
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
|
2020-10-07 02:26:16 +00:00
|
|
|
|
2022-03-27 13:01:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
|
|
2019-06-08 18:09:17 +00:00
|
|
|
[[package]]
|
2019-08-24 19:36:19 +00:00
|
|
|
name = "wasm-bindgen"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.83"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
|
2021-12-09 19:19:36 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2019-11-28 02:21:00 +00:00
|
|
|
"wasm-bindgen-macro",
|
2019-06-08 18:09:17 +00:00
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
2019-08-24 19:36:19 +00:00
|
|
|
name = "wasm-bindgen-backend"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.83"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"bumpalo",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
2022-07-26 02:09:32 +00:00
|
|
|
"once_cell",
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-28 02:21:00 +00:00
|
|
|
"wasm-bindgen-shared",
|
2019-07-04 22:17:18 +00:00
|
|
|
]
|
|
|
|
|
2020-06-24 17:57:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.4.33"
|
2020-06-24 17:57:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
2020-06-24 17:57:27 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2019-07-04 22:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.83"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2019-11-28 02:21:00 +00:00
|
|
|
"wasm-bindgen-macro-support",
|
2019-07-04 22:17:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.83"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
|
2019-07-04 22:17:18 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-28 02:21:00 +00:00
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
2019-07-04 22:17:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.2.83"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
|
2019-08-24 19:36:19 +00:00
|
|
|
|
2023-02-21 23:32:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-timer"
|
|
|
|
version = "0.2.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
|
|
|
|
dependencies = [
|
|
|
|
"futures",
|
|
|
|
"js-sys",
|
|
|
|
"parking_lot 0.11.2",
|
|
|
|
"pin-utils",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
2022-04-04 20:45:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wax"
|
2022-07-11 16:18:06 +00:00
|
|
|
version = "0.5.0"
|
2022-04-04 20:45:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-11 16:18:06 +00:00
|
|
|
checksum = "06c7a3bac6110ac062b7b422a442b7ee23e07209e2784a036654cab1e71bbafc"
|
2022-04-04 20:45:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"bstr",
|
|
|
|
"const_format",
|
|
|
|
"itertools",
|
2023-01-04 22:50:18 +00:00
|
|
|
"nom",
|
2022-04-04 20:45:01 +00:00
|
|
|
"nom-supreme",
|
|
|
|
"pori",
|
|
|
|
"regex",
|
|
|
|
"smallvec",
|
|
|
|
"thiserror",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2019-08-24 19:36:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2022-10-03 16:40:16 +00:00
|
|
|
version = "0.3.60"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-03 16:40:16 +00:00
|
|
|
checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f"
|
2019-08-24 19:36:19 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
2019-08-24 19:36:19 +00:00
|
|
|
]
|
|
|
|
|
2020-04-27 17:49:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "which"
|
2023-02-06 10:43:28 +00:00
|
|
|
version = "4.4.0"
|
2020-04-27 17:49:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-02-06 10:43:28 +00:00
|
|
|
checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269"
|
2020-04-27 17:49:53 +00:00
|
|
|
dependencies = [
|
2021-04-24 14:33:17 +00:00
|
|
|
"either",
|
2020-04-27 17:49:53 +00:00
|
|
|
"libc",
|
2022-08-31 16:50:18 +00:00
|
|
|
"once_cell",
|
2020-04-27 17:49:53 +00:00
|
|
|
]
|
|
|
|
|
2021-04-24 14:33:17 +00:00
|
|
|
[[package]]
|
2019-05-10 16:59:12 +00:00
|
|
|
name = "winapi"
|
2020-06-27 07:54:31 +00:00
|
|
|
version = "0.3.9"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-27 07:54:31 +00:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2019-05-10 16:59:12 +00:00
|
|
|
]
|
|
|
|
|
2019-05-22 07:12:03 +00:00
|
|
|
[[package]]
|
2019-05-10 16:59:12 +00:00
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-28 02:21:00 +00:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-05-16 03:18:24 +00:00
|
|
|
version = "0.1.5"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-16 03:18:24 +00:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"winapi",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
2021-05-12 01:01:31 +00:00
|
|
|
[[package]]
|
2021-12-01 19:48:03 +00:00
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
|
|
|
2023-01-30 02:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows"
|
|
|
|
version = "0.44.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets",
|
2022-10-23 00:59:44 +00:00
|
|
|
]
|
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
|
2022-03-01 12:05:46 +00:00
|
|
|
dependencies = [
|
2022-05-25 17:13:14 +00:00
|
|
|
"windows_aarch64_msvc 0.36.1",
|
|
|
|
"windows_i686_gnu 0.36.1",
|
|
|
|
"windows_i686_msvc 0.36.1",
|
|
|
|
"windows_x86_64_gnu 0.36.1",
|
|
|
|
"windows_x86_64_msvc 0.36.1",
|
2021-12-02 18:05:38 +00:00
|
|
|
]
|
|
|
|
|
2023-01-03 18:47:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.42.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_gnullvm",
|
2023-01-30 02:17:18 +00:00
|
|
|
"windows_aarch64_msvc 0.42.1",
|
|
|
|
"windows_i686_gnu 0.42.1",
|
|
|
|
"windows_i686_msvc 0.42.1",
|
|
|
|
"windows_x86_64_gnu 0.42.1",
|
|
|
|
"windows_x86_64_gnullvm",
|
|
|
|
"windows_x86_64_msvc 0.42.1",
|
|
|
|
]
|
|
|
|
|
2023-02-22 12:56:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.45.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets",
|
|
|
|
]
|
|
|
|
|
2023-01-30 02:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
|
|
|
version = "0.42.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_gnullvm",
|
|
|
|
"windows_aarch64_msvc 0.42.1",
|
|
|
|
"windows_i686_gnu 0.42.1",
|
|
|
|
"windows_i686_msvc 0.42.1",
|
|
|
|
"windows_x86_64_gnu 0.42.1",
|
2023-01-03 18:47:37 +00:00
|
|
|
"windows_x86_64_gnullvm",
|
2023-01-30 02:17:18 +00:00
|
|
|
"windows_x86_64_msvc 0.42.1",
|
2023-01-03 18:47:37 +00:00
|
|
|
]
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
|
2022-03-01 12:05:46 +00:00
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
|
2022-03-01 12:05:46 +00:00
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2023-01-30 02:17:18 +00:00
|
|
|
version = "0.42.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-01-30 02:17:18 +00:00
|
|
|
checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-02-20 02:57:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winreg"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "76a1a57ff50e9b408431e8f97d5456f2807f8eb2a2cd79b06068fc87f8ecf189"
|
|
|
|
dependencies = [
|
Dependency update: update notify version to v5 (#8114)
# Description
Relative: #8060
While investigating, I found we need to update notify, which is a good
step to remove some duplicate dependencies.
As title, here are some goods and bads after updating:
## Good
keep dependency up to date, and remove duplidate dependency(cfg-if,
winapi) in Cargo.lock.
## Bad
Introduce some breaking changes:
After updating to notify v5, I found that we have to remove `Rename`
events.
But I've testing under notify v4, and it doesn't work good if we running
the following command on MacOS:
```
touch a
mv a b
```
It fires file create event, but no file rename event. So `rename` event
is not really reliable, so I think it's ok for us to remove `Rename`
events.
The reason to remove `--debounce-ms` flag:
It's not provided by defualt file watcher, we can use
[PollWatcher](https://docs.rs/notify/latest/notify/poll/struct.PollWatcher.html),
but it scans filesystem, which is really expensive. So I just remove the
flag.
# User-Facing Changes
1. `--debounce-ms` flag is removed
2. no longer watch `Rename` event.
# Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass
# After Submitting
If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-02-22 21:35:09 +00:00
|
|
|
"cfg-if",
|
|
|
|
"winapi",
|
2022-04-28 14:26:34 +00:00
|
|
|
]
|
|
|
|
|
2022-05-25 03:28:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winres"
|
|
|
|
version = "0.1.12"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b68db261ef59e9e52806f688020631e987592bd83619edccda9c47d42cde4f6c"
|
|
|
|
dependencies = [
|
2023-02-06 20:15:14 +00:00
|
|
|
"toml 0.5.9",
|
2022-05-25 03:28:10 +00:00
|
|
|
]
|
|
|
|
|
2021-11-29 19:22:13 +00:00
|
|
|
[[package]]
|
2019-06-11 06:26:03 +00:00
|
|
|
name = "xmlparser"
|
2022-12-01 19:25:13 +00:00
|
|
|
version = "0.13.5"
|
2019-06-11 06:26:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-01 19:25:13 +00:00
|
|
|
checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd"
|
2019-06-11 06:26:03 +00:00
|
|
|
|
2023-01-13 15:27:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xxhash-rust"
|
|
|
|
version = "0.8.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "735a71d46c4d68d71d4b24d03fdc2b98e38cea81730595801db779c04fe80d70"
|
|
|
|
|
2022-10-03 16:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yansi"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
|
|
|
|
|
2021-11-19 19:23:35 +00:00
|
|
|
[[package]]
|
2019-11-17 03:18:41 +00:00
|
|
|
name = "zip"
|
2022-12-01 19:25:13 +00:00
|
|
|
version = "0.6.3"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-12-01 19:25:13 +00:00
|
|
|
checksum = "537ce7411d25e54e8ae21a7ce0b15840e7bfcff15b51d697ec3266cc76bdf080"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2020-09-08 22:35:45 +00:00
|
|
|
"byteorder",
|
2019-11-28 02:21:00 +00:00
|
|
|
"crc32fast",
|
2022-12-01 19:25:13 +00:00
|
|
|
"crossbeam-utils",
|
2019-11-28 02:21:00 +00:00
|
|
|
"flate2",
|
|
|
|
]
|
2021-05-18 19:33:10 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "0.11.2+zstd.1.5.2"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"zstd-safe",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd-safe"
|
2022-05-25 17:13:14 +00:00
|
|
|
version = "5.0.2+zstd.1.5.2"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:13:14 +00:00
|
|
|
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd-sys"
|
2022-05-16 07:27:43 +00:00
|
|
|
version = "2.0.1+zstd.1.5.2"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-16 07:27:43 +00:00
|
|
|
checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
]
|