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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.3"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-01-13 15:27:37 +00:00
|
|
|
"const-random",
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
2022-11-09 22:07:38 +00:00
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.7.20"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.5.1"
|
2022-05-06 12:58:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "81149050d254e2b758c80dcf55949e5c45482e0c9cb3670b1c4b48eb51791f8e"
|
2022-05-06 12:58:32 +00:00
|
|
|
|
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
|
|
|
]
|
|
|
|
|
2023-04-14 20:14:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anstyle"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d"
|
|
|
|
|
2021-03-03 18:18:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.70"
|
2021-03-03 18:18:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4"
|
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-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
2021-11-16 08:53:03 +00:00
|
|
|
"arrow-format",
|
2023-03-11 23:35:56 +00:00
|
|
|
"base64 0.13.1",
|
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-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
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-03-11 23:35:56 +00:00
|
|
|
"rustc_version",
|
2021-11-16 08:53:03 +00:00
|
|
|
"simdutf8",
|
2021-09-15 19:10:12 +00:00
|
|
|
"streaming-iterator",
|
|
|
|
"strength_reduce",
|
2023-04-14 20:14:57 +00:00
|
|
|
"zstd 0.11.2+zstd.1.5.2",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "2.0.11"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "86d6b683edf8d1119fe420a94f8a7e389239666aa72e65495d91c00462510151"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"anstyle",
|
|
|
|
"bstr 1.4.0",
|
2021-08-30 18:36:07 +00:00
|
|
|
"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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"async-stream-impl",
|
|
|
|
"futures-core",
|
2023-03-11 23:35:56 +00:00
|
|
|
"pin-project-lite",
|
2021-09-15 19:10:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-stream-impl"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.5"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193"
|
2021-09-15 19:10:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2021-09-15 19:10:12 +00:00
|
|
|
]
|
|
|
|
|
2020-05-29 08:22:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.1.68"
|
2020-05-29 08:22:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842"
|
2020-05-29 08:22:52 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2020-05-29 08:22:52 +00:00
|
|
|
]
|
|
|
|
|
2022-05-25 17:13:14 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atomic-polyfill"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.11"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "e3ff7eb3f316534d83a8a2c3d1674ace8a5a71198eba31e2e2b597833f699b28"
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"hermit-abi 0.1.19",
|
2019-11-28 02:21:00 +00:00
|
|
|
"libc",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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
|
|
|
|
2020-03-20 07:53:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.13.1"
|
2020-03-20 07:53:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
|
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"
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.10.4"
|
2021-12-10 23:14:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "2.3.4"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "4b6561fd3f895a11e8f72af2cb7d22e08366bebc2b6b57f7744c4bda27034744"
|
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
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.4.0"
|
2023-03-11 23:35:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09"
|
2023-03-11 23:35:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"once_cell",
|
|
|
|
"regex-automata",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "4.0.19"
|
2019-05-15 18:14:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "da78b32057b8fdfc352504708feeba7216dcd65a2c9ab02978cbd288d1279b6c"
|
2020-09-08 22:35:45 +00:00
|
|
|
dependencies = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"serde",
|
2020-09-08 22:35:45 +00:00
|
|
|
"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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.13.1"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytemuck_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bytemuck_derive"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.4.1"
|
2022-02-27 16:10:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "fdde5c9cd29ebd706ce1b35600920a33550e402fc998a2e53ad3b42c3c47a192"
|
2022-02-27 16:10:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2022-02-27 16:10:29 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.79"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
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
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
|
|
|
|
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"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
version = "0.4.24"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"time 0.1.45",
|
2022-08-05 11:53:01 +00:00
|
|
|
"wasm-bindgen",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "0.8.2"
|
2021-11-02 03:08:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "cf9cc2b23599e6d7479755f3594285efb3f74a1bdca7a7374948bc831e23a552"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.6.1"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
|
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-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "codespan-reporting"
|
|
|
|
version = "0.11.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
|
|
|
|
dependencies = [
|
|
|
|
"termcolor",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2023-03-02 19:05:18 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.15.5"
|
2021-10-15 18:37:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60"
|
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",
|
|
|
|
"unicode-width",
|
2023-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.42.0",
|
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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
2023-01-13 15:27:37 +00:00
|
|
|
"once_cell",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"tiny-keccak",
|
|
|
|
]
|
|
|
|
|
2022-04-04 14:59:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "const_format"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.30"
|
2022-04-04 14:59:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "7309d9b4d3d2c0641e018d449232f2e28f1b22933c137f157d3dbc14228b8c0e"
|
2022-04-04 14:59:59 +00:00
|
|
|
dependencies = [
|
|
|
|
"const_format_proc_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "const_format_proc_macros"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.29"
|
2022-04-04 14:59:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "d897f47bf7270cf70d370f8f98c1abb6d2d4cf60a6845d30e05bfb90c6568650"
|
2022-04-04 14:59:59 +00:00
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.8.4"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
|
2020-11-22 00:37:16 +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-06-03 06:23:14 +00:00
|
|
|
name = "cpufeatures"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.6"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "280a9f2d8b3a38871a3c8a46fb80db65e5e5ed97da80c4d08bf27fb63e35e181"
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.1.1"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "6548a0ad5d2549e111e1f6a11a6c2e2d00ce6a3dafe22948d67c2b443f775e52"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
2020-08-27 05:58:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.5.8"
|
2020-08-27 05:58:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.3"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.9.14"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
2022-03-27 13:01:04 +00:00
|
|
|
"autocfg",
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2021-07-09 19:28:07 +00:00
|
|
|
"crossbeam-utils",
|
|
|
|
"memoffset",
|
2020-11-22 00:37:16 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.15"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
|
2021-10-01 06:53:47 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
|
|
|
|
2020-09-30 18:27:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossterm"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.25.0"
|
2021-11-07 22:09:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
|
2022-07-30 09:41:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"crossterm_winapi",
|
|
|
|
"libc",
|
2023-03-11 23:35:56 +00:00
|
|
|
"mio 0.8.6",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2022-07-30 09:41:15 +00:00
|
|
|
"signal-hook",
|
|
|
|
"signal-hook-mio",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2022-07-30 09:41:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossterm"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.26.1"
|
2022-07-30 09:41:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "a84cda67535339806297f1b331d6dd6320470d2a0fe65381e79ee9e156dd3d13"
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"mio 0.8.6",
|
2023-02-21 23:32:28 +00:00
|
|
|
"parking_lot 0.12.1",
|
2023-04-14 20:14:57 +00:00
|
|
|
"serde",
|
2021-08-30 18:36:07 +00:00
|
|
|
"signal-hook",
|
|
|
|
"signal-hook-mio",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "0.29.6"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"cssparser-macros",
|
|
|
|
"dtoa-short",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
2020-11-03 21:46:42 +00:00
|
|
|
"matches",
|
2023-03-06 03:37:22 +00:00
|
|
|
"phf 0.10.1",
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "csv"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.2.1"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "0b015497079b9a9d69c02ad25de6c0a6edef051ea6360a327d0bd05802ef64ad"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"csv-core",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.26"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
2023-04-14 20:14:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dd4056f63fce3b82d852c3da92b08ea59959890813a7f4ce9c0ff85b10cf301b"
|
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"syn 2.0.15",
|
|
|
|
]
|
|
|
|
|
2021-10-28 04:13:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctrlc"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "3.2.5"
|
2021-10-28 04:13:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639"
|
2021-10-28 04:13:10 +00:00
|
|
|
dependencies = [
|
2023-03-12 08:03:02 +00:00
|
|
|
"nix",
|
2023-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.45.0",
|
2019-06-07 00:31:22 +00:00
|
|
|
]
|
|
|
|
|
2021-05-26 23:02:24 +00:00
|
|
|
[[package]]
|
2023-03-11 23:35:56 +00:00
|
|
|
name = "cxx"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.94"
|
2021-05-26 23:02:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93"
|
2023-03-11 23:35:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"cxxbridge-flags",
|
|
|
|
"cxxbridge-macro",
|
|
|
|
"link-cplusplus",
|
|
|
|
]
|
2021-05-26 23:02:24 +00:00
|
|
|
|
2023-01-16 02:06:03 +00:00
|
|
|
[[package]]
|
2023-03-11 23:35:56 +00:00
|
|
|
name = "cxx-build"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.94"
|
2023-01-16 02:06:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b"
|
2023-01-16 02:06:03 +00:00
|
|
|
dependencies = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"cc",
|
|
|
|
"codespan-reporting",
|
2023-01-16 02:06:03 +00:00
|
|
|
"once_cell",
|
2023-03-11 23:35:56 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"scratch",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2023-01-16 02:06:03 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
2023-03-11 23:35:56 +00:00
|
|
|
name = "cxxbridge-flags"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.94"
|
2023-03-11 23:35:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb"
|
2023-03-11 23:35:56 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cxxbridge-macro"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.94"
|
2023-03-02 19:05:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5"
|
2023-03-02 19:05:18 +00:00
|
|
|
dependencies = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2023-03-02 19:05:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-03-11 23:35:56 +00:00
|
|
|
name = "dashmap"
|
|
|
|
version = "5.4.0"
|
2023-03-02 19:05:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"hashbrown 0.12.3",
|
|
|
|
"lock_api",
|
|
|
|
"once_cell",
|
|
|
|
"parking_lot_core 0.9.7",
|
|
|
|
]
|
2023-03-02 19:05:18 +00:00
|
|
|
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"rustc_version",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "0.10.4"
|
2021-10-15 18:37:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "59c6f2989294b9a498d3ad5491a79c6deb604617378e1cdc4bfc1c1361fe2f87"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.10.6"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
version = "1.4.0"
|
2020-08-05 21:34:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
checksum = "dbd3b6a23c50eb90a80bdb748042620328617e76276b99dc5c97906e47f807c3"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.11"
|
2022-08-12 12:10:36 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.8.1"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.32"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394"
|
2020-06-16 21:17:32 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "enum_dispatch"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.11"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "11f36e95862220b211a6e2aa5eca09b4fa391b13cd52ceb8035a24bf65a79de2"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2022-11-09 22:07:38 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.25"
|
2020-06-16 21:17:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "4f2b0c2380453a92ea8b6c8e5f64ecaafccddde8ceab55ff7a8ac1029f894569"
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2020-06-16 21:17:32 +00:00
|
|
|
]
|
|
|
|
|
2023-02-22 12:56:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "errno"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.1"
|
2023-02-22 12:56:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
|
2023-02-22 12:56:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"errno-dragonfly",
|
|
|
|
"libc",
|
2023-04-14 20:14:57 +00:00
|
|
|
"windows-sys 0.48.0",
|
2023-02-22 12:56:31 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.3.2"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "0198b9d0078e0f30dedc7acbb21c974e838fc8fae3ee170128658a98cb2c1c04"
|
2022-11-09 22:07:38 +00:00
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.9.0"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "3.0.12"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "39ae6b3d9530211fb3b12a95374b8b0823be812f53d09e18c5675c0146b09642"
|
2019-11-17 03:18:41 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-04-14 20:14:57 +00:00
|
|
|
"rustix 0.37.11",
|
|
|
|
"windows-sys 0.48.0",
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2020-02-10 20:32:18 +00:00
|
|
|
]
|
|
|
|
|
2022-04-07 11:44:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.21"
|
2022-04-07 11:44:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153"
|
2022-04-07 11:44:05 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-04-07 11:44:05 +00:00
|
|
|
"libc",
|
2023-04-06 20:39:31 +00:00
|
|
|
"redox_syscall 0.2.16",
|
2023-04-14 20:14:57 +00:00
|
|
|
"windows-sys 0.48.0",
|
2022-04-07 11:44:05 +00:00
|
|
|
]
|
|
|
|
|
2019-05-18 01:24:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.25"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
|
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
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fsevent"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5ab7d1bd1bd33cc98b0889831b72da23c0aa4df9cec7e0702f46ecea04b35db6"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"fsevent-sys",
|
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fsevent-sys"
|
2023-03-09 05:45:58 +00:00
|
|
|
version = "2.0.1"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-09 05:45:58 +00:00
|
|
|
checksum = "f41b048a94555da0f42f1d632e2e19510084fb8e303b0daa2816e733fb3644a0"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"fuchsia-zircon-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fuchsia-zircon-sys"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
|
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2019-12-14 13:27:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
|
2020-08-03 22:47:19 +00:00
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2019-11-04 15:47:03 +00:00
|
|
|
]
|
|
|
|
|
2020-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
|
2020-01-01 06:45:27 +00:00
|
|
|
|
2019-11-04 15:47:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.28"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.14.7"
|
2021-11-15 20:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.9"
|
2021-01-19 20:24:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.1.9"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "e77ac7b51b8e6313251737fcef4b1c01a2ea102bde68415b62c0ee9268fec357"
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
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-04-05 19:20:58 +00:00
|
|
|
version = "0.17.0"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-05 19:20:58 +00:00
|
|
|
checksum = "89511277159354bea13ae1e53e0c9ab85ba1b20d7e91618fa30e6bc5566857fb"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.1"
|
2019-07-27 07:45:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
2019-07-27 07:45:00 +00:00
|
|
|
|
2021-07-09 19:28:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "h2"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.17"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "66b91535aa35fea1523ad1b86cb6b53c28e0ae566ba4a460f4457e936cad7c6f"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.18"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "9e2a3c70a9c00cc1ee87b54e89f9505f73bb17d63f1b25c9a462ba8ef885444f"
|
2022-11-09 22:07:38 +00:00
|
|
|
dependencies = [
|
|
|
|
"fxhash",
|
2023-03-11 23:35:56 +00:00
|
|
|
"hashbrown 0.13.2",
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"rustc_version",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.1"
|
2021-12-01 19:48:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
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
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.2.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2023-03-24 09:55:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
|
|
|
|
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.9"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.14.26"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4"
|
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",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.1.56"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2022-08-13 18:21:28 +00:00
|
|
|
"android_system_properties",
|
|
|
|
"core-foundation-sys",
|
2023-03-11 23:35:56 +00:00
|
|
|
"iana-time-zone-haiku",
|
2022-07-26 02:09:32 +00:00
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
2023-04-14 20:14:57 +00:00
|
|
|
"windows 0.48.0",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iana-time-zone-haiku"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
|
|
|
|
dependencies = [
|
|
|
|
"cxx",
|
|
|
|
"cxx-build",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.9.3"
|
2019-05-15 18:14:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.17.3"
|
2023-01-11 01:57:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "cef509aa9bc73864d6756f0d34d35504af3cf0844373afe9b8669a5b8005a729"
|
2023-01-11 01:57:48 +00:00
|
|
|
dependencies = [
|
|
|
|
"console",
|
|
|
|
"number_prefix",
|
|
|
|
"portable-atomic",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "inotify"
|
2023-03-09 05:45:58 +00:00
|
|
|
version = "0.7.1"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-09 05:45:58 +00:00
|
|
|
checksum = "4816c66d2c8ae673df83366c18341538f234a26d65a9ecea5c348b453ac1d02f"
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "0.3.5"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "7741301a6d6a9b28ce77c0fb77a4eb116b6bc8f3bef09923f7743d059c4157d3"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"ctor 0.2.0",
|
2021-11-23 08:14:40 +00:00
|
|
|
"ghost",
|
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "io-lifetimes"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.10"
|
2023-02-27 07:53:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
|
2023-02-27 07:53:01 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"hermit-abi 0.3.1",
|
2023-02-27 07:53:01 +00:00
|
|
|
"libc",
|
2023-04-14 20:14:57 +00:00
|
|
|
"windows-sys 0.48.0",
|
2023-02-27 07:53:01 +00:00
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "iovec"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2022-06-06 11:55:23 +00:00
|
|
|
]
|
|
|
|
|
2023-03-24 09:55:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "is-terminal"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.4.7"
|
2023-03-24 09:55:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
|
2023-03-24 09:55:25 +00:00
|
|
|
dependencies = [
|
|
|
|
"hermit-abi 0.3.1",
|
|
|
|
"io-lifetimes",
|
2023-04-14 20:14:57 +00:00
|
|
|
"rustix 0.37.11",
|
|
|
|
"windows-sys 0.48.0",
|
2023-03-24 09:55:25 +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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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",
|
|
|
|
]
|
|
|
|
|
2022-02-08 13:28:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.6"
|
2022-02-08 13:28:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
|
2022-02-08 13:28:21 +00:00
|
|
|
|
2019-09-13 03:44:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.26"
|
2019-09-13 03:44:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.61"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "445dde2150c55e483f3d8416706b97ec8e8237c307e5b7b4b8dd15e6af2a0730"
|
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]]
|
2023-03-09 05:45:58 +00:00
|
|
|
name = "kernel32-sys"
|
|
|
|
version = "0.2.2"
|
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
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-09 05:45:58 +00:00
|
|
|
checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
|
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
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "0.2.141"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libgit2-sys"
|
2023-04-05 19:20:58 +00:00
|
|
|
version = "0.15.0+1.6.3"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-05 19:20:58 +00:00
|
|
|
checksum = "032e537ae4dd4e50c877f258dc55fcd0657b5021f454094a425bb6bcc9edea4c"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.7.4"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"winapi 0.3.9",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2021-05-27 05:09:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.6"
|
2021-05-27 05:09:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.25.2"
|
2022-04-14 03:15:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "29f835d03d717946d28b1d1ed632eb6f0e24a299388ee623d0c23118d3e8a7fa"
|
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"
|
2023-04-05 19:20:58 +00:00
|
|
|
version = "0.3.0"
|
2021-12-06 17:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-05 19:20:58 +00:00
|
|
|
checksum = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee"
|
2021-12-06 17:28:11 +00:00
|
|
|
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
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "link-cplusplus"
|
|
|
|
version = "1.0.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
|
2023-04-06 20:39:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linux-raw-sys"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d59d8c75012853d2e872fb56bc8a2e53718e2cafe1a4c823143141c6d90c322f"
|
|
|
|
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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-03-15 18:47:40 +00:00
|
|
|
version = "0.10.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-03-15 18:47:40 +00:00
|
|
|
checksum = "03f1160296536f10c833a82dca22267d5486734230d47bf00bf435885814ba1e"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.14.0"
|
2022-08-10 19:56:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "18a9df1d1fb6d9e92fa043e9eb9a3ecf6892c7b542bae5137cd1e419e40aa8bf"
|
2021-10-08 14:40:20 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"nu-ansi-term",
|
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"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "0.1.10"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.5.10"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.0"
|
2020-11-30 17:47:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
|
2020-11-30 17:47:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2021-09-20 21:37:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miette"
|
2023-04-06 20:39:54 +00:00
|
|
|
version = "5.7.0"
|
2021-09-22 23:49:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "7abdc09c381c9336b9f2e9bd6067a9a5290d20e2d2e2296f275456121c33ae89"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
2023-03-24 09:55:25 +00:00
|
|
|
"is-terminal",
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"textwrap 0.15.2",
|
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-04-06 20:39:54 +00:00
|
|
|
version = "5.7.0"
|
2021-09-22 23:49:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "8842972f23939443013dfd3720f46772b743e86f1a81d120d4b6fb090f87de1c"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
|
|
|
|
2022-01-04 02:01:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mime"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.17"
|
2022-01-04 02:01:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.6.2"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
|
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
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
|
|
|
version = "0.6.23"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"fuchsia-zircon",
|
|
|
|
"fuchsia-zircon-sys",
|
|
|
|
"iovec",
|
|
|
|
"kernel32-sys",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow",
|
|
|
|
"net2",
|
|
|
|
"slab",
|
|
|
|
"winapi 0.2.8",
|
|
|
|
]
|
|
|
|
|
2022-03-10 20:58:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.6"
|
2022-03-10 20:58:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9"
|
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-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.45.0",
|
2022-04-28 14:26:34 +00:00
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio-extras"
|
|
|
|
version = "2.0.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
|
|
|
|
dependencies = [
|
|
|
|
"lazycell",
|
|
|
|
"log",
|
|
|
|
"mio 0.6.23",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d"
|
|
|
|
dependencies = [
|
|
|
|
"kernel32-sys",
|
|
|
|
"net2",
|
|
|
|
"winapi 0.2.8",
|
|
|
|
"ws2_32-sys",
|
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mockito"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.2"
|
2023-03-02 19:05:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "ea57936ab3bf56156f135f20ee24b840e5a8ad97a8e1710eace33ac078f8f537"
|
2023-03-02 19:05:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"assert-json-diff",
|
|
|
|
"colored",
|
|
|
|
"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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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",
|
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "net2"
|
|
|
|
version = "0.2.38"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "74d0df99cfcd2530b2e694f6e17e7f37b8e26bb23983ac530c0c97408837c631"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"libc",
|
|
|
|
"winapi 0.3.9",
|
|
|
|
]
|
|
|
|
|
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"
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
|
|
|
version = "0.26.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "7.1.3"
|
2022-04-04 20:45:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
|
2022-04-04 20:45:01 +00:00
|
|
|
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
|
|
|
]
|
|
|
|
|
2022-04-28 14:26:34 +00:00
|
|
|
[[package]]
|
|
|
|
name = "notify"
|
2023-03-09 05:45:58 +00:00
|
|
|
version = "4.0.17"
|
2022-04-28 14:26:34 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-09 05:45:58 +00:00
|
|
|
checksum = "ae03c8c853dba7bfd23e571ff0cff7bc9dceb40a4cd684cd1681824183f45257"
|
2022-04-28 14:26:34 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"filetime",
|
2023-03-09 05:45:58 +00:00
|
|
|
"fsevent",
|
2022-04-28 14:26:34 +00:00
|
|
|
"fsevent-sys",
|
|
|
|
"inotify",
|
|
|
|
"libc",
|
2023-03-09 05:45:58 +00:00
|
|
|
"mio 0.6.23",
|
|
|
|
"mio-extras",
|
2022-04-28 14:26:34 +00:00
|
|
|
"walkdir",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2022-10-03 16:40:16 +00:00
|
|
|
]
|
|
|
|
|
2019-05-16 23:39:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"crossterm 0.26.1",
|
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",
|
2023-03-12 08:03:02 +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",
|
2023-04-07 20:12:27 +00:00
|
|
|
"nu-std",
|
2022-02-02 20:59:01 +00:00
|
|
|
"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",
|
2023-04-13 18:58:37 +00:00
|
|
|
"rstest",
|
2023-04-05 19:34:47 +00:00
|
|
|
"serde_json",
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"time 0.3.20",
|
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"
|
2023-03-13 22:38:18 +00:00
|
|
|
version = "0.47.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1df031e117bca634c262e9bd3173776844b6c17a90b3741c9163663b4385af76"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2023-03-06 21:51:53 +00:00
|
|
|
"windows-sys 0.45.0",
|
2021-02-22 18:33:34 +00:00
|
|
|
]
|
|
|
|
|
2020-03-04 18:58:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-cli"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"crossterm 0.26.1",
|
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",
|
2023-04-13 18:58:37 +00:00
|
|
|
"rstest",
|
2023-04-14 20:14:57 +00:00
|
|
|
"sysinfo 0.28.4",
|
2021-09-20 21:37:26 +00:00
|
|
|
"thiserror",
|
2023-04-09 22:56:47 +00:00
|
|
|
"unicode-segmentation",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
2023-02-24 15:54:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-cmd-lang"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.1"
|
2023-02-24 15:54:42 +00:00
|
|
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"crossterm 0.26.1",
|
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",
|
2023-03-20 04:05:22 +00:00
|
|
|
"miette",
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"quick-xml 0.28.2",
|
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-12-02 16:30:26 +00:00
|
|
|
"regex",
|
2021-01-12 04:59:53 +00:00
|
|
|
"roxmltree",
|
2023-04-13 18:58:37 +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-04-14 20:14:57 +00:00
|
|
|
"sysinfo 0.28.4",
|
2023-02-11 18:59:11 +00:00
|
|
|
"tabled",
|
2023-04-14 20:14:57 +00:00
|
|
|
"terminal_size 0.2.6",
|
2021-10-01 05:11:49 +00:00
|
|
|
"thiserror",
|
2021-11-02 03:08:05 +00:00
|
|
|
"titlecase",
|
2023-04-14 20:14:57 +00:00
|
|
|
"toml 0.7.3",
|
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-04-05 21:54:26 +00:00
|
|
|
"windows 0.48.0",
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-14 20:14:57 +00:00
|
|
|
"sysinfo 0.28.4",
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"crossterm 0.26.1",
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"terminal_size 0.2.6",
|
[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
|
|
|
"tui",
|
|
|
|
]
|
|
|
|
|
2022-03-13 18:30:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-glob"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-04-13 18:58:37 +00:00
|
|
|
"rstest",
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
`$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
|
|
|
|
2023-04-07 20:12:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-std"
|
|
|
|
version = "0.78.1"
|
|
|
|
dependencies = [
|
|
|
|
"miette",
|
|
|
|
"nu-parser",
|
|
|
|
"nu-protocol",
|
|
|
|
]
|
|
|
|
|
2022-01-14 06:20:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-system"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-14 20:14:57 +00:00
|
|
|
"errno 0.3.1",
|
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",
|
2023-03-12 08:03:02 +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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2022-01-14 06:20:53 +00:00
|
|
|
]
|
|
|
|
|
2021-09-10 02:27:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nu-table"
|
2023-04-05 01:36:10 +00:00
|
|
|
version = "0.78.1"
|
2021-09-10 02:27:12 +00:00
|
|
|
dependencies = [
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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-03-11 23:35:56 +00:00
|
|
|
"semver",
|
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-04-05 01:36:10 +00:00
|
|
|
version = "0.78.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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"num-complex 0.4.3",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.3"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.4"
|
2020-07-12 03:57:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3"
|
2020-07-12 03:57:39 +00:00
|
|
|
dependencies = [
|
2022-10-10 11:25:57 +00:00
|
|
|
"arrayvec 0.7.2",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.15.0"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
|
2019-05-10 16:59:12 +00:00
|
|
|
dependencies = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"hermit-abi 0.2.6",
|
2019-11-28 02:21:00 +00:00
|
|
|
"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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.1.5"
|
2022-10-22 16:51:52 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "68432e1692e9b974a51efd452485db50f92827fe0931d16721ad867633a571b6"
|
2022-10-22 16:51:52 +00:00
|
|
|
|
2019-10-08 13:47:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.17.1"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "4.0.1"
|
2023-01-03 18:47:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "075c5203b3a2b698bc72c6c10b1f6263182135751d5013ea66e8a4b3d0562a43"
|
2023-01-03 18:47:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"pathdiff",
|
|
|
|
]
|
|
|
|
|
2020-01-17 20:35:48 +00:00
|
|
|
[[package]]
|
2020-03-20 07:53:49 +00:00
|
|
|
name = "openssl"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.10.50"
|
2020-03-20 07:53:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "7e30d8bc91859781f0a943411186324d580f2bbeb71b452fe91ae344806af3f1"
|
2020-03-20 07:53:49 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.1.1"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
|
2022-05-25 17:13:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2022-05-25 17:13:14 +00:00
|
|
|
]
|
|
|
|
|
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-04-14 20:14:57 +00:00
|
|
|
version = "111.25.2+1.1.1t"
|
2022-04-28 00:25:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "320708a054ad9b3bf314688b5db87cf4d6683d64cfc835e2337924ae62bf4431"
|
2022-04-28 00:25:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2019-06-01 21:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.9.85"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "0d3d193fb1488ad46ffe3aaabc912cc931d02ee8518fe2959aea8ef52718b0c0"
|
2019-06-01 21:11:28 +00:00
|
|
|
dependencies = [
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "6.5.0"
|
2023-01-05 19:39:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267"
|
2023-01-05 19:39:54 +00:00
|
|
|
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2021-08-30 18:36:07 +00:00
|
|
|
]
|
|
|
|
|
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-03-11 23:35:56 +00:00
|
|
|
"parking_lot_core 0.9.7",
|
2023-02-21 23:32:28 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
|
|
|
version = "0.8.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
|
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-02-21 23:32:28 +00:00
|
|
|
"instant",
|
|
|
|
"libc",
|
2023-04-06 20:39:31 +00:00
|
|
|
"redox_syscall 0.2.16",
|
2023-02-21 23:32:28 +00:00
|
|
|
"smallvec",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2019-05-29 15:26:45 +00:00
|
|
|
]
|
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.9.7"
|
2022-03-01 12:05:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
|
2022-03-01 12:05:46 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-03-01 12:05:46 +00:00
|
|
|
"libc",
|
2023-04-06 20:39:31 +00:00
|
|
|
"redox_syscall 0.2.16",
|
2022-03-01 12:05:46 +00:00
|
|
|
"smallvec",
|
2023-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.45.0",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "0.17.2"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "579fe5745f02cef3d5f236bfed216fd4693e49e4e920a13475c6132233283bce"
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"zstd 0.12.3+zstd.1.5.2",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.12"
|
2022-08-21 11:13:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79"
|
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 = [
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.8.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[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 = [
|
2023-03-06 03:37:22 +00:00
|
|
|
"phf_macros",
|
2022-02-01 18:45:48 +00:00
|
|
|
"phf_shared 0.10.0",
|
2023-03-06 03:37:22 +00:00
|
|
|
"proc-macro-hack",
|
2022-02-01 18:45:48 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "0.10.0"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
2023-03-06 03:37:22 +00:00
|
|
|
"phf_generator 0.10.0",
|
|
|
|
"phf_shared 0.10.0",
|
2020-11-03 21:46:42 +00:00
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.26"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
|
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-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"ahash 0.8.3",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.17"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "3.0.3"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "09963355b9f467184c04017ced4a2ba2d75cbcb4e7462690d388233253d4b1a9"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"anstyle",
|
2021-08-30 18:36:07 +00:00
|
|
|
"difflib",
|
|
|
|
"itertools",
|
|
|
|
"predicates-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-core"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.6"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
|
2021-08-30 18:36:07 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "predicates-tree"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.9"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
|
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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"ctor 0.1.26",
|
2021-08-30 18:36:07 +00:00
|
|
|
"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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.5.20+deprecated"
|
2019-11-04 15:47:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
|
2019-11-04 15:47:03 +00:00
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2023-04-06 20:39:54 +00:00
|
|
|
version = "1.0.56"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435"
|
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-04-14 20:14:57 +00:00
|
|
|
"rustix 0.36.12",
|
2019-06-07 07:50:26 +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
|
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.28.2"
|
2023-01-16 02:06:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "0ce5e73202a820a31f8a0ee32ada5e21029c81fd9e3ebf668a40832e4219d9d1"
|
2023-01-16 02:06:31 +00:00
|
|
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2020-04-11 19:05:59 +00:00
|
|
|
]
|
|
|
|
|
2019-08-24 19:36:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2023-04-06 20:39:54 +00:00
|
|
|
version = "1.0.26"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
|
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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
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",
|
|
|
|
]
|
|
|
|
|
2019-10-08 13:47:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2023-03-06 03:32:16 +00:00
|
|
|
version = "1.7.0"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:32:16 +00:00
|
|
|
checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
|
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-03-06 03:32:16 +00:00
|
|
|
version = "1.11.0"
|
2019-10-08 13:47:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:32:16 +00:00
|
|
|
checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
|
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",
|
|
|
|
]
|
|
|
|
|
2023-04-06 20:39:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
|
|
|
|
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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
2023-04-06 20:39:31 +00:00
|
|
|
"redox_syscall 0.2.16",
|
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-04-03 22:23:08 +00:00
|
|
|
version = "0.18.0"
|
2023-04-14 20:14:57 +00:00
|
|
|
source = "git+https://github.com/nushell/reedline.git?branch=main#27f44171910e5fdf9f2f2e33aab2fe0981431861"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"chrono",
|
2023-04-14 20:14:57 +00:00
|
|
|
"crossterm 0.26.1",
|
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-04-14 20:14:57 +00:00
|
|
|
version = "1.7.3"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "8b1f693b24f6ac912f4893ef08244d70b6067480d2f1a46e950c9691e6749d1d"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.6.29"
|
2023-03-02 19:05:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
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-03-20 17:27:29 +00:00
|
|
|
version = "0.17.0"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-20 17:27:29 +00:00
|
|
|
checksum = "de1bb486a691878cd320c2f0d319ba91eeaa2e894066d8b5f8f117c000e9d962"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
2023-04-13 18:58:37 +00:00
|
|
|
"rstest_macros",
|
2023-03-11 23:35:56 +00:00
|
|
|
"rustc_version",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rstest_macros"
|
2023-03-20 17:27:29 +00:00
|
|
|
version = "0.17.0"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-20 17:27:29 +00:00
|
|
|
checksum = "290ca1a1c8ca7edb7c3283bd44dc35dd54fdec6253a3912e201ba1072018fca8"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-07-11 16:18:06 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-03-11 23:35:56 +00:00
|
|
|
"rustc_version",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "6.6.1"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "1b68543d5527e158213414a92832d2aab11a84d2571a5eb021ebe22c43aab066"
|
2020-08-10 17:43:16 +00:00
|
|
|
dependencies = [
|
|
|
|
"rust-embed-impl",
|
|
|
|
"rust-embed-utils",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rust-embed-impl"
|
2023-03-06 03:36:14 +00:00
|
|
|
version = "6.5.0"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:36:14 +00:00
|
|
|
checksum = "4d4e0f0ced47ded9a68374ac145edd65a6c1fa13a96447b873660b2a568a0fd7"
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2020-08-10 17:43:16 +00:00
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rust-embed-utils"
|
2023-03-06 03:36:14 +00:00
|
|
|
version = "7.5.0"
|
2021-12-10 01:16:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:36:14 +00:00
|
|
|
checksum = "512b0ab6853f7e14e3c8754acb43d6f748bb9ced66aa5915a6553ac8213f7731"
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-02-09 11:47:45 +00:00
|
|
|
"ordered-multimap",
|
|
|
|
]
|
|
|
|
|
2020-08-05 21:34:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust_decimal"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
version = "1.29.1"
|
2020-08-05 21:34:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
Pick up fix in dtparse for nanosec truncation noted at bottom of #8337 (#8805)
# Description
Pick up [enhancement in
`dtparse`](https://github.com/bspeice/dtparse/pull/41), to preserve
nanoseconds in string-to-date conversions.
# User-Facing Changes
An especially eagle-eyed user might notice that prior versions of
nushell were losing nanosecond precision when converting string format
date/time to datetime.
Before:
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654000 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
Now, it just works(tm)
```nushell
〉'2023-03-02T01:02:03.987654321' | into datetime | date to-record
╭────────────┬───────────╮
│ year │ 2023 │
│ month │ 3 │
│ day │ 2 │
│ hour │ 1 │
│ minute │ 2 │
│ second │ 3 │
│ nanosecond │ 987654321 │
│ timezone │ -04:00 │
╰────────────┴───────────╯
```
# Tests + Formatting
Don't forget to add tests that cover your changes.
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
Some (unrelated) tests did fail [^err]
- [x] `cargo run -- crates/nu-std/tests.nu` to run the tests for the
standard library
> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
# 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.
# (Unrelated) test failures noted
[^err]: Several tests are failing, unrelated to this PR
```
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
failures:
---- modules::module_import_env_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; use main.nu foo; foo
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- modules::module_import_env_2 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env main.nu; $env.FOO
· ───┬───
· ╰── file not found
╰────
thread 'modules::module_import_env_2' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"foo"`', tests/modules/mod.rs:341:9
---- overlays::overlay_use_do_cd_file_relative stdout ----
=== stderr
thread 'overlays::overlay_use_do_cd_file_relative' panicked at 'assertion failed: `(left == right)`
left: `"nushell"`,
right: `"test1"`', tests/overlays/mod.rs:919:9
---- overlays::overlay_use_dont_cd_overlay stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env test1/test2/spam.nu; $env.PWD | path basename
· ─────────┬─────────
· ╰── file not found
╰────
thread 'overlays::overlay_use_dont_cd_overlay' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"overlay_use_dont_cd_overlay"`', tests/overlays/mod.rs:946:9
---- parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1 stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol.nu; $env.FOO
· ─────┬────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"good"`', tests/parsing/mod.rs:177:9
---- parsing::parse_file_relative_to_parsed_file_simple stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[source:1:1]
1 │ source-env lol/lol/lol.nu; $env.LOL
· ───────┬──────
· ╰── file not found
╰────
thread 'parsing::parse_file_relative_to_parsed_file_simple' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"lol"`', tests/parsing/mod.rs:99:9
---- shell::const_nu_lib_dirs_relative stdout ----
=== stderr
Error: nu::shell::file_not_found
× File not found
╭─[main.nu:1:1]
1 │ const NU_LIB_DIRS = [ 'scripts' ]
2 │ source-env foo.nu
· ───┬──
thread 'shell::const_nu_lib_dirs_relative' panicked at 'assertion failed: outcome.err.is_empty()', tests/shell/mod.rs:166:9
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"AndrásWithKitKat"`', tests/shell/pipeline/commands/external.rs:198:13
---- shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings stdout ----
=== stderr
thread 'shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings' panicked at 'assertion failed: `(left == right)`
left: `""`,
right: `"jt_likes_cake.txt"`', tests/shell/pipeline/commands/external.rs:173:13
failures:
modules::module_import_env_1
modules::module_import_env_2
overlays::overlay_use_do_cd_file_relative
overlays::overlay_use_dont_cd_overlay
parsing::parse_file_relative_to_parsed_file_dont_use_cwd_1
parsing::parse_file_relative_to_parsed_file_simple
shell::const_nu_lib_dirs_relative
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_lines
shell::pipeline::commands::external::it_evaluation::takes_rows_of_nu_value_strings
test result: FAILED. 386 passed; 9 failed; 20 ignored; 0 measured; 0 filtered out; finished in 98.06s
error: test failed, to rerun pass `-p nu --test main`
```
2023-04-14 12:24:46 +00:00
|
|
|
checksum = "26bd36b60561ee1fb5ec2817f198b6fd09fa571c897a5e86d1487cfc2b096dfc"
|
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"
|
|
|
|
|
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-03-11 23:35:56 +00:00
|
|
|
"semver",
|
2022-02-06 00:16:21 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.36.12"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "e0af200a3324fa5bcd922e84e9b55a298ea9f431a489f01961acdebc6e908f25"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2023-04-14 20:14:57 +00:00
|
|
|
"errno 0.3.1",
|
2023-03-11 23:35:56 +00:00
|
|
|
"io-lifetimes",
|
2022-07-11 16:18:06 +00:00
|
|
|
"libc",
|
2023-04-06 20:39:31 +00:00
|
|
|
"linux-raw-sys 0.1.4",
|
|
|
|
"windows-sys 0.45.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustix"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.37.11"
|
2023-04-06 20:39:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "85597d61f83914ddeba6a47b3b8ffe7365107221c2e557ed94426489fefb5f77"
|
2023-04-06 20:39:31 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2023-04-14 20:14:57 +00:00
|
|
|
"errno 0.3.1",
|
2023-04-06 20:39:31 +00:00
|
|
|
"io-lifetimes",
|
|
|
|
"libc",
|
|
|
|
"linux-raw-sys 0.3.1",
|
2023-04-14 20:14:57 +00:00
|
|
|
"windows-sys 0.48.0",
|
2023-02-27 07:53:01 +00:00
|
|
|
]
|
|
|
|
|
2022-02-03 01:24:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.12"
|
2022-02-03 01:24:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06"
|
2022-02-03 01:24:24 +00:00
|
|
|
|
2021-10-01 05:11:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.13"
|
2021-10-01 05:11:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
|
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-03-06 03:37:22 +00:00
|
|
|
version = "0.15.0"
|
2021-09-16 14:02:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "4c557a9a03db98b0b298b497f0e16cd35a04a1fa9ee1130a6889c0714e0b73df"
|
2021-09-16 14:02:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"cssparser",
|
|
|
|
"ego-tree",
|
|
|
|
"html5ever",
|
|
|
|
"matches",
|
|
|
|
"selectors",
|
|
|
|
"smallvec",
|
|
|
|
"tendril",
|
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scratch"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1792db035ce95be60c3f8853017b3999209281c24e2ba5bc8e59bf97a0c590c1"
|
|
|
|
|
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"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "0.24.0"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416"
|
2020-11-03 21:46:42 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cssparser",
|
|
|
|
"derive_more",
|
|
|
|
"fxhash",
|
2021-07-09 19:28:07 +00:00
|
|
|
"log",
|
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
|
|
|
]
|
|
|
|
|
2021-01-07 00:38:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.17"
|
2021-01-07 00:38:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
2022-11-09 22:07:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "seq-macro"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.3"
|
2022-11-09 22:07:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "e6b44e8fc93a14e66336d230954dda83d18b4605ccace8fe09bc7514a71ad0bc"
|
2022-11-09 22:07:38 +00:00
|
|
|
|
2019-06-03 07:41:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.160"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "bb2f3770c8bce3bcda7e149193a069a0f4365bda1fa5cd88e03bca26afc1216c"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.160"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "291a097c63d8497e00160b166a967a4a79c64f3facdd01cbd7502231688d77df"
|
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",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2019-05-18 01:24:13 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.0.96"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.9.21"
|
2019-06-03 07:41:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c"
|
2019-06-03 07:41:28 +00:00
|
|
|
dependencies = [
|
2021-08-28 03:34:11 +00:00
|
|
|
"indexmap",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2021-02-19 01:24:27 +00:00
|
|
|
]
|
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "servo_arc"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "0.2.0"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741"
|
2020-11-03 21:46:42 +00:00
|
|
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"time 0.3.20",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.15"
|
2021-08-30 18:36:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "732768f1176d21d09e076c23a93123d40bba92d50c4058da34d45c8de8e682b9"
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"mio 0.8.6",
|
2021-08-30 18:36:07 +00:00
|
|
|
"signal-hook",
|
2020-01-27 02:51:46 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.4.1"
|
2020-01-27 02:51:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.12.1"
|
2022-08-09 16:44:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "acee08041c5de3d5048c8b3f6f13fafb3026b24ba43c6a695a0c76179b844369"
|
2022-08-09 16:44:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"termcolor",
|
2023-03-11 23:35:56 +00:00
|
|
|
"time 0.3.20",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.8"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2021-07-30 21:04:01 +00:00
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2023-03-06 03:37:22 +00:00
|
|
|
version = "1.10.0"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-06 03:37:22 +00:00
|
|
|
checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.1.0"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831"
|
2021-05-18 19:33:10 +00:00
|
|
|
|
2021-07-30 21:04:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.9"
|
2021-05-12 01:01:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2021-05-12 01:01:31 +00:00
|
|
|
]
|
|
|
|
|
2021-11-15 22:29:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "spin"
|
2023-04-05 18:58:32 +00:00
|
|
|
version = "0.9.8"
|
2021-11-15 22:29:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-05 18:58:32 +00:00
|
|
|
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
|
2021-11-15 22:29:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
|
|
|
]
|
|
|
|
|
2022-04-24 09:29:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sqlparser"
|
2023-03-15 17:33:09 +00:00
|
|
|
version = "0.32.0"
|
2022-04-24 09:29:21 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-15 17:33:09 +00:00
|
|
|
checksum = "0366f270dbabb5cc2e4c88427dc4c08bba144f81e32fbd459a013f26a4d16aa0"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.9"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520"
|
2021-09-15 19:10:12 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strength_reduce"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.4"
|
2021-09-15 19:10:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "fe895eb47f22e2ddd4dabc02bce419d2e643c8e3b585c78158b349195bc24d82"
|
2021-09-15 19:10:12 +00:00
|
|
|
|
2020-11-03 21:46:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.8.7"
|
2020-11-03 21:46:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b"
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2021-12-01 19:48:03 +00:00
|
|
|
]
|
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"
|
2023-03-24 09:55:25 +00:00
|
|
|
version = "2.0.0"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-24 09:55:25 +00:00
|
|
|
checksum = "4950e7174bffabe99455511c39707310e7e9b440364a2fcb1cc21521be57b354"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
2023-03-24 09:55:25 +00:00
|
|
|
"is-terminal",
|
2021-09-22 23:49:39 +00:00
|
|
|
"is_ci",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-hyperlinks"
|
2023-03-24 09:55:25 +00:00
|
|
|
version = "2.0.0"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-24 09:55:25 +00:00
|
|
|
checksum = "4b4806e0b03b9906e76b018a5d821ebf198c8e9dc0829ed3328eeeb5094aed60"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
2023-03-24 09:55:25 +00:00
|
|
|
"is-terminal",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-unicode"
|
2023-03-24 09:55:25 +00:00
|
|
|
version = "2.0.0"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-24 09:55:25 +00:00
|
|
|
checksum = "4b6c2cb240ab5dd21ed4906895ee23fe5a48acdbd15a3ce388e7b62a9b66baf7"
|
2021-09-20 21:37:26 +00:00
|
|
|
dependencies = [
|
2023-03-24 09:55:25 +00:00
|
|
|
"is-terminal",
|
2021-09-20 21:37:26 +00:00
|
|
|
]
|
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",
|
2023-03-31 15:15:16 +00:00
|
|
|
"quick-error",
|
2020-10-12 13:03:00 +00:00
|
|
|
"sxd-document",
|
|
|
|
]
|
|
|
|
|
2021-01-11 17:53:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.109"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
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
|
|
|
]
|
|
|
|
|
2023-04-06 20:39:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "2.0.15"
|
2023-04-06 20:39:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822"
|
2023-04-06 20:39:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-ident",
|
|
|
|
]
|
|
|
|
|
2020-03-20 19:35:09 +00:00
|
|
|
[[package]]
|
2021-05-26 23:02:24 +00:00
|
|
|
name = "sys-locale"
|
2023-04-13 18:57:25 +00:00
|
|
|
version = "0.3.0"
|
2021-05-26 23:02:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-13 18:57:25 +00:00
|
|
|
checksum = "ea0b9eefabb91675082b41eb94c3ecd91af7656caee3fb4961a07c0ec8c7ca6f"
|
2021-05-26 23:02:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2023-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.45.0",
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-02-21 23:32:28 +00:00
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"ntapi",
|
|
|
|
"once_cell",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2023-02-21 23:32:28 +00:00
|
|
|
]
|
|
|
|
|
2021-01-20 07:18:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sysinfo"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.28.4"
|
2022-06-14 20:53:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "b4c2f3ca6693feb29a89724516f016488e9aafc7f37264f898593ee4b942f31b"
|
2022-06-14 20:53:33 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
2022-07-06 19:57:40 +00:00
|
|
|
]
|
|
|
|
|
2019-06-08 18:09:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2023-04-06 20:39:31 +00:00
|
|
|
version = "3.5.0"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:31 +00:00
|
|
|
checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998"
|
2021-08-30 18:36:07 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-02-08 13:28:21 +00:00
|
|
|
"fastrand",
|
2023-04-06 20:39:31 +00:00
|
|
|
"redox_syscall 0.3.5",
|
2023-04-14 20:14:57 +00:00
|
|
|
"rustix 0.37.11",
|
2023-04-06 20:39:31 +00:00
|
|
|
"windows-sys 0.45.0",
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2021-10-05 13:43:20 +00:00
|
|
|
]
|
|
|
|
|
2022-07-11 16:18:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "terminal_size"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.6"
|
2022-07-11 16:18:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237"
|
2022-07-11 16:18:06 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"rustix 0.37.11",
|
|
|
|
"windows-sys 0.48.0",
|
2022-07-11 16:18:06 +00:00
|
|
|
]
|
|
|
|
|
2021-10-10 04:13:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termtree"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.4.1"
|
2021-10-10 04:13:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
|
2021-10-10 04:13:15 +00:00
|
|
|
|
2021-09-20 21:37:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.15.2"
|
2021-09-20 21:37:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d"
|
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-01-01 06:45:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2023-04-06 20:39:54 +00:00
|
|
|
version = "1.0.40"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2023-04-06 20:39:54 +00:00
|
|
|
version = "1.0.40"
|
2020-01-01 06:45:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-06 20:39:54 +00:00
|
|
|
checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
|
2020-01-01 06:45:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
2021-08-28 03:34:11 +00:00
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2020-01-01 06:45:27 +00:00
|
|
|
]
|
|
|
|
|
2022-04-24 21:43:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.1.7"
|
2022-04-24 21:43:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
|
2022-04-24 21:43:18 +00:00
|
|
|
dependencies = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-04-24 21:43:18 +00:00
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-05-10 16:59:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.45"
|
2019-05-10 16:59:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a"
|
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",
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
2021-12-02 18:05:38 +00:00
|
|
|
]
|
|
|
|
|
2022-07-26 02:09:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.20"
|
2022-07-26 02:09:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890"
|
2022-07-26 02:09:32 +00:00
|
|
|
dependencies = [
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
2022-07-26 02:09:32 +00:00
|
|
|
"libc",
|
|
|
|
"num_threads",
|
2023-03-11 23:35:56 +00:00
|
|
|
"serde",
|
|
|
|
"time-core",
|
2022-08-09 16:44:37 +00:00
|
|
|
"time-macros",
|
2022-07-26 02:09:32 +00:00
|
|
|
]
|
|
|
|
|
2023-03-11 23:35:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time-core"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd"
|
|
|
|
|
2022-08-09 16:44:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time-macros"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.8"
|
2022-08-09 16:44:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36"
|
|
|
|
dependencies = [
|
|
|
|
"time-core",
|
|
|
|
]
|
2022-08-09 16:44:37 +00:00
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.1"
|
2020-06-24 17:57:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
2020-06-24 17:57:27 +00:00
|
|
|
|
2020-12-12 18:18:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "titlecase"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "2.2.1"
|
2020-12-12 18:18:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "38397a8cdb017cfeb48bf6c154d6de975ac69ffeed35980fde199d2ee0842042"
|
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-04-14 20:14:57 +00:00
|
|
|
version = "1.27.0"
|
2020-08-12 17:20:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001"
|
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",
|
2023-03-11 23:35:56 +00:00
|
|
|
"mio 0.8.6",
|
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-03-11 23:35:56 +00:00
|
|
|
"windows-sys 0.45.0",
|
2020-08-12 17:20:22 +00:00
|
|
|
]
|
|
|
|
|
2023-03-02 19:05:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-macros"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "2.0.0"
|
2023-03-02 19:05:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce"
|
2023-03-02 19:05:18 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2023-03-02 19:05:18 +00:00
|
|
|
]
|
|
|
|
|
2021-07-09 19:28:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio-util"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.7.7"
|
2021-07-09 19:28:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "5427d89453009325de0d8f342c9490009f76e999cb7672d77e46267448f7e6b2"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.5.11"
|
2019-05-22 07:12:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.7.3"
|
2023-02-06 20:15:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "b403acf6f2bb0859c93c7f0d967cb4a75a7ac552100f9322faf64dc047669b21"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.19.8"
|
2023-02-06 20:15:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13"
|
2023-02-06 20:15:14 +00:00
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
|
|
|
"serde",
|
|
|
|
"serde_spanned",
|
|
|
|
"toml_datetime",
|
2023-03-11 23:35:56 +00:00
|
|
|
"winnow",
|
2023-02-06 20:15:14 +00:00
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.37"
|
2020-11-22 00:37:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
|
2020-11-22 00:37:16 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.1.30"
|
2021-07-30 21:04:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
|
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-03-22 13:02:03 +00:00
|
|
|
"windows 0.44.0",
|
2019-05-22 07:12:03 +00:00
|
|
|
]
|
|
|
|
|
2020-08-12 17:20:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "try-lock"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.4"
|
2020-08-12 17:20:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
|
2020-08-12 17:20:22 +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 = "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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.16.0"
|
2019-08-11 03:01:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
|
2021-10-25 04:01:02 +00:00
|
|
|
|
2021-11-23 08:14:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typetag"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.7"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "edc3ebbaab23e6cc369cb48246769d031f5bd85f1b28141f32982e3c0c7b33cf"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"erased-serde",
|
|
|
|
"inventory",
|
|
|
|
"once_cell",
|
|
|
|
"serde",
|
|
|
|
"typetag-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "typetag-impl"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.7"
|
2021-11-23 08:14:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "bb01b60fcc3f5e17babb1a9956263f3ccd2cadc3e52908400231441683283c1d"
|
2021-11-23 08:14:40 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2023-04-14 20:14:57 +00:00
|
|
|
"syn 2.0.15",
|
2021-11-23 08:14:40 +00:00
|
|
|
]
|
2019-08-11 03:01:09 +00:00
|
|
|
|
2019-11-19 05:46:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "umask"
|
2023-04-14 12:15:22 +00:00
|
|
|
version = "2.1.0"
|
2019-11-19 05:46:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 12:15:22 +00:00
|
|
|
checksum = "ec9a46c2549e35c054e0ffe281a3a6ec0007793db4df106604d37ed3f4d73d1c"
|
|
|
|
dependencies = [
|
|
|
|
"thiserror",
|
|
|
|
]
|
2019-11-19 05:46:47 +00:00
|
|
|
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.3.13"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "1.0.8"
|
2019-06-01 21:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
|
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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.2.8"
|
2022-08-10 19:56:15 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "1865806a559042e51ab5414598446a5871b561d21b6764f2eabb0dd481d880a6"
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"base64 0.13.1",
|
2023-03-05 22:48:13 +00:00
|
|
|
"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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.1"
|
2020-04-07 07:51:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
2020-04-07 07:51:17 +00:00
|
|
|
|
2020-06-25 05:51:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "1.3.1"
|
2020-06-25 05:51:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "5b55a3fef2a1e3b3a00ce878640918820d3c51081576ac657d23af9fc7928fdb"
|
2020-06-25 05:51:09 +00:00
|
|
|
dependencies = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"getrandom 0.2.9",
|
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",
|
2023-03-06 03:37:22 +00:00
|
|
|
"itoa",
|
2022-11-09 22:07:38 +00:00
|
|
|
"ryu",
|
|
|
|
]
|
|
|
|
|
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-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"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "2.3.3"
|
2019-05-18 01:24:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"
|
2019-05-18 01:24:13 +00:00
|
|
|
dependencies = [
|
2019-11-28 02:21:00 +00:00
|
|
|
"same-file",
|
|
|
|
"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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.84"
|
2019-06-08 18:09:17 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"
|
2021-12-09 19:19:36 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.84"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9"
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.4.34"
|
2020-06-24 17:57:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "f219e0d211ba40266969f6dbdd90636da12f75bee4fc9d6c23d1260dadb51454"
|
2022-01-04 02:01:18 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.84"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5"
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.84"
|
2019-07-04 22:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
|
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",
|
2023-04-06 20:39:54 +00:00
|
|
|
"syn 1.0.109",
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.2.84"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
|
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 = [
|
2023-03-11 23:35:56 +00:00
|
|
|
"bstr 0.2.17",
|
2022-04-04 20:45:01 +00:00
|
|
|
"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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.3.61"
|
2019-08-24 19:36:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "e33b99f4b23ba3eec1a53ac264e35a755f00e966e0065077d6027c0f575b0b97"
|
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
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
|
|
|
|
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
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-build"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
|
|
|
|
|
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 = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"winapi 0.3.9",
|
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 = [
|
2023-04-05 21:54:26 +00:00
|
|
|
"windows-targets 0.42.2",
|
2022-10-23 00:59:44 +00:00
|
|
|
]
|
|
|
|
|
2023-03-22 13:02:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows"
|
2023-04-05 21:54:26 +00:00
|
|
|
version = "0.48.0"
|
2023-03-22 13:02:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-05 21:54:26 +00:00
|
|
|
checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
|
2023-03-22 13:02:03 +00:00
|
|
|
dependencies = [
|
2023-04-05 21:54:26 +00:00
|
|
|
"windows-targets 0.48.0",
|
2023-03-22 13:02:03 +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 = [
|
2023-04-05 21:54:26 +00:00
|
|
|
"windows_aarch64_gnullvm 0.42.2",
|
|
|
|
"windows_aarch64_msvc 0.42.2",
|
|
|
|
"windows_i686_gnu 0.42.2",
|
|
|
|
"windows_i686_msvc 0.42.2",
|
|
|
|
"windows_x86_64_gnu 0.42.2",
|
|
|
|
"windows_x86_64_gnullvm 0.42.2",
|
|
|
|
"windows_x86_64_msvc 0.42.2",
|
2023-01-30 02:17:18 +00:00
|
|
|
]
|
|
|
|
|
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 = [
|
2023-04-05 21:54:26 +00:00
|
|
|
"windows-targets 0.42.2",
|
2023-02-22 12:56:31 +00:00
|
|
|
]
|
|
|
|
|
2023-04-14 12:15:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets 0.48.0",
|
|
|
|
]
|
|
|
|
|
2023-01-30 02:17:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2023-01-30 02:17:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
2023-01-30 02:17:18 +00:00
|
|
|
dependencies = [
|
2023-04-05 21:54:26 +00:00
|
|
|
"windows_aarch64_gnullvm 0.42.2",
|
|
|
|
"windows_aarch64_msvc 0.42.2",
|
|
|
|
"windows_i686_gnu 0.42.2",
|
|
|
|
"windows_i686_msvc 0.42.2",
|
|
|
|
"windows_x86_64_gnu 0.42.2",
|
|
|
|
"windows_x86_64_gnullvm 0.42.2",
|
|
|
|
"windows_x86_64_msvc 0.42.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows-targets"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_gnullvm 0.48.0",
|
|
|
|
"windows_aarch64_msvc 0.48.0",
|
|
|
|
"windows_i686_gnu 0.48.0",
|
|
|
|
"windows_i686_msvc 0.48.0",
|
|
|
|
"windows_x86_64_gnu 0.48.0",
|
|
|
|
"windows_x86_64_gnullvm 0.48.0",
|
|
|
|
"windows_x86_64_msvc 0.48.0",
|
2023-01-03 18:47:37 +00:00
|
|
|
]
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_gnullvm"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
|
|
|
|
|
2022-03-01 12:05:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
2023-03-22 13:02:03 +00:00
|
|
|
version = "0.42.2"
|
2022-05-25 17:13:14 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-22 13:02:03 +00:00
|
|
|
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
2022-05-25 17:13:14 +00:00
|
|
|
|
2023-04-05 21:54:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.48.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
|
|
|
|
|
2022-10-23 00:59:44 +00:00
|
|
|
[[package]]
|
2023-03-11 23:35:56 +00:00
|
|
|
name = "winnow"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "0.4.1"
|
2022-10-23 00:59:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "ae8970b36c66498d8ff1d66685dc86b91b29db0c7739899012f63a63814b4b28"
|
2023-03-11 23:35:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
2022-10-23 00:59:44 +00:00
|
|
|
|
2023-02-20 02:57:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winreg"
|
2023-04-14 12:15:01 +00:00
|
|
|
version = "0.50.0"
|
2023-02-20 02:57:46 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 12:15:01 +00:00
|
|
|
checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
|
2023-02-20 02:57:46 +00:00
|
|
|
dependencies = [
|
2023-03-09 05:45:58 +00:00
|
|
|
"cfg-if 1.0.0",
|
2023-04-14 12:15:01 +00:00
|
|
|
"windows-sys 0.48.0",
|
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-03-11 23:35:56 +00:00
|
|
|
"toml 0.5.11",
|
2022-05-25 03:28:10 +00:00
|
|
|
]
|
|
|
|
|
2023-03-09 05:45:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ws2_32-sys"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
|
|
|
|
dependencies = [
|
|
|
|
"winapi 0.2.8",
|
|
|
|
"winapi-build",
|
|
|
|
]
|
|
|
|
|
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"
|
2023-03-11 23:35:56 +00:00
|
|
|
version = "0.6.4"
|
2019-11-17 03:18:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-03-11 23:35:56 +00:00
|
|
|
checksum = "0445d0fbc924bb93539b4316c11afb121ea39296f99a3c4c9edad09e3658cdef"
|
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 = [
|
2023-04-14 20:14:57 +00:00
|
|
|
"zstd-safe 5.0.2+zstd.1.5.2",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zstd"
|
|
|
|
version = "0.12.3+zstd.1.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806"
|
|
|
|
dependencies = [
|
|
|
|
"zstd-safe 6.0.5+zstd.1.5.4",
|
2021-05-18 19:33:10 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[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",
|
|
|
|
]
|
|
|
|
|
2023-04-14 20:14:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-safe"
|
|
|
|
version = "6.0.5+zstd.1.5.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"zstd-sys",
|
|
|
|
]
|
|
|
|
|
2021-05-18 19:33:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "zstd-sys"
|
2023-04-14 20:14:57 +00:00
|
|
|
version = "2.0.8+zstd.1.5.5"
|
2021-05-18 19:33:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-04-14 20:14:57 +00:00
|
|
|
checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c"
|
2021-05-18 19:33:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
2023-03-11 23:35:56 +00:00
|
|
|
"pkg-config",
|
2021-05-18 19:33:10 +00:00
|
|
|
]
|