2021-02-09 22:06:47 +03:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-04-13 18:06:04 +03:00
|
|
|
version = 3
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "addr2line"
|
2022-03-13 14:46:03 +03:00
|
|
|
version = "0.17.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-13 14:46:03 +03:00
|
|
|
checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-03-13 14:46:03 +03:00
|
|
|
"gimli 0.26.1",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
2021-03-25 19:05:16 +03:00
|
|
|
version = "1.0.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-25 19:05:16 +03:00
|
|
|
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.7.18"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2021-03-07 19:39:44 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.57"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "08f9b8508dccb7687a1d6c4ce66b2b0ecef467c94667de27d8d7fe1f8d2a9cdc"
|
Server: Remove `panic`s in `tab` module (#1748)
* utils/errors: Add `ToAnyhow` trait
for converting `Result` types that don't satisfy `anyhow`s trait
constraints (`Display + Send + Sync + 'static`) conveniently.
An example of such a Result is the `SendError` returned from
`send_to_plugins`, which sends `PluginInstruction`s as message type.
One of the enum variants can contain a `mpsc::Sender`, which is `!Sync`
and hence makes the whole `SendError` be `!Sync` in this case. Add an
implementation for this case that takes the message and converts it into
an error containing the message formatted as string, with the additional
`ErrorContext` as anyhow context.
* server/tab: Remove calls to `unwrap()`
and apply error reporting via `anyhow` instead. Make all relevant
functions return `Result`s where previously a panic could occur and
attach error context.
* server/screen: Modify `update_tab!`
to accept an optional 4th parameter, a literal "?". If present, this
will append a `?` to the given closure verbatim to handle/propagate
errors from within the generated macro code.
* server/screen: Handle new `Result`s from `Tab`
and apply appropriate error context and propagate errors further up.
* server/tab/unit: `unwrap` on new `Result`s
* server/unit: Unwrap `Results` in screen tests
* server/tab: Better message for ad-hoc errors
created with `anyhow!`. Since these errors don't have an underlying
cause, we describe the cause in the macro instead and then attach the
error context as usual before `?`ing the error back up.
* utils/cargo: Activate `anyhow`s "backtrace" feature
to capture error backtraces at the error origins (i.e. where we first
receive an error and convert it to a `anyhow::Error`). Since we
propagate error back up the call stack now, the place where we `unwrap`
on errors doesn't match the place where the error originated. Hence, the
callstack, too, is quite misleading since it contains barely any
references of the functions that triggered the error.
As a consequence, we have 2 backtraces now when zellij crashes: One from
`anyhow` (that is implicitly attached to anyhows error reports), and one
from the custom panic handler (which is displayed through `miette`).
* utils/errors: Separate stack traces
in the output of miette. Since we record backtraces with `anyhow` now,
we end up having two backtraces in the output: One from the `anyhow`
error and one from the actual call to `panic`. Adds a comment explaining
the situation and another "section" to the error output of miette: We
print the backtrace from anyhow as "Stack backtrace", and the output
from the panic handler as "Panic backtrace". We keep both for the
(hopefully unlikely) case that the anyhow backtrace isn't existent, so
we still have at least something to work with.
* server/screen: Remove calls to `fatal`
and leave the `panic`ing to the calling function instead.
* server/screen: Remove needless macro
which extended `active_tab!` by passing the client IDs to the closure.
However, this isn't necessary because closures capture their environment
already, and the client_id needn't be mutable.
* server/screen: Handle unused result
* server/screen: Reintroduce arcane macro
that defaults to some default client_id if it isn't valid (e.g. when the
ScreenInstruction is sent via CLI).
* server/tab/unit: Unwrap new results
2022-10-06 09:46:18 +03:00
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
]
|
2021-06-30 09:46:00 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "arc-swap"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.5.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "c5d78ce20460b82d3fa150275ed9d55e21064fc7951177baacf86a145c4a4b1f"
|
2021-06-30 09:46:00 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.5.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
|
|
|
|
|
2022-07-08 18:19:42 +03:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-channel"
|
2021-02-26 12:09:54 +03:00
|
|
|
version = "1.6.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-26 12:09:54 +03:00
|
|
|
checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"concurrent-queue",
|
|
|
|
"event-listener",
|
|
|
|
"futures-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-executor"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "1.4.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "871f9bb5e0a22eeb7e8cf16641feb87c9dc67032ccf8ff49e772eb9941d3a965"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-task",
|
|
|
|
"concurrent-queue",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
2021-06-04 12:28:03 +03:00
|
|
|
"slab",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-global-executor"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "2.1.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "fd8b508d585e01084059b60f06ade4cb7415cd2e4084b71dd1cb44e7d3fb9880"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
|
|
|
"async-executor",
|
|
|
|
"async-io",
|
2022-06-03 12:14:38 +03:00
|
|
|
"async-lock",
|
2021-02-09 22:06:47 +03:00
|
|
|
"blocking",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-io"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.7.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "e5e18f61464ae81cde0a23e713ae8fd299580c54d697a35820cfd0625b8b0e07"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"concurrent-queue",
|
|
|
|
"futures-lite",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"once_cell",
|
|
|
|
"parking",
|
|
|
|
"polling",
|
2021-06-04 12:28:03 +03:00
|
|
|
"slab",
|
2021-04-20 01:37:47 +03:00
|
|
|
"socket2",
|
2021-02-09 22:06:47 +03:00
|
|
|
"waker-fn",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-lock"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "2.5.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "e97a171d191782fba31bb902b14ad94e24a68145032b7eedf871ab0bc0d077b6"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"event-listener",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-process"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.4.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "cf2c06e30a24e8c78a3987d07f0930edf76ef35e027e7bdb063fccafdad1f60c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-io",
|
|
|
|
"blocking",
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"event-listener",
|
|
|
|
"futures-lite",
|
2021-06-04 12:28:03 +03:00
|
|
|
"libc",
|
2021-02-09 22:06:47 +03:00
|
|
|
"once_cell",
|
2022-06-03 12:14:38 +03:00
|
|
|
"signal-hook 0.3.14",
|
2021-02-09 22:06:47 +03:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-std"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.11.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "52580991739c5cdb36cde8b2a516371c0a3b70dda36d916cc08b82372916808c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
|
|
|
"async-global-executor",
|
|
|
|
"async-io",
|
|
|
|
"async-lock",
|
|
|
|
"async-process",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-lite",
|
|
|
|
"gloo-timers",
|
|
|
|
"kv-log-macro",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"num_cpus",
|
|
|
|
"once_cell",
|
|
|
|
"pin-project-lite",
|
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
|
|
|
"wasm-bindgen-futures",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "async-task"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "4.2.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "30696a84d817107fc028e049980e09d5e140e8da8f1caeb17e8e950658a3cea9"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-05-24 16:00:49 +03:00
|
|
|
[[package]]
|
|
|
|
name = "async-trait"
|
2022-06-07 19:14:05 +03:00
|
|
|
version = "0.1.56"
|
2021-05-24 16:00:49 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-07 19:14:05 +03:00
|
|
|
checksum = "96cf8829f67d2eab0b2dfa42c5d0ef737e0724e4a82b01b3e292456202b19716"
|
2021-05-24 16:00:49 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "atomic-waker"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2021-07-14 09:22:11 +03:00
|
|
|
version = "0.2.14"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-14 09:22:11 +03:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2021-07-14 09:22:11 +03:00
|
|
|
"hermit-abi",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2022-02-21 13:49:16 +03:00
|
|
|
version = "1.1.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-21 13:49:16 +03:00
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "backtrace"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.3.65"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "11a17d453482a265fd5f8479f2a3f405566e6ca627837aaddb85af8b1ab8ef61"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"addr2line",
|
2021-06-04 12:28:03 +03:00
|
|
|
"cc",
|
2021-02-09 22:06:47 +03:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
"miniz_oxide",
|
2022-06-03 12:14:38 +03:00
|
|
|
"object 0.28.4",
|
2021-02-09 22:06:47 +03:00
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2021-07-02 17:40:50 +03:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bincode"
|
2021-04-13 18:06:04 +03:00
|
|
|
version = "1.3.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-13 18:06:04 +03:00
|
|
|
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "1.3.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
|
|
|
dependencies = [
|
|
|
|
"block-padding",
|
|
|
|
"byte-tools",
|
|
|
|
"byteorder",
|
|
|
|
"generic-array 0.12.4",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
|
|
|
|
dependencies = [
|
2022-04-07 19:47:36 +03:00
|
|
|
"generic-array 0.14.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
|
|
|
dependencies = [
|
|
|
|
"byte-tools",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "blocking"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.2.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "c6ccb65d468978a086b69884437ded69a90faab3bbe6e67f242173ea728acccc"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"async-channel",
|
|
|
|
"async-task",
|
|
|
|
"atomic-waker",
|
|
|
|
"fastrand",
|
|
|
|
"futures-lite",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2021-05-11 09:17:08 +03:00
|
|
|
[[package]]
|
|
|
|
name = "boxfnonce"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5988cb1d626264ac94100be357308f29ff7cbdd3b36bda27f450a4ee3f713426"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "bumpalo"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "3.10.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2021-04-13 18:06:04 +03:00
|
|
|
version = "1.4.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-13 18:06:04 +03:00
|
|
|
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cache-padded"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.2.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-05-30 01:12:11 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cassowary"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.0.73"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "0.1.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
|
|
|
version = "0.4.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
"time",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
version = "3.2.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
checksum = "6d20de3739b4fb45a17837824f40aa1769cc7655d7a83e68739a77fe7b30c87a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
2022-01-23 22:59:03 +03:00
|
|
|
"clap_derive",
|
2022-06-03 12:14:38 +03:00
|
|
|
"clap_lex",
|
2022-01-23 22:59:03 +03:00
|
|
|
"indexmap",
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
"once_cell",
|
2022-01-23 22:59:03 +03:00
|
|
|
"strsim",
|
|
|
|
"termcolor",
|
2022-03-16 13:29:04 +03:00
|
|
|
"textwrap 0.15.0",
|
2022-01-23 22:59:03 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_complete"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "3.2.1"
|
2022-01-23 22:59:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "0f6ebaab5f25e4f0312dfa07cb30a755204b96e6531457c2cfdecfdf5f2adf40"
|
2022-01-23 22:59:03 +03:00
|
|
|
dependencies = [
|
|
|
|
"clap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "clap_derive"
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
version = "3.2.4"
|
2022-01-23 22:59:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
feat: add capability to dispatch actions from cli (#1265)
* feat: add capability to dispatch actions from cli
Add capability to dispatch actions from the cli.
Can be invoked through `zellij action [actions]`
Automatically sends the action either to the current session,
or if there is only one session to the single session.
If there are multiple sessions, and no session is specified it will
error out.
Example:
1.
```
zellij action "[NewTab: , NewTab: ]"
```
2.
```
zellij -s fluffy-cat action '[NewPane: , WriteChars: "echo Purrr\n" ]'
```
3.
```
zellij -s fluffy-cat action '[ CloseTab, ]
```
* add: error message on malformed input
Add an error message on malformed input, for the `action`'s dispatch.
Rather than resulting in a panic.
* add: function to query the client id
* add: send specific actions to certain clients
Adds ability to send actions, that don't impact the server state
to all connected clients. For example `MoveFocus`
* add: client_id to non blocking actions
* chore(fmt): `cargo fmt`
* add: pick correct session, if there is exactly one
* add: use correct `client_id` for detach action
* add: make `[ ]` opaque to the user
* add: miette to toplevel to improve error message
* add: fake client reading configuration
Add the fake client reading configuration files,
this allows actions, that rely on configuration work
correctly. This is an intermediate solution, and should ideally not
be needed. It would be better if most of this state would be handled
by the server itself.
* chore(fmt): rustmt
* add: ability to detach multiple clients
Add ability to detach multiple clients at the same time.
* remove: obsolete functionality
* remove: unused functionality
* add: send correct action upon exiting
* chore(update): cargo update
2022-06-15 12:20:06 +03:00
|
|
|
checksum = "026baf08b89ffbd332836002ec9378ef0e69648cbfadd68af7cd398ca5bf98f7"
|
2022-01-23 22:59:03 +03:00
|
|
|
dependencies = [
|
|
|
|
"heck 0.4.0",
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2022-06-03 12:14:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "clap_lex"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.2"
|
2022-06-03 12:14:38 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "5538cd660450ebeb4234cfecf8f2284b844ffc4c50531e66d584ad5b91293613"
|
2022-06-03 12:14:38 +03:00
|
|
|
dependencies = [
|
|
|
|
"os_str_bytes",
|
|
|
|
]
|
|
|
|
|
2021-11-02 00:01:59 +03:00
|
|
|
[[package]]
|
|
|
|
name = "close_fds"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3bc416f33de9d59e79e57560f450d21ff8393adcf1cdfc3e6d8fb93d5f88a2ed"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-03-25 19:05:16 +03:00
|
|
|
[[package]]
|
2021-11-02 13:46:06 +03:00
|
|
|
name = "colorsys"
|
|
|
|
version = "0.6.5"
|
2021-03-25 19:05:16 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-02 13:46:06 +03:00
|
|
|
checksum = "4dfdf9179d546b55ff3f88c9d93ecfaa3e9760163da5a1080af5243230dbbb70"
|
2021-03-25 19:05:16 +03:00
|
|
|
|
2022-06-03 12:14:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "compact-bar"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"colored",
|
|
|
|
"unicode-width",
|
|
|
|
"zellij-tile",
|
|
|
|
"zellij-tile-utils",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "concurrent-queue"
|
|
|
|
version = "1.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "30ed07550be01594c6026cff2a1d7fe9c8f683caa798e12b68694ac9e88286a3"
|
|
|
|
dependencies = [
|
|
|
|
"cache-padded",
|
|
|
|
]
|
|
|
|
|
2021-11-06 00:59:45 +03:00
|
|
|
[[package]]
|
|
|
|
name = "console"
|
|
|
|
version = "0.15.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31"
|
|
|
|
dependencies = [
|
|
|
|
"encode_unicode",
|
|
|
|
"libc",
|
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
"terminal_size",
|
|
|
|
"unicode-width",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-01-13 14:41:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
|
|
|
version = "0.8.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cpufeatures"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.2"
|
2022-03-23 11:08:35 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b"
|
2022-03-23 11:08:35 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "cranelift-bforest"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9221545c0507dc08a62b2d8b5ffe8e17ac580b0a74d1813b496b8d70b070fbd0"
|
|
|
|
dependencies = [
|
|
|
|
"cranelift-entity",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7e9936ea608b6cd176f107037f6adbb4deac933466fc7231154f96598b2d3ab1"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"cranelift-bforest",
|
|
|
|
"cranelift-codegen-meta",
|
|
|
|
"cranelift-codegen-shared",
|
|
|
|
"cranelift-entity",
|
|
|
|
"gimli 0.22.0",
|
|
|
|
"log",
|
|
|
|
"regalloc",
|
|
|
|
"smallvec",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen-meta"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ef2b2768568306540f4c8db3acce9105534d34c4a1e440529c1e702d7f8c8d7"
|
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen-shared",
|
|
|
|
"cranelift-entity",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-codegen-shared"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6759012d6d19c4caec95793f052613e9d4113e925e7f14154defbac0f1d4c938"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-entity"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "86badbce14e15f52a45b666b38abe47b204969dd7f8fb7488cb55dd46b361fa6"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cranelift-frontend"
|
|
|
|
version = "0.68.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b608bb7656c554d0a4cf8f50c7a10b857e80306f6ff829ad6d468a7e2323c8d8"
|
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen",
|
|
|
|
"log",
|
|
|
|
"smallvec",
|
|
|
|
"target-lexicon",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.3.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
|
|
|
|
2021-05-27 17:28:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "0.8.1"
|
2021-05-27 17:28:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "4ae5588f6b3c3cb05239e90bd110f257254aecd01e4635400391aeae07497845"
|
2021-05-27 17:28:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-queue",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2022-03-21 23:16:16 +03:00
|
|
|
version = "0.5.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-21 23:16:16 +03:00
|
|
|
checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.8.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.9.8"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-03-16 13:29:04 +03:00
|
|
|
"autocfg",
|
2021-02-09 22:06:47 +03:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"lazy_static",
|
|
|
|
"memoffset",
|
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2021-05-27 17:28:28 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-queue"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.5"
|
2021-05-27 17:28:28 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2"
|
2021-05-27 17:28:28 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.8.8"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "csscolorparser"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b2fb3bd93ef32553e3d5b9f8020028f41ac64ff8a230033d5d548b8222d21fbe"
|
|
|
|
dependencies = [
|
|
|
|
"phf",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
2022-03-21 23:16:16 +03:00
|
|
|
version = "0.1.22"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-21 23:16:16 +03:00
|
|
|
checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-05-11 09:17:08 +03:00
|
|
|
[[package]]
|
|
|
|
name = "daemonize"
|
|
|
|
version = "0.4.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70c24513e34f53b640819f0ac9f705b673fcf4006d7aab8778bee72ebfc89815"
|
|
|
|
dependencies = [
|
|
|
|
"boxfnonce",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "darling"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.13.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"darling_macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_core"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.13.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"fnv",
|
|
|
|
"ident_case",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "darling_macro"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.13.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling_core",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "derivative"
|
|
|
|
version = "2.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-10-19 10:23:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "destructure_traitobject"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3c877555693c14d2f84191cfd3ad8582790fc52b5e2274b40b59cf5f5cea25c7"
|
|
|
|
|
2021-11-06 00:59:45 +03:00
|
|
|
[[package]]
|
|
|
|
name = "dialoguer"
|
2022-05-23 22:42:30 +03:00
|
|
|
version = "0.10.1"
|
2021-11-06 00:59:45 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-23 22:42:30 +03:00
|
|
|
checksum = "d8c8ae48e400addc32a8710c8d62d55cb84249a7d58ac4cd959daecfbaddc545"
|
2021-11-06 00:59:45 +03:00
|
|
|
dependencies = [
|
2022-03-16 13:29:04 +03:00
|
|
|
"console",
|
2021-11-06 00:59:45 +03:00
|
|
|
"tempfile",
|
|
|
|
"zeroize",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.12.4",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
|
|
|
|
dependencies = [
|
2022-04-07 19:47:36 +03:00
|
|
|
"generic-array 0.14.5",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "directories-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
|
|
|
version = "2.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"dirs-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"redox_users",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"redox_users",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "either"
|
|
|
|
version = "1.6.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "encode_unicode"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enumset"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.11"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "4799cdb24d48f1f8a7a98d06b7fde65a85a2d1e42b25a889f5406aa1fbefe074"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"enumset_derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enumset_derive"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.6.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "ea83a3fbdc1d999ccfbcbee717eab36f8edf2d71693a23ce0d7cca19e085304c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"darling",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "erased-serde"
|
2022-03-21 23:16:16 +03:00
|
|
|
version = "0.3.20"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-21 23:16:16 +03:00
|
|
|
checksum = "ad132dd8d0d0b546348d7d86cb3191aad14b34e5f979781fc005c80d4ac67ffd"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "event-listener"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "2.5.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "77f3309417938f28bf8228fcff79a4a37103981e3e186d2ccd19c74b38f4eb71"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fastrand"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.7.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "filedescriptor"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"thiserror",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
|
|
|
|
dependencies = [
|
|
|
|
"matches",
|
|
|
|
"percent-encoding",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-lite"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "1.12.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"fastrand",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"memchr",
|
|
|
|
"parking",
|
|
|
|
"pin-project-lite",
|
|
|
|
"waker-fn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
|
|
|
"pin-project-lite",
|
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "generational-arena"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8e1d3b771574f62d0548cee0ad9057857e9fc25d7a3335f140c84f6acd0bf601"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.12.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.14.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "getopts"
|
|
|
|
version = "0.2.21"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
|
|
|
|
dependencies = [
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.1.16"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.7"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
2022-06-14 19:32:19 +03:00
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ghost"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.1.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "76c813ffb63e8fd3df6f1ac3cc1ea392c7612ac2de4d0b44dcbfe03e5c4bf94a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
|
|
|
version = "0.22.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724"
|
|
|
|
dependencies = [
|
|
|
|
"fallible-iterator",
|
|
|
|
"indexmap",
|
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2022-03-13 14:46:03 +03:00
|
|
|
version = "0.26.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-13 14:46:03 +03:00
|
|
|
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "gloo-timers"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "5fb7d06c1c8cc2a29bee7ec961009a0b2caa0793ee4900c2ffb348734ba1c8f9"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2021-06-30 09:46:00 +03:00
|
|
|
version = "0.11.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "0.3.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"unicode-segmentation",
|
|
|
|
]
|
|
|
|
|
2022-01-23 22:59:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-06-30 09:46:00 +03:00
|
|
|
version = "0.1.19"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
|
|
|
version = "0.4.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
|
|
|
2021-10-26 20:43:17 +03:00
|
|
|
[[package]]
|
|
|
|
name = "highway"
|
|
|
|
version = "0.6.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3461b968f695ca312b968503261f5a345de0f02a39dbaa3021f20d53b426395d"
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ident_case"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
|
|
|
|
dependencies = [
|
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.8.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"hashbrown",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "insta"
|
2022-07-08 18:19:42 +03:00
|
|
|
version = "1.14.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-07-08 18:19:42 +03:00
|
|
|
checksum = "689960f187c43c01650c805fb6bc6f55ab944499d86d4ffe9474ad78991d8e94"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-03-16 13:29:04 +03:00
|
|
|
"console",
|
|
|
|
"once_cell",
|
2021-02-09 22:06:47 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_yaml",
|
2021-02-10 01:19:34 +03:00
|
|
|
"similar",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.1.12"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "interprocess"
|
2021-03-25 19:05:16 +03:00
|
|
|
version = "1.1.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-25 19:05:16 +03:00
|
|
|
checksum = "1c58ec7fbda1df9a93f587b780659db3c99f61f4be27f9c82c9b37684ffd0366"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"blocking",
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"futures",
|
|
|
|
"intmap",
|
|
|
|
"libc",
|
2021-03-25 19:05:16 +03:00
|
|
|
"once_cell",
|
2021-02-09 22:06:47 +03:00
|
|
|
"spinning",
|
|
|
|
"thiserror",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "intmap"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.7.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "ae52f28f45ac2bc96edb7714de995cffc174a395fb0abf5bff453587c980d7b9"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "inventory"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "84344c6e0b90a9e2b6f3f9abe5cc74402684e348df7b32adca28747e0cef091a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"ctor",
|
|
|
|
"ghost",
|
|
|
|
]
|
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "is_ci"
|
|
|
|
version = "1.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "616cde7c720bb2bb5824a224687d8f77bfd38922027f01d825cd7453be5099fb"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "js-sys"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.3.58"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "c3fac17f7123a73ca62df411b1bf727ccc805daa070338fda671c86dac1bdc27"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
2022-10-05 08:44:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "kdl"
|
|
|
|
version = "4.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8388a371e0e2ede18bbd94e476fcd45b4ac65cefcedf0c06fd13bd8389574a6"
|
|
|
|
dependencies = [
|
|
|
|
"miette 5.3.0",
|
|
|
|
"nom 7.1.1",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "kv-log-macro"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
|
|
|
version = "1.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "leb128"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.2.5"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-11-08 03:12:31 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lev_distance"
|
2022-02-27 21:21:12 +03:00
|
|
|
version = "0.1.1"
|
2021-11-08 03:12:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-27 21:21:12 +03:00
|
|
|
checksum = "72d9d1bd215936bc8647ad92986bb56f3f216550b53c44ab785e3217ae33625e"
|
2021-11-08 03:12:31 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.126"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
|
|
|
version = "0.6.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.2.23"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
|
2021-06-21 11:45:18 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.1.8"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf"
|
2021-06-21 11:45:18 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
|
|
|
version = "0.5.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.4.7"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-06-03 12:14:38 +03:00
|
|
|
"autocfg",
|
2021-02-09 22:06:47 +03:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2022-05-09 19:32:36 +03:00
|
|
|
version = "0.4.17"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-09 19:32:36 +03:00
|
|
|
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
2021-06-30 09:46:00 +03:00
|
|
|
"serde",
|
2021-02-09 22:06:47 +03:00
|
|
|
"value-bag",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "log-mdc"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a94d21414c1f4a51209ad204c1776a3d0765002c76c6abcb602a6f09f1e881c7"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "log4rs"
|
2022-10-19 10:23:56 +03:00
|
|
|
version = "1.2.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-19 10:23:56 +03:00
|
|
|
checksum = "d36ca1786d9e79b8193a68d480a0907b612f109537115c6ff655a3a1967533fd"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"arc-swap",
|
|
|
|
"chrono",
|
|
|
|
"derivative",
|
|
|
|
"fnv",
|
|
|
|
"humantime",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"log-mdc",
|
2022-06-03 12:14:38 +03:00
|
|
|
"parking_lot 0.12.1",
|
2021-06-30 09:46:00 +03:00
|
|
|
"serde",
|
|
|
|
"serde-value",
|
|
|
|
"serde_json",
|
|
|
|
"serde_yaml",
|
|
|
|
"thiserror",
|
|
|
|
"thread-id",
|
2022-10-19 10:23:56 +03:00
|
|
|
"typemap-ors",
|
2021-06-30 09:46:00 +03:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mach"
|
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "maplit"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
|
|
|
version = "0.1.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "2.5.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "0.2.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memmem"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a64a92489e2744ce060c349162be1c5f33c6969234104dbd99ddb5feb08b8c15"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.6.5"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miette"
|
|
|
|
version = "3.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cd2adcfcced5d625bf90a958a82ae5b93231f57f3df1383fee28c9b5096d35ed"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"backtrace",
|
2022-10-05 08:44:00 +03:00
|
|
|
"miette-derive 3.3.0",
|
2022-03-13 14:46:03 +03:00
|
|
|
"once_cell",
|
|
|
|
"owo-colors",
|
|
|
|
"supports-color",
|
|
|
|
"supports-hyperlinks",
|
|
|
|
"supports-unicode",
|
|
|
|
"terminal_size",
|
2022-03-16 13:29:04 +03:00
|
|
|
"textwrap 0.14.2",
|
2022-03-13 14:46:03 +03:00
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2022-10-05 08:44:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miette"
|
|
|
|
version = "5.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a28d6092d7e94a90bb9ea8e6c26c99d5d112d49dda2afdb4f7ea8cf09e1a5a6d"
|
|
|
|
dependencies = [
|
|
|
|
"miette-derive 5.3.0",
|
|
|
|
"once_cell",
|
|
|
|
"thiserror",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miette-derive"
|
|
|
|
version = "3.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c01a8b61312d367ce87956bb686731f87e4c6dd5dbc550e8f06e3c24fb1f67f"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-10-05 08:44:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miette-derive"
|
|
|
|
version = "5.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4f2485ed7d1fe80704928e3eb86387439609bd0c6bb96db8208daa364cfd1e09"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.5.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"adler",
|
|
|
|
]
|
|
|
|
|
2021-05-17 19:13:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.7.14"
|
2021-05-17 19:13:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc"
|
2021-05-17 19:13:05 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow",
|
|
|
|
"ntapi",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
|
|
|
version = "0.3.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "more-asserts"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.2.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-04-30 17:52:09 +03:00
|
|
|
[[package]]
|
|
|
|
name = "names"
|
2022-05-23 22:42:30 +03:00
|
|
|
version = "0.13.0"
|
2021-04-30 17:52:09 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-23 22:42:30 +03:00
|
|
|
checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146"
|
2021-04-30 17:52:09 +03:00
|
|
|
dependencies = [
|
2022-05-23 22:42:30 +03:00
|
|
|
"rand 0.8.5",
|
2021-04-30 17:52:09 +03:00
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "nix"
|
2022-03-17 15:29:20 +03:00
|
|
|
version = "0.23.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-17 15:29:20 +03:00
|
|
|
checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"cc",
|
2021-02-10 01:19:34 +03:00
|
|
|
"cfg-if 1.0.0",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
2022-03-17 15:29:20 +03:00
|
|
|
"memoffset",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "5.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2022-10-05 08:44:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "7.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
]
|
|
|
|
|
2021-05-17 19:13:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ntapi"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.3.7"
|
2021-05-17 19:13:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f"
|
2021-05-17 19:13:05 +03:00
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-derive"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num-integer"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.1.45"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.15"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.13.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "object"
|
|
|
|
version = "0.22.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
|
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
|
|
|
"indexmap",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.28.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
|
2022-03-13 14:46:03 +03:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.12.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.9.74"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "835363342df5fba8354c5b453325b110ffd54044e588c539cf2f20a8014e4cb1"
|
2021-06-21 11:45:18 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ordered-float"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "2.10.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "7940cf2ca942593318d07fcf2596cdca60a85c9e7fab408a5e21a4f9dcd40d87"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"num-traits",
|
|
|
|
]
|
|
|
|
|
2022-01-23 22:59:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "6.1.0"
|
2022-01-23 22:59:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa"
|
2022-01-23 22:59:03 +03:00
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "owo-colors"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "3.4.0"
|
2022-03-13 14:46:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "decf7381921fea4dcb2549c5667eda59b3ec297ab7e2b5fc33eac69d2e7da87b"
|
2022-03-13 14:46:03 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parking"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.11.2"
|
2021-05-17 19:13:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
2021-05-17 19:13:05 +03:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
2021-10-26 20:43:17 +03:00
|
|
|
"lock_api",
|
2022-06-03 12:14:38 +03:00
|
|
|
"parking_lot_core 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core 0.9.3",
|
2021-05-17 19:13:05 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.8.5"
|
2021-05-17 19:13:05 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
|
2021-05-17 19:13:05 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"instant",
|
|
|
|
"libc",
|
2022-06-03 12:14:38 +03:00
|
|
|
"redox_syscall",
|
2021-05-17 19:13:05 +03:00
|
|
|
"smallvec",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-06-03 12:14:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
|
|
|
version = "0.9.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"smallvec",
|
|
|
|
"windows-sys",
|
|
|
|
]
|
|
|
|
|
fix(status-bar): reflect actual current keybindings (#1242)
* status-bar: first_line: Use more generic var names
Rename all `CtrlKey...` to the equivalent `Key...` to make the name less
specific. It implies that all key bindings use Ctrl as modifier key,
which needn't necessarily be the case.
* status-bar: first_line: Refactor `ctrl_keys`
Removes lots of code duplication by `Unselect`ing all keys by default
and only `Select`ing what is actually required for a given Input mode.
* utils: conditionally compile unix-specific code
In `zellij_utils`, the following modules each contained code that was
previously targeting only the unix platform:
- consts: Works with unix-specific filesystem attributes to set e.g.
special file permissions. Also relies on having a UID.
- shared: Uses unix-specific filesystem attributes to set file
permissions
These will never work when targeting wasm. Hence the concerning code
passages have been moved into private submodules that are only compiled
and re-exported when the target isn't `#[cfg(unix)]`. The re-export
makes sure that crates from the outside that use `zellij_utils` work as
before, since from their point of view nothing has changed.
* utils: Share more modules with wasm
that work on both wasm and unix natively. This requires factoring out
bits of code in the `setup` and `input` modules into a private submodule
that is re-exported when the compilation target is *not* "wasm". The
following modules are now available to the wasm target:
- cli
- consts
- data
- envs
- input (partial)
- actions
- command
- configs
- keybinds
- layout
- options
- plugins
- theme
- pane_size
- position
- setup (partial)
- shared
The remaining modules unavailable to wasm have dependencies on crates
that cannot compile against wasm, such as `async_std` or `termwiz`.
* utils/input/keybinds_test: Fix import
of the `CharOrArrow` struct which is now part of the `data` submodule.
* utils/layout: Use global serde crate
Previously the code was decorated with `#[serde(crate = "self::serde")]`
statements which cannot be shared with wasm. Use the regular serde
without specifying which serde is meant.
* utils/data: Implement `fmt::Display` for `Key`
so the Keybindings can be displayed via `format!` and friends in e.g.
the status bar.
* tile/prelude: Re-export `actions`
submodule of `zellij_utils` so the plugins can access the `ModeKeybinds`
struct with all of its members.
* utils/data: Fix `ModeInfo::keybinds` type
and transfer a vector of `(Key, Vec<Action>)` to the plugins so they can
parse it themselves, instead of passing strings around. Due to the
requirement of the `Eq` trait derive on `ModeInfo` this requires
deriving `Eq` on all the types included by `Key` and `Action` as well.
Note that `Action` includes the `layout::SplitSize` structure as a
member. We cannot derive `Eq` here since `SplitSize::Percent(f64)`
cannot satisfy `Eq` because `f64` doesn't implement this. So we add a
new type to hack around this limitation by storing the percentage as
`u64` internally, scaled by a factor of 10 000 and transforming it to
f64 when needed. Refer to the documentation of `layout::Percent` for
further information.
* utils/data: Make `Key` sortable
so the keybindings can be sorted after their keys.
* WIP: utils/input: Make keybinds accessible
when generating `ModeInfo` structs.
* utils/data: Handle unprintable chars in `Key`
when displaying via the `fmt::Display` trait. Handles `\t` and `\n` and
represents them as UTF-8 arrow glyphs.
* HACK: utils/layout: Use u64 for SplitSize::Percent
The previous workaround using a custom `Percent` type fails at the
absolute latest when confronted with user layouts, since these do not
know about the scaling factor and will thus break. It still breaks
currently because `Percent` now expects a u64 (i.e. `50`, not `50.0`)
but this is more easily explained and understood.
* status-bar: Add helper macros
that retrieve the key bound to execute a sequence of `Action` given a
specific Keybinding, and a shorthand that expands to
`Action::SwitchToMode(InputMode::Normal)` used for pattern matching with
the `matches!` macro.
* status-bar/first_line: Get shared superkey if any
from the `ModeKeybindings` in the current `ModeInfo` struct. If the
configured keybindings for switching the modes don't have a superkey in
common, do not print a common prefix.
* status-bar/first_line: Add key to KeyShortcut
which is the key that must be pressed in the current mode to execute the
given shortcut (i.e. switch to the given mode).
* status-bar/first_line: Dynamically set mode binds
Read the keybindings for switching the modes to print in the first line
from the actually configured keybindings for the current mode. Add some
logic to the code that:
- Prints only the "single letter" of the keybinding if all mode-switch
shortcuts *share the same modifier key*,
- Or prints the whole keybinding (with modified) into each segment if
there is no common modifier key.
* status-bar/second_line: Display configured binds
Instead of showing some hard-coded default values. For each mode, reads
the keybindings from the configured keybindings based on some sequence
of action. For example, the keybinding for `New` in the `Pane` menu is
now determined by looking into the configured keybindings and finding
what key is bound to the `Action::NewPane(None)` action.
If no keybinding is found for a given sequence of actions, it will not
show up in the segments either.
* WIP: utils/keybinds: Make key order deterministic
by using a BTreeMap which by default has all of its elements in sorted
order internally. As of currently this doesn't seem to impress the order
in which the keybindings are sent to the plugins, though.
* utils/data: Reorder `Key` variants
to have the Arrow keys sorted as "left", "down", "up", "right" in
accordance with the display in e.g. the status bar.
* status-bar/first_line: Fix inverted `matches!`
when trying to obtain the keybindings to switch between the input modes.
Its initial purpose was to filter out all ' ', '\n' and 'Esc'
keybindings for switching modes (As these are the default and not of
interest for the status bar display), but it was not negated and thus
only filtered out the aforementioned keys.
* status-bar: Don't get all modeswitch keybinds
but only those that are displayed in the status bar. This currently
excludes the keybindings for Entering the Pane/TabRename mode, Tmux mode
and Prompt mode. We must explicitly exclude these since they aren't
bound to the same Modifiers as the regular keys. Thus, if we e.g. enter
Pane or Tab mode, it will pick up the
`SwitchToMode(InputMode::TabRename)` action as being bound to `c`, hence
the `superkey` function cannot find a common modifier, etc. But we don't
display the `TabRename` input mode in the first line anyway, so we must
ignore it.
Therefore, we additionally add the keybinding to call the `Action::Quit`
action to terminate zellij to the vector we return. Also remove the
`(Key, InputMode)` tuple and convert the return type to a plain
`Vec<Key>`, since the never worked with the `InputMode` in the first
place.
* status-bar/first_line: Fix output for tight screen
Implement the "Squeezed" display variant where we do not display which
of the modes each keybinding switches to, but only the keybinding
itself.
* status-bar/second_line: Remove trailing " / "
* status-bar/second-line: Refactor key hints
Instead of determining the appropriate key hints for every case
separately (i.e. enough space to show all, show shortened, shot
best-effort), create a central function that returns for the current
`InputMode` a Vector with tuples of:
- A String to show in full-length mode
- A String to show in shortened/best-effort mode
- The vector of keys that goes with this key hint
This allows all functions that need the hints to iterate over the vector
and pick whatever hint suits them along with the Keys to display.
* status-bar/second-line: Implement shortened hints
* utils/data: Fix display for `Key::Alt`
which previously printed only the internal char but not the modifier.
* status-bar/first-line: Add hidden Tmux tile
that is only shown when in Tmux mode. Note that with the default config
this "breaks" the shared superkey display, because it correctly
identifies that one can switch to Scroll mode via `[`.
* status-bar: Print superkey as part of first line
Instead of first obtaining the superkey and then the rest of the first
line to display. This way we don't need to split up individual data
structures and carry a boolean flag around multiple functions.
It also has the advantage that when the available space is really tight,
the first line is entirely empty and doesn't display a stale superkey
without any other keybinding hints.
* status-bar: Rework keybinding theming
Previously there were individual functions to create the tiles in the
first line depending on whether:
- A tile was selected, unselected, unselected alternate (for theming) or disabled, and
- Tiles had full length or were displayed shortened
In the first case, the functions that previously handled the theming
only differed in what theme they apply to the otherwise identical
content. Since the theming information was drawn from a flat structure
that simulated hierarchy by giving hierarchical names to its theme
"members", this couldn't be handled in code. In the second case, some of
the theming information needed for the full-length shortcuts was
replicated for the shortened shortcuts.
Instead, rewrite the general Theming structure into a hierarchical one:
Adds a new structure `SegmentStyle` that contains the style for a single
segment depending on whether it is selected, unselected (alternate) or
disabled. Refactor the `first-line` module to use a single function to
generate either full-length or shortened tiles, that does functionally
the same but switches themes based on the selection status of the tile
it themes.
* status-bar/second-line: Return new `LinePart`s
from the `add_shortcut` function instead of modifying the input
parameters.
* status-bar/second-line: Implement adaptive behavior
and make the keyhints adapt when the screen runs out of space. The hints
first become shortened and when necessary partially disappear to display
a "..." hint instead.
* status-bar/second-line: Show float pane binding
based on the keycombination that's really bound to switching into the
"Pane" input mode.
* status-bar/get_keys_and_hints: Add more modes
for the keybindings in Tmux and the Pane/TabRename input modes.
* status-bar/second-line: Unify mode handling
and don't do extra shortcut handling for Tmux and the Pane/TabRename
modes any longer. Instead, assemble this like for all other modes from
the keybinding and hints vector.
* status-bar/first-line: Refactor common modifier
to a separate function so it can be used by other modules, too.
* status-bar/second-line: Display modifier in hints
when available. For example, for bindings to move between panes when in
PaneRename mode, now displays "Alt + <hjkl>" instead of
"<Alt+hAlt+j...>".
* utils/ipc: Remove `Copy` from `ClientAttributes`
as preparation to add `Keybinds` as a member to the `ClientAttributes`
struct. `Keybinds` contains a `HashMap`, for which the `std` doesn't
derive `Copy` but only `Clone`.
* utils/input/keybinds: Fix import path
Import `Key` and `InputMode` directly from `data`.
* utils/ipc: Add `Keybinds` to `ClientAttributes`
so we can keep track, pre-client, of the configured key bindings and
pass them around further in the code.
* server/lib: Store `ClientAttributes` over `Style`
in `SessionMetadata` to be able to pass Keybindings to other places in
the code, too. Since `Style` is also a member of `ClientAttributes`,
this works with minimal modifications.
* utils/input: Change `get_mode_info` parameters
to take a `ClientAttributes` struct instead of merely the `Style`
information. This way we can get the `Style` from the
`ClientAttributes`, and also have access to the `keybinds` member that
stores the keybinding configuration.
* utils/ipc: Use `rmp` for serde of IPC messages
instead of `bincode`, which seemingly has issues (de)serializing
`HashMap`s and `BTreeMap`s since `deserialize_any` isn't implemented for
these types.
* fix(nix): remove `assets` from `gitignore`
Remove `assets` from the gitignore of the plugins themselves,
since every single plugin now depends on the asset being accessible
in its source directory.
* tests/e2e: Fix status bar in snapshots
to reflect the current state of the dynamic keybindings.
* status_bar/first_line: Don't show unbound modes
If switching to a specific mode isn't bound to a key, don't show a
tile/ribbon for it either. E.g. in `LOCKED` mode, this will only show
the tile for the `LOCK` mode and ignore all others.
* utils/data: Make 'Key::Char(' ') visible as "␣"
so the user doesn't only see a blank char but has an idea that the space
key is meant.
* status_bar/second_line: Remove extra hints
generated by the `hint_producing_function` that would tell the user in
every input mode how to get back to normal mode. Instead, add this as
keybinding to the general keybindings vector.
This removes some lines of duplicated code but most of all now applies
the correct theming to this keybinding. Additionally, previously the
`RenameTab` and `RenamePane` input modes would show the keybinding to
get back to normal mode twice and both of them were hardcoded. This
binding is now dynamically displayed based on what the user configured
as keybinding.
* utils/data: format unprintable chars as words
instead of unicode symbols. E.g. write "SPACE" instead of "␣".
* utils/data: Fix display for `Ctrl`/`Alt` keys
previously their "inner" chars would be displayed with a regular
`fmt::Display` for the `&str` type they are. This doesn't match what we
want to output. So instead we wrap the inner chars into `Key::Char`
before printing them.
* utils/data: Change order of `Key`s
so that e.g. for the default bindings in `Scroll` mode we prefer to show
`PgDn|PgUp` rather than the arrow keys these actions are bound to as
well.
* status_bar/first_line: Don't ignore default char
bindings by default. These include the '\n', ' ' and 'Esc' bindings that
by default lead back to `Normal` input mode from all the modes.
Previously we would unconditionally ignore them and consequently not
print the tile when in fact the user may have bound this particular
action to either of the keys.
Instead now we first ignore the keys mentioned and if we turn up with an
undefined binding, we consider these default keys as well so we get
*something* to display in any case.
* status_bar/first_line: Add space when no modifier
is shared between the keybindings. This way there isn't a stray arrow at
the very border of the screen, but it is spaced just like the tab-bar
and the second line is.
* status_bar/second_line: Print separators
between consecutive keys bound to specific actions. This allows the user
to visually differ between different keys.
* status_bar/main: Don't return modifier if empty
* status_bar/first_line: Don't suppress Disabled tiles
Disabled is a special state that the keybindings only assume in locked
mode. It turns the respective tiles grey to signal to the user that
these are currently inactive. With respect to users new to zellij, it
may appear confusing that when entering locked mode all the other tiles
disappear (which they do because they have no valid keybinding
assigned). Since we have no keybinding for them, we still display them
but without any associated key (i.e. as `<>` for the binding).
* status_bar/first_line: Don't print leading triangle
on first tile, when there is no shared superkey.
* status_bar/second_line: Add exceptions
for inter-key separators. Keeps groups of `hjkl` and arrow keys intact
(doesn't add separators between the keys) but separates all others.
* status_bar/main: Refactor `action_key`
to a regular function instead of a macro. It turns out that while being
able to match patterns is a nice feature, we completely rely on the keys
that drop out of the pattern found this way to be sorted in a sensible
way. Since we sort the key vectors in the necessary places after the
keys, and not the actions, this of course doesn't apply when the user
changes "hjkl" to "zjkl", which would then become "jklz". Now this is of
course wrong, because "z" still means "Move focus left", and not "Move
focus right".
With the function we now assume a slice of Actions that we match the
action vectors from the keybindings against to obtain the necessary
keys. In order to avoid ugly `into_iter().chain(...)` constructs we had
before we also add a new function `action_key_group` that takes a sliced
array of slices to get a whole group of keys to display.
* status_bar/first_line: Fix "triangle" for short tiles
since we do not want to display a colored triangle at the start of the
line when in sortened mode (just as we do for the long tiles now).
Also fix a bug that would make the triangle reappear when the first
keybinding to be displayed didn't have a key assigned and thus wouldn't
be displayed at all.
* status_bar/second_line: Fix typo
that would cause single `Ctrl+?` bindings for actions in the second line
to be displayed as `Ctrl + <Ctrl+?>`.
* status_bar/second_line: Fix char count
when displaying groups of keys in a binding with or without a separator.
* status_bar: Use new `action_key` fn
instead of the previous macro to obtain the keys to display in the
status bar in a fixed given order. Also fix the display "bug" where tab
switching would be shows as "ArrowLeft/ArrowDown" instead of
"ArrowLeft/ArrowRight".
* status_bar/second_line: Fix floating pane hint
that tells the user what keybinding to press to suppress the currently
active floating panes. This was previously hardcoded.
* utils: Send full keybinds in `ModeInfo`
instead of the currently active `ModeKeybinds` for the active input
mode. Some of the UI issues cannot be solved without having access to
*all* keybindings.
* utils: Refactor keybinds vec into type
to make clippy happy.
* status_bar/first_line: Remove needless borrows
* status_bar: Factor out printing keybindings
into a separate function that takes a vector of keys and a palette and
returns the painted key groups, with correct inter-character separation
where necessary and factoring out common modifier keys.
* status_bar/tip: Use real keybindings
instead of printing hard-coded messages to the user.
* status_bar: abort early when keyvector is empty
in `style_key_with_modifier`.
* status_bar/tip: Fix all keybindings
and make them dynamic given the keybindings really active in the current
session. Also display **UNBOUND** is some keybinding is missing from the
users config.
* status_bar: Go clippy!
* status_bar: Add documentation
and add a new exception group to `action_key_group` that ensures that
`hl` and `jk` won't be separated with `|`.
* status_bar/tip: Detect when key aren't bound
correctly and show "UNBOUND" as keyhint instead, then. Previously we
would only check the length of the whole keybinding segment, but that
isn't a good indicator since most of the bindings require changing modes
first, which already adds a variable number of letters to the segment.
However, there is not point in showing how to get to a certain mode, if
the binding needed in that mode doesn't exist.
* status_bar/first_line: Show bindings when locked
if the user has any configured.
* status_bar: Don't consider 'hl', 'jk' groups
that don't need a separator in between the letters.
* status_bar/second_line: Add "search" keybindings
for the new Search functionality.
* tests/e2e: Fix snapshots
with what the status bar now really displays.
* status_bar: Remove old comments
* status_bar/first_line: Rename 'long_tile'
to the more descriptive name 'mode_shortcut', which better describes
what this function does.
* status_bar/first_line: Fix spacing in simple UI
where the modifier would be shows as `Ctrl +`, without a trailing space.
This isn't an issue in regular mode, where we have the spacing from the
arrow gaps (`>>`) that "simulates" this effect.
* status_bar: Refactor and rename `ctrl_keys`
so it doesn't rely on some "external" index for operation any more.
* status_bar: Add unit tests to shared functions
and fix a bug in the process where certain `Ctrl` keybindings would be
displayed wrong.
* status_bar/first_line: Rename functions
responsible for printing the long and short shortcut keyhint tiles. Also
add some documentation that explains their purpose and the arguments
they accept.
* status_bar/tips: Remove stray "/" in quicknav tip
* utils/layout: Remove old comments
introduced when rewriting `SplitSize::Percent` to not hold an `f64`
type.
* status_bar: Add "regex" as test dependency
We use regular expressions to strip all ANSI escape sequences in the
strings that are produced by the plugin functions during testing. We do
not test for the style information, but merely for the raw text.
* status_bar: Implement unit tests
* Makefile: Always run tests on host triple
This allows the unit tests for all plugins to be run on the host as well
(because their default compilation target is wasm32-wasi).
* tests/e2e: Add test for custom bindings
in the status bar. Makes sure that the modified bindings from a custom
configuration file are read and applied to the UI.
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-07-27 17:48:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "paste"
|
|
|
|
version = "1.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc"
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pest"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
|
|
|
|
dependencies = [
|
|
|
|
"ucd-trie",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pest_derive"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
|
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
"pest_generator",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_generator"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
|
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
"pest_meta",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_meta"
|
|
|
|
version = "2.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
|
|
|
|
dependencies = [
|
|
|
|
"maplit",
|
|
|
|
"pest",
|
|
|
|
"sha-1",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
|
|
|
|
dependencies = [
|
2022-04-07 19:47:36 +03:00
|
|
|
"phf_macros",
|
2022-03-23 11:08:35 +03:00
|
|
|
"phf_shared",
|
2022-04-07 19:47:36 +03:00
|
|
|
"proc-macro-hack",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
|
|
|
|
dependencies = [
|
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
|
|
|
|
dependencies = [
|
|
|
|
"phf_shared",
|
|
|
|
"rand 0.7.3",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "phf_macros"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c"
|
|
|
|
dependencies = [
|
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
|
|
|
"proc-macro-hack",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
|
|
|
dependencies = [
|
|
|
|
"siphasher",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.9"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.3.25"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
|
2021-06-21 11:45:18 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "polling"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "2.2.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2021-03-25 19:05:16 +03:00
|
|
|
"cfg-if 1.0.0",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
|
|
|
"log",
|
2021-06-30 09:46:00 +03:00
|
|
|
"wepoll-ffi",
|
2021-02-09 22:06:47 +03:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.2.16"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pretty-bytes"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "009d6edd2c1dbf2e1c0cd48a2f7766e03498d49ada7109a01c6911815c685316"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"getopts",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error-attr",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
|
|
|
version = "0.5.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.39"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-06-03 12:14:38 +03:00
|
|
|
"unicode-ident",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.18"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.1.16",
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.2.2",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
"rand_hc",
|
|
|
|
"rand_pcg",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.8.5"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-03-23 11:08:35 +03:00
|
|
|
"rand_chacha 0.3.1",
|
2021-06-30 09:46:00 +03:00
|
|
|
"rand_core 0.6.3",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2021-06-30 09:46:00 +03:00
|
|
|
version = "0.3.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
2021-06-30 09:46:00 +03:00
|
|
|
"rand_core 0.6.3",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.1.16",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2021-06-30 09:46:00 +03:00
|
|
|
version = "0.6.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-06-14 19:32:19 +03:00
|
|
|
"getrandom 0.2.7",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[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",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.5.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
"crossbeam-deque",
|
|
|
|
"either",
|
|
|
|
"rayon-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.9.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.2.13"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.4.3"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-06-14 19:32:19 +03:00
|
|
|
"getrandom 0.2.7",
|
2022-06-03 12:14:38 +03:00
|
|
|
"redox_syscall",
|
2022-03-21 23:16:16 +03:00
|
|
|
"thiserror",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regalloc"
|
|
|
|
version = "0.0.31"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "571f7f397d61c4755285cd37853fe8e03271c243424a907415909379659381c5"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"rustc-hash",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.5.6"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.6.26"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64"
|
2021-06-30 09:46:00 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "region"
|
|
|
|
version = "2.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "877e54ea2adcd70d80e9179344c97f93ef0dffd6b03e1f4529e6e83ab2fa9ae0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"mach",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
|
|
|
version = "0.5.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
fix(status-bar): reflect actual current keybindings (#1242)
* status-bar: first_line: Use more generic var names
Rename all `CtrlKey...` to the equivalent `Key...` to make the name less
specific. It implies that all key bindings use Ctrl as modifier key,
which needn't necessarily be the case.
* status-bar: first_line: Refactor `ctrl_keys`
Removes lots of code duplication by `Unselect`ing all keys by default
and only `Select`ing what is actually required for a given Input mode.
* utils: conditionally compile unix-specific code
In `zellij_utils`, the following modules each contained code that was
previously targeting only the unix platform:
- consts: Works with unix-specific filesystem attributes to set e.g.
special file permissions. Also relies on having a UID.
- shared: Uses unix-specific filesystem attributes to set file
permissions
These will never work when targeting wasm. Hence the concerning code
passages have been moved into private submodules that are only compiled
and re-exported when the target isn't `#[cfg(unix)]`. The re-export
makes sure that crates from the outside that use `zellij_utils` work as
before, since from their point of view nothing has changed.
* utils: Share more modules with wasm
that work on both wasm and unix natively. This requires factoring out
bits of code in the `setup` and `input` modules into a private submodule
that is re-exported when the compilation target is *not* "wasm". The
following modules are now available to the wasm target:
- cli
- consts
- data
- envs
- input (partial)
- actions
- command
- configs
- keybinds
- layout
- options
- plugins
- theme
- pane_size
- position
- setup (partial)
- shared
The remaining modules unavailable to wasm have dependencies on crates
that cannot compile against wasm, such as `async_std` or `termwiz`.
* utils/input/keybinds_test: Fix import
of the `CharOrArrow` struct which is now part of the `data` submodule.
* utils/layout: Use global serde crate
Previously the code was decorated with `#[serde(crate = "self::serde")]`
statements which cannot be shared with wasm. Use the regular serde
without specifying which serde is meant.
* utils/data: Implement `fmt::Display` for `Key`
so the Keybindings can be displayed via `format!` and friends in e.g.
the status bar.
* tile/prelude: Re-export `actions`
submodule of `zellij_utils` so the plugins can access the `ModeKeybinds`
struct with all of its members.
* utils/data: Fix `ModeInfo::keybinds` type
and transfer a vector of `(Key, Vec<Action>)` to the plugins so they can
parse it themselves, instead of passing strings around. Due to the
requirement of the `Eq` trait derive on `ModeInfo` this requires
deriving `Eq` on all the types included by `Key` and `Action` as well.
Note that `Action` includes the `layout::SplitSize` structure as a
member. We cannot derive `Eq` here since `SplitSize::Percent(f64)`
cannot satisfy `Eq` because `f64` doesn't implement this. So we add a
new type to hack around this limitation by storing the percentage as
`u64` internally, scaled by a factor of 10 000 and transforming it to
f64 when needed. Refer to the documentation of `layout::Percent` for
further information.
* utils/data: Make `Key` sortable
so the keybindings can be sorted after their keys.
* WIP: utils/input: Make keybinds accessible
when generating `ModeInfo` structs.
* utils/data: Handle unprintable chars in `Key`
when displaying via the `fmt::Display` trait. Handles `\t` and `\n` and
represents them as UTF-8 arrow glyphs.
* HACK: utils/layout: Use u64 for SplitSize::Percent
The previous workaround using a custom `Percent` type fails at the
absolute latest when confronted with user layouts, since these do not
know about the scaling factor and will thus break. It still breaks
currently because `Percent` now expects a u64 (i.e. `50`, not `50.0`)
but this is more easily explained and understood.
* status-bar: Add helper macros
that retrieve the key bound to execute a sequence of `Action` given a
specific Keybinding, and a shorthand that expands to
`Action::SwitchToMode(InputMode::Normal)` used for pattern matching with
the `matches!` macro.
* status-bar/first_line: Get shared superkey if any
from the `ModeKeybindings` in the current `ModeInfo` struct. If the
configured keybindings for switching the modes don't have a superkey in
common, do not print a common prefix.
* status-bar/first_line: Add key to KeyShortcut
which is the key that must be pressed in the current mode to execute the
given shortcut (i.e. switch to the given mode).
* status-bar/first_line: Dynamically set mode binds
Read the keybindings for switching the modes to print in the first line
from the actually configured keybindings for the current mode. Add some
logic to the code that:
- Prints only the "single letter" of the keybinding if all mode-switch
shortcuts *share the same modifier key*,
- Or prints the whole keybinding (with modified) into each segment if
there is no common modifier key.
* status-bar/second_line: Display configured binds
Instead of showing some hard-coded default values. For each mode, reads
the keybindings from the configured keybindings based on some sequence
of action. For example, the keybinding for `New` in the `Pane` menu is
now determined by looking into the configured keybindings and finding
what key is bound to the `Action::NewPane(None)` action.
If no keybinding is found for a given sequence of actions, it will not
show up in the segments either.
* WIP: utils/keybinds: Make key order deterministic
by using a BTreeMap which by default has all of its elements in sorted
order internally. As of currently this doesn't seem to impress the order
in which the keybindings are sent to the plugins, though.
* utils/data: Reorder `Key` variants
to have the Arrow keys sorted as "left", "down", "up", "right" in
accordance with the display in e.g. the status bar.
* status-bar/first_line: Fix inverted `matches!`
when trying to obtain the keybindings to switch between the input modes.
Its initial purpose was to filter out all ' ', '\n' and 'Esc'
keybindings for switching modes (As these are the default and not of
interest for the status bar display), but it was not negated and thus
only filtered out the aforementioned keys.
* status-bar: Don't get all modeswitch keybinds
but only those that are displayed in the status bar. This currently
excludes the keybindings for Entering the Pane/TabRename mode, Tmux mode
and Prompt mode. We must explicitly exclude these since they aren't
bound to the same Modifiers as the regular keys. Thus, if we e.g. enter
Pane or Tab mode, it will pick up the
`SwitchToMode(InputMode::TabRename)` action as being bound to `c`, hence
the `superkey` function cannot find a common modifier, etc. But we don't
display the `TabRename` input mode in the first line anyway, so we must
ignore it.
Therefore, we additionally add the keybinding to call the `Action::Quit`
action to terminate zellij to the vector we return. Also remove the
`(Key, InputMode)` tuple and convert the return type to a plain
`Vec<Key>`, since the never worked with the `InputMode` in the first
place.
* status-bar/first_line: Fix output for tight screen
Implement the "Squeezed" display variant where we do not display which
of the modes each keybinding switches to, but only the keybinding
itself.
* status-bar/second_line: Remove trailing " / "
* status-bar/second-line: Refactor key hints
Instead of determining the appropriate key hints for every case
separately (i.e. enough space to show all, show shortened, shot
best-effort), create a central function that returns for the current
`InputMode` a Vector with tuples of:
- A String to show in full-length mode
- A String to show in shortened/best-effort mode
- The vector of keys that goes with this key hint
This allows all functions that need the hints to iterate over the vector
and pick whatever hint suits them along with the Keys to display.
* status-bar/second-line: Implement shortened hints
* utils/data: Fix display for `Key::Alt`
which previously printed only the internal char but not the modifier.
* status-bar/first-line: Add hidden Tmux tile
that is only shown when in Tmux mode. Note that with the default config
this "breaks" the shared superkey display, because it correctly
identifies that one can switch to Scroll mode via `[`.
* status-bar: Print superkey as part of first line
Instead of first obtaining the superkey and then the rest of the first
line to display. This way we don't need to split up individual data
structures and carry a boolean flag around multiple functions.
It also has the advantage that when the available space is really tight,
the first line is entirely empty and doesn't display a stale superkey
without any other keybinding hints.
* status-bar: Rework keybinding theming
Previously there were individual functions to create the tiles in the
first line depending on whether:
- A tile was selected, unselected, unselected alternate (for theming) or disabled, and
- Tiles had full length or were displayed shortened
In the first case, the functions that previously handled the theming
only differed in what theme they apply to the otherwise identical
content. Since the theming information was drawn from a flat structure
that simulated hierarchy by giving hierarchical names to its theme
"members", this couldn't be handled in code. In the second case, some of
the theming information needed for the full-length shortcuts was
replicated for the shortened shortcuts.
Instead, rewrite the general Theming structure into a hierarchical one:
Adds a new structure `SegmentStyle` that contains the style for a single
segment depending on whether it is selected, unselected (alternate) or
disabled. Refactor the `first-line` module to use a single function to
generate either full-length or shortened tiles, that does functionally
the same but switches themes based on the selection status of the tile
it themes.
* status-bar/second-line: Return new `LinePart`s
from the `add_shortcut` function instead of modifying the input
parameters.
* status-bar/second-line: Implement adaptive behavior
and make the keyhints adapt when the screen runs out of space. The hints
first become shortened and when necessary partially disappear to display
a "..." hint instead.
* status-bar/second-line: Show float pane binding
based on the keycombination that's really bound to switching into the
"Pane" input mode.
* status-bar/get_keys_and_hints: Add more modes
for the keybindings in Tmux and the Pane/TabRename input modes.
* status-bar/second-line: Unify mode handling
and don't do extra shortcut handling for Tmux and the Pane/TabRename
modes any longer. Instead, assemble this like for all other modes from
the keybinding and hints vector.
* status-bar/first-line: Refactor common modifier
to a separate function so it can be used by other modules, too.
* status-bar/second-line: Display modifier in hints
when available. For example, for bindings to move between panes when in
PaneRename mode, now displays "Alt + <hjkl>" instead of
"<Alt+hAlt+j...>".
* utils/ipc: Remove `Copy` from `ClientAttributes`
as preparation to add `Keybinds` as a member to the `ClientAttributes`
struct. `Keybinds` contains a `HashMap`, for which the `std` doesn't
derive `Copy` but only `Clone`.
* utils/input/keybinds: Fix import path
Import `Key` and `InputMode` directly from `data`.
* utils/ipc: Add `Keybinds` to `ClientAttributes`
so we can keep track, pre-client, of the configured key bindings and
pass them around further in the code.
* server/lib: Store `ClientAttributes` over `Style`
in `SessionMetadata` to be able to pass Keybindings to other places in
the code, too. Since `Style` is also a member of `ClientAttributes`,
this works with minimal modifications.
* utils/input: Change `get_mode_info` parameters
to take a `ClientAttributes` struct instead of merely the `Style`
information. This way we can get the `Style` from the
`ClientAttributes`, and also have access to the `keybinds` member that
stores the keybinding configuration.
* utils/ipc: Use `rmp` for serde of IPC messages
instead of `bincode`, which seemingly has issues (de)serializing
`HashMap`s and `BTreeMap`s since `deserialize_any` isn't implemented for
these types.
* fix(nix): remove `assets` from `gitignore`
Remove `assets` from the gitignore of the plugins themselves,
since every single plugin now depends on the asset being accessible
in its source directory.
* tests/e2e: Fix status bar in snapshots
to reflect the current state of the dynamic keybindings.
* status_bar/first_line: Don't show unbound modes
If switching to a specific mode isn't bound to a key, don't show a
tile/ribbon for it either. E.g. in `LOCKED` mode, this will only show
the tile for the `LOCK` mode and ignore all others.
* utils/data: Make 'Key::Char(' ') visible as "␣"
so the user doesn't only see a blank char but has an idea that the space
key is meant.
* status_bar/second_line: Remove extra hints
generated by the `hint_producing_function` that would tell the user in
every input mode how to get back to normal mode. Instead, add this as
keybinding to the general keybindings vector.
This removes some lines of duplicated code but most of all now applies
the correct theming to this keybinding. Additionally, previously the
`RenameTab` and `RenamePane` input modes would show the keybinding to
get back to normal mode twice and both of them were hardcoded. This
binding is now dynamically displayed based on what the user configured
as keybinding.
* utils/data: format unprintable chars as words
instead of unicode symbols. E.g. write "SPACE" instead of "␣".
* utils/data: Fix display for `Ctrl`/`Alt` keys
previously their "inner" chars would be displayed with a regular
`fmt::Display` for the `&str` type they are. This doesn't match what we
want to output. So instead we wrap the inner chars into `Key::Char`
before printing them.
* utils/data: Change order of `Key`s
so that e.g. for the default bindings in `Scroll` mode we prefer to show
`PgDn|PgUp` rather than the arrow keys these actions are bound to as
well.
* status_bar/first_line: Don't ignore default char
bindings by default. These include the '\n', ' ' and 'Esc' bindings that
by default lead back to `Normal` input mode from all the modes.
Previously we would unconditionally ignore them and consequently not
print the tile when in fact the user may have bound this particular
action to either of the keys.
Instead now we first ignore the keys mentioned and if we turn up with an
undefined binding, we consider these default keys as well so we get
*something* to display in any case.
* status_bar/first_line: Add space when no modifier
is shared between the keybindings. This way there isn't a stray arrow at
the very border of the screen, but it is spaced just like the tab-bar
and the second line is.
* status_bar/second_line: Print separators
between consecutive keys bound to specific actions. This allows the user
to visually differ between different keys.
* status_bar/main: Don't return modifier if empty
* status_bar/first_line: Don't suppress Disabled tiles
Disabled is a special state that the keybindings only assume in locked
mode. It turns the respective tiles grey to signal to the user that
these are currently inactive. With respect to users new to zellij, it
may appear confusing that when entering locked mode all the other tiles
disappear (which they do because they have no valid keybinding
assigned). Since we have no keybinding for them, we still display them
but without any associated key (i.e. as `<>` for the binding).
* status_bar/first_line: Don't print leading triangle
on first tile, when there is no shared superkey.
* status_bar/second_line: Add exceptions
for inter-key separators. Keeps groups of `hjkl` and arrow keys intact
(doesn't add separators between the keys) but separates all others.
* status_bar/main: Refactor `action_key`
to a regular function instead of a macro. It turns out that while being
able to match patterns is a nice feature, we completely rely on the keys
that drop out of the pattern found this way to be sorted in a sensible
way. Since we sort the key vectors in the necessary places after the
keys, and not the actions, this of course doesn't apply when the user
changes "hjkl" to "zjkl", which would then become "jklz". Now this is of
course wrong, because "z" still means "Move focus left", and not "Move
focus right".
With the function we now assume a slice of Actions that we match the
action vectors from the keybindings against to obtain the necessary
keys. In order to avoid ugly `into_iter().chain(...)` constructs we had
before we also add a new function `action_key_group` that takes a sliced
array of slices to get a whole group of keys to display.
* status_bar/first_line: Fix "triangle" for short tiles
since we do not want to display a colored triangle at the start of the
line when in sortened mode (just as we do for the long tiles now).
Also fix a bug that would make the triangle reappear when the first
keybinding to be displayed didn't have a key assigned and thus wouldn't
be displayed at all.
* status_bar/second_line: Fix typo
that would cause single `Ctrl+?` bindings for actions in the second line
to be displayed as `Ctrl + <Ctrl+?>`.
* status_bar/second_line: Fix char count
when displaying groups of keys in a binding with or without a separator.
* status_bar: Use new `action_key` fn
instead of the previous macro to obtain the keys to display in the
status bar in a fixed given order. Also fix the display "bug" where tab
switching would be shows as "ArrowLeft/ArrowDown" instead of
"ArrowLeft/ArrowRight".
* status_bar/second_line: Fix floating pane hint
that tells the user what keybinding to press to suppress the currently
active floating panes. This was previously hardcoded.
* utils: Send full keybinds in `ModeInfo`
instead of the currently active `ModeKeybinds` for the active input
mode. Some of the UI issues cannot be solved without having access to
*all* keybindings.
* utils: Refactor keybinds vec into type
to make clippy happy.
* status_bar/first_line: Remove needless borrows
* status_bar: Factor out printing keybindings
into a separate function that takes a vector of keys and a palette and
returns the painted key groups, with correct inter-character separation
where necessary and factoring out common modifier keys.
* status_bar/tip: Use real keybindings
instead of printing hard-coded messages to the user.
* status_bar: abort early when keyvector is empty
in `style_key_with_modifier`.
* status_bar/tip: Fix all keybindings
and make them dynamic given the keybindings really active in the current
session. Also display **UNBOUND** is some keybinding is missing from the
users config.
* status_bar: Go clippy!
* status_bar: Add documentation
and add a new exception group to `action_key_group` that ensures that
`hl` and `jk` won't be separated with `|`.
* status_bar/tip: Detect when key aren't bound
correctly and show "UNBOUND" as keyhint instead, then. Previously we
would only check the length of the whole keybinding segment, but that
isn't a good indicator since most of the bindings require changing modes
first, which already adds a variable number of letters to the segment.
However, there is not point in showing how to get to a certain mode, if
the binding needed in that mode doesn't exist.
* status_bar/first_line: Show bindings when locked
if the user has any configured.
* status_bar: Don't consider 'hl', 'jk' groups
that don't need a separator in between the letters.
* status_bar/second_line: Add "search" keybindings
for the new Search functionality.
* tests/e2e: Fix snapshots
with what the status bar now really displays.
* status_bar: Remove old comments
* status_bar/first_line: Rename 'long_tile'
to the more descriptive name 'mode_shortcut', which better describes
what this function does.
* status_bar/first_line: Fix spacing in simple UI
where the modifier would be shows as `Ctrl +`, without a trailing space.
This isn't an issue in regular mode, where we have the spacing from the
arrow gaps (`>>`) that "simulates" this effect.
* status_bar: Refactor and rename `ctrl_keys`
so it doesn't rely on some "external" index for operation any more.
* status_bar: Add unit tests to shared functions
and fix a bug in the process where certain `Ctrl` keybindings would be
displayed wrong.
* status_bar/first_line: Rename functions
responsible for printing the long and short shortcut keyhint tiles. Also
add some documentation that explains their purpose and the arguments
they accept.
* status_bar/tips: Remove stray "/" in quicknav tip
* utils/layout: Remove old comments
introduced when rewriting `SplitSize::Percent` to not hold an `f64`
type.
* status_bar: Add "regex" as test dependency
We use regular expressions to strip all ANSI escape sequences in the
strings that are produced by the plugin functions during testing. We do
not test for the style information, but merely for the raw text.
* status_bar: Implement unit tests
* Makefile: Always run tests on host triple
This allows the unit tests for all plugins to be run on the host as well
(because their default compilation target is wasm32-wasi).
* tests/e2e: Add test for custom bindings
in the status bar. Makes sure that the modified bindings from a custom
configuration file are read and applied to the UI.
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-07-27 17:48:35 +03: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"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "25786b0d276110195fa3d6f3f31299900cf71dfbd6c28450f3f58a0e7f7a347e"
|
|
|
|
dependencies = [
|
|
|
|
"byteorder",
|
|
|
|
"rmp",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.1.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.10"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6"
|
|
|
|
dependencies = [
|
|
|
|
"semver-parser",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "semver-parser"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7"
|
|
|
|
dependencies = [
|
|
|
|
"pest",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.137"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde_derive",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde-value"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c"
|
|
|
|
dependencies = [
|
|
|
|
"ordered-float",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "serde_bytes"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.11.6"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "212e73464ebcde48d723aa02eb270ba62eff38a9b732df31f33f1b4e145f3a54"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.137"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_yaml"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.8.24"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2021-10-26 20:43:17 +03:00
|
|
|
"indexmap",
|
2022-03-16 13:29:04 +03:00
|
|
|
"ryu",
|
2021-02-09 22:06:47 +03:00
|
|
|
"serde",
|
|
|
|
"yaml-rust",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
|
|
|
|
dependencies = [
|
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
|
|
|
"fake-simd",
|
|
|
|
"opaque-debug 0.2.3",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
|
|
|
version = "0.9.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
|
|
|
|
dependencies = [
|
2022-04-07 19:47:36 +03:00
|
|
|
"block-buffer 0.9.0",
|
2022-03-23 11:08:35 +03:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"cpufeatures",
|
2022-04-07 19:47:36 +03:00
|
|
|
"digest 0.9.0",
|
|
|
|
"opaque-debug 0.3.0",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook"
|
|
|
|
version = "0.1.17"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7e31d442c16f047a671b5a71e2161d6e68814012b7f5379d269ebd915fac2729"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"signal-hook-registry",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "signal-hook"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.3.14"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"signal-hook-registry",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "signal-hook-registry"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "1.4.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2021-02-10 01:19:34 +03:00
|
|
|
[[package]]
|
|
|
|
name = "similar"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "2.1.0"
|
2021-02-10 01:19:34 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "2e24979f63a11545f5f2c60141afe249d4f19f84581ea2138065e400941d83d3"
|
2021-02-10 01:19:34 +03:00
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
|
|
|
version = "0.3.10"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
|
|
|
|
2022-07-08 18:19:42 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sixel-image"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "84880b5da046b87741b9bad6ee916919d5548cca182f009b3a240e20a7f7c99f"
|
|
|
|
dependencies = [
|
|
|
|
"sixel-tokenizer",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "sixel-tokenizer"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b71b7f6629ac964d60179c1fb00dfb80da265fc3465a17245e26c1eaf678d476"
|
|
|
|
dependencies = [
|
|
|
|
"arrayvec 0.7.2",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.4.6"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "eb703cfe953bccee95685111adeedb76fabe4e97549a58d16f03ea7b9367bb32"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.8.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "smawk"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043"
|
|
|
|
|
2021-02-26 12:09:54 +03:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.4.4"
|
2021-02-26 12:09:54 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0"
|
2021-02-26 12:09:54 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "spinning"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2d4f0e86297cad2658d92a707320d87bf4e6ae1050287f51d19b67ef3f153a7b"
|
|
|
|
dependencies = [
|
2021-10-26 20:43:17 +03:00
|
|
|
"lock_api",
|
2021-06-21 11:45:18 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "ssh2"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.9.3"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "269343e64430067a14937ae0e3c4ec604c178fb896dde0964b1acd22b3e2eeb1"
|
2021-06-21 11:45:18 +03:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"libssh2-sys",
|
2022-06-03 12:14:38 +03:00
|
|
|
"parking_lot 0.11.2",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "status-bar"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"ansi_term",
|
2021-02-09 22:06:47 +03:00
|
|
|
"colored",
|
2021-12-09 20:53:46 +03:00
|
|
|
"lazy_static",
|
2022-03-16 13:29:04 +03:00
|
|
|
"rand 0.8.5",
|
fix(status-bar): reflect actual current keybindings (#1242)
* status-bar: first_line: Use more generic var names
Rename all `CtrlKey...` to the equivalent `Key...` to make the name less
specific. It implies that all key bindings use Ctrl as modifier key,
which needn't necessarily be the case.
* status-bar: first_line: Refactor `ctrl_keys`
Removes lots of code duplication by `Unselect`ing all keys by default
and only `Select`ing what is actually required for a given Input mode.
* utils: conditionally compile unix-specific code
In `zellij_utils`, the following modules each contained code that was
previously targeting only the unix platform:
- consts: Works with unix-specific filesystem attributes to set e.g.
special file permissions. Also relies on having a UID.
- shared: Uses unix-specific filesystem attributes to set file
permissions
These will never work when targeting wasm. Hence the concerning code
passages have been moved into private submodules that are only compiled
and re-exported when the target isn't `#[cfg(unix)]`. The re-export
makes sure that crates from the outside that use `zellij_utils` work as
before, since from their point of view nothing has changed.
* utils: Share more modules with wasm
that work on both wasm and unix natively. This requires factoring out
bits of code in the `setup` and `input` modules into a private submodule
that is re-exported when the compilation target is *not* "wasm". The
following modules are now available to the wasm target:
- cli
- consts
- data
- envs
- input (partial)
- actions
- command
- configs
- keybinds
- layout
- options
- plugins
- theme
- pane_size
- position
- setup (partial)
- shared
The remaining modules unavailable to wasm have dependencies on crates
that cannot compile against wasm, such as `async_std` or `termwiz`.
* utils/input/keybinds_test: Fix import
of the `CharOrArrow` struct which is now part of the `data` submodule.
* utils/layout: Use global serde crate
Previously the code was decorated with `#[serde(crate = "self::serde")]`
statements which cannot be shared with wasm. Use the regular serde
without specifying which serde is meant.
* utils/data: Implement `fmt::Display` for `Key`
so the Keybindings can be displayed via `format!` and friends in e.g.
the status bar.
* tile/prelude: Re-export `actions`
submodule of `zellij_utils` so the plugins can access the `ModeKeybinds`
struct with all of its members.
* utils/data: Fix `ModeInfo::keybinds` type
and transfer a vector of `(Key, Vec<Action>)` to the plugins so they can
parse it themselves, instead of passing strings around. Due to the
requirement of the `Eq` trait derive on `ModeInfo` this requires
deriving `Eq` on all the types included by `Key` and `Action` as well.
Note that `Action` includes the `layout::SplitSize` structure as a
member. We cannot derive `Eq` here since `SplitSize::Percent(f64)`
cannot satisfy `Eq` because `f64` doesn't implement this. So we add a
new type to hack around this limitation by storing the percentage as
`u64` internally, scaled by a factor of 10 000 and transforming it to
f64 when needed. Refer to the documentation of `layout::Percent` for
further information.
* utils/data: Make `Key` sortable
so the keybindings can be sorted after their keys.
* WIP: utils/input: Make keybinds accessible
when generating `ModeInfo` structs.
* utils/data: Handle unprintable chars in `Key`
when displaying via the `fmt::Display` trait. Handles `\t` and `\n` and
represents them as UTF-8 arrow glyphs.
* HACK: utils/layout: Use u64 for SplitSize::Percent
The previous workaround using a custom `Percent` type fails at the
absolute latest when confronted with user layouts, since these do not
know about the scaling factor and will thus break. It still breaks
currently because `Percent` now expects a u64 (i.e. `50`, not `50.0`)
but this is more easily explained and understood.
* status-bar: Add helper macros
that retrieve the key bound to execute a sequence of `Action` given a
specific Keybinding, and a shorthand that expands to
`Action::SwitchToMode(InputMode::Normal)` used for pattern matching with
the `matches!` macro.
* status-bar/first_line: Get shared superkey if any
from the `ModeKeybindings` in the current `ModeInfo` struct. If the
configured keybindings for switching the modes don't have a superkey in
common, do not print a common prefix.
* status-bar/first_line: Add key to KeyShortcut
which is the key that must be pressed in the current mode to execute the
given shortcut (i.e. switch to the given mode).
* status-bar/first_line: Dynamically set mode binds
Read the keybindings for switching the modes to print in the first line
from the actually configured keybindings for the current mode. Add some
logic to the code that:
- Prints only the "single letter" of the keybinding if all mode-switch
shortcuts *share the same modifier key*,
- Or prints the whole keybinding (with modified) into each segment if
there is no common modifier key.
* status-bar/second_line: Display configured binds
Instead of showing some hard-coded default values. For each mode, reads
the keybindings from the configured keybindings based on some sequence
of action. For example, the keybinding for `New` in the `Pane` menu is
now determined by looking into the configured keybindings and finding
what key is bound to the `Action::NewPane(None)` action.
If no keybinding is found for a given sequence of actions, it will not
show up in the segments either.
* WIP: utils/keybinds: Make key order deterministic
by using a BTreeMap which by default has all of its elements in sorted
order internally. As of currently this doesn't seem to impress the order
in which the keybindings are sent to the plugins, though.
* utils/data: Reorder `Key` variants
to have the Arrow keys sorted as "left", "down", "up", "right" in
accordance with the display in e.g. the status bar.
* status-bar/first_line: Fix inverted `matches!`
when trying to obtain the keybindings to switch between the input modes.
Its initial purpose was to filter out all ' ', '\n' and 'Esc'
keybindings for switching modes (As these are the default and not of
interest for the status bar display), but it was not negated and thus
only filtered out the aforementioned keys.
* status-bar: Don't get all modeswitch keybinds
but only those that are displayed in the status bar. This currently
excludes the keybindings for Entering the Pane/TabRename mode, Tmux mode
and Prompt mode. We must explicitly exclude these since they aren't
bound to the same Modifiers as the regular keys. Thus, if we e.g. enter
Pane or Tab mode, it will pick up the
`SwitchToMode(InputMode::TabRename)` action as being bound to `c`, hence
the `superkey` function cannot find a common modifier, etc. But we don't
display the `TabRename` input mode in the first line anyway, so we must
ignore it.
Therefore, we additionally add the keybinding to call the `Action::Quit`
action to terminate zellij to the vector we return. Also remove the
`(Key, InputMode)` tuple and convert the return type to a plain
`Vec<Key>`, since the never worked with the `InputMode` in the first
place.
* status-bar/first_line: Fix output for tight screen
Implement the "Squeezed" display variant where we do not display which
of the modes each keybinding switches to, but only the keybinding
itself.
* status-bar/second_line: Remove trailing " / "
* status-bar/second-line: Refactor key hints
Instead of determining the appropriate key hints for every case
separately (i.e. enough space to show all, show shortened, shot
best-effort), create a central function that returns for the current
`InputMode` a Vector with tuples of:
- A String to show in full-length mode
- A String to show in shortened/best-effort mode
- The vector of keys that goes with this key hint
This allows all functions that need the hints to iterate over the vector
and pick whatever hint suits them along with the Keys to display.
* status-bar/second-line: Implement shortened hints
* utils/data: Fix display for `Key::Alt`
which previously printed only the internal char but not the modifier.
* status-bar/first-line: Add hidden Tmux tile
that is only shown when in Tmux mode. Note that with the default config
this "breaks" the shared superkey display, because it correctly
identifies that one can switch to Scroll mode via `[`.
* status-bar: Print superkey as part of first line
Instead of first obtaining the superkey and then the rest of the first
line to display. This way we don't need to split up individual data
structures and carry a boolean flag around multiple functions.
It also has the advantage that when the available space is really tight,
the first line is entirely empty and doesn't display a stale superkey
without any other keybinding hints.
* status-bar: Rework keybinding theming
Previously there were individual functions to create the tiles in the
first line depending on whether:
- A tile was selected, unselected, unselected alternate (for theming) or disabled, and
- Tiles had full length or were displayed shortened
In the first case, the functions that previously handled the theming
only differed in what theme they apply to the otherwise identical
content. Since the theming information was drawn from a flat structure
that simulated hierarchy by giving hierarchical names to its theme
"members", this couldn't be handled in code. In the second case, some of
the theming information needed for the full-length shortcuts was
replicated for the shortened shortcuts.
Instead, rewrite the general Theming structure into a hierarchical one:
Adds a new structure `SegmentStyle` that contains the style for a single
segment depending on whether it is selected, unselected (alternate) or
disabled. Refactor the `first-line` module to use a single function to
generate either full-length or shortened tiles, that does functionally
the same but switches themes based on the selection status of the tile
it themes.
* status-bar/second-line: Return new `LinePart`s
from the `add_shortcut` function instead of modifying the input
parameters.
* status-bar/second-line: Implement adaptive behavior
and make the keyhints adapt when the screen runs out of space. The hints
first become shortened and when necessary partially disappear to display
a "..." hint instead.
* status-bar/second-line: Show float pane binding
based on the keycombination that's really bound to switching into the
"Pane" input mode.
* status-bar/get_keys_and_hints: Add more modes
for the keybindings in Tmux and the Pane/TabRename input modes.
* status-bar/second-line: Unify mode handling
and don't do extra shortcut handling for Tmux and the Pane/TabRename
modes any longer. Instead, assemble this like for all other modes from
the keybinding and hints vector.
* status-bar/first-line: Refactor common modifier
to a separate function so it can be used by other modules, too.
* status-bar/second-line: Display modifier in hints
when available. For example, for bindings to move between panes when in
PaneRename mode, now displays "Alt + <hjkl>" instead of
"<Alt+hAlt+j...>".
* utils/ipc: Remove `Copy` from `ClientAttributes`
as preparation to add `Keybinds` as a member to the `ClientAttributes`
struct. `Keybinds` contains a `HashMap`, for which the `std` doesn't
derive `Copy` but only `Clone`.
* utils/input/keybinds: Fix import path
Import `Key` and `InputMode` directly from `data`.
* utils/ipc: Add `Keybinds` to `ClientAttributes`
so we can keep track, pre-client, of the configured key bindings and
pass them around further in the code.
* server/lib: Store `ClientAttributes` over `Style`
in `SessionMetadata` to be able to pass Keybindings to other places in
the code, too. Since `Style` is also a member of `ClientAttributes`,
this works with minimal modifications.
* utils/input: Change `get_mode_info` parameters
to take a `ClientAttributes` struct instead of merely the `Style`
information. This way we can get the `Style` from the
`ClientAttributes`, and also have access to the `keybinds` member that
stores the keybinding configuration.
* utils/ipc: Use `rmp` for serde of IPC messages
instead of `bincode`, which seemingly has issues (de)serializing
`HashMap`s and `BTreeMap`s since `deserialize_any` isn't implemented for
these types.
* fix(nix): remove `assets` from `gitignore`
Remove `assets` from the gitignore of the plugins themselves,
since every single plugin now depends on the asset being accessible
in its source directory.
* tests/e2e: Fix status bar in snapshots
to reflect the current state of the dynamic keybindings.
* status_bar/first_line: Don't show unbound modes
If switching to a specific mode isn't bound to a key, don't show a
tile/ribbon for it either. E.g. in `LOCKED` mode, this will only show
the tile for the `LOCK` mode and ignore all others.
* utils/data: Make 'Key::Char(' ') visible as "␣"
so the user doesn't only see a blank char but has an idea that the space
key is meant.
* status_bar/second_line: Remove extra hints
generated by the `hint_producing_function` that would tell the user in
every input mode how to get back to normal mode. Instead, add this as
keybinding to the general keybindings vector.
This removes some lines of duplicated code but most of all now applies
the correct theming to this keybinding. Additionally, previously the
`RenameTab` and `RenamePane` input modes would show the keybinding to
get back to normal mode twice and both of them were hardcoded. This
binding is now dynamically displayed based on what the user configured
as keybinding.
* utils/data: format unprintable chars as words
instead of unicode symbols. E.g. write "SPACE" instead of "␣".
* utils/data: Fix display for `Ctrl`/`Alt` keys
previously their "inner" chars would be displayed with a regular
`fmt::Display` for the `&str` type they are. This doesn't match what we
want to output. So instead we wrap the inner chars into `Key::Char`
before printing them.
* utils/data: Change order of `Key`s
so that e.g. for the default bindings in `Scroll` mode we prefer to show
`PgDn|PgUp` rather than the arrow keys these actions are bound to as
well.
* status_bar/first_line: Don't ignore default char
bindings by default. These include the '\n', ' ' and 'Esc' bindings that
by default lead back to `Normal` input mode from all the modes.
Previously we would unconditionally ignore them and consequently not
print the tile when in fact the user may have bound this particular
action to either of the keys.
Instead now we first ignore the keys mentioned and if we turn up with an
undefined binding, we consider these default keys as well so we get
*something* to display in any case.
* status_bar/first_line: Add space when no modifier
is shared between the keybindings. This way there isn't a stray arrow at
the very border of the screen, but it is spaced just like the tab-bar
and the second line is.
* status_bar/second_line: Print separators
between consecutive keys bound to specific actions. This allows the user
to visually differ between different keys.
* status_bar/main: Don't return modifier if empty
* status_bar/first_line: Don't suppress Disabled tiles
Disabled is a special state that the keybindings only assume in locked
mode. It turns the respective tiles grey to signal to the user that
these are currently inactive. With respect to users new to zellij, it
may appear confusing that when entering locked mode all the other tiles
disappear (which they do because they have no valid keybinding
assigned). Since we have no keybinding for them, we still display them
but without any associated key (i.e. as `<>` for the binding).
* status_bar/first_line: Don't print leading triangle
on first tile, when there is no shared superkey.
* status_bar/second_line: Add exceptions
for inter-key separators. Keeps groups of `hjkl` and arrow keys intact
(doesn't add separators between the keys) but separates all others.
* status_bar/main: Refactor `action_key`
to a regular function instead of a macro. It turns out that while being
able to match patterns is a nice feature, we completely rely on the keys
that drop out of the pattern found this way to be sorted in a sensible
way. Since we sort the key vectors in the necessary places after the
keys, and not the actions, this of course doesn't apply when the user
changes "hjkl" to "zjkl", which would then become "jklz". Now this is of
course wrong, because "z" still means "Move focus left", and not "Move
focus right".
With the function we now assume a slice of Actions that we match the
action vectors from the keybindings against to obtain the necessary
keys. In order to avoid ugly `into_iter().chain(...)` constructs we had
before we also add a new function `action_key_group` that takes a sliced
array of slices to get a whole group of keys to display.
* status_bar/first_line: Fix "triangle" for short tiles
since we do not want to display a colored triangle at the start of the
line when in sortened mode (just as we do for the long tiles now).
Also fix a bug that would make the triangle reappear when the first
keybinding to be displayed didn't have a key assigned and thus wouldn't
be displayed at all.
* status_bar/second_line: Fix typo
that would cause single `Ctrl+?` bindings for actions in the second line
to be displayed as `Ctrl + <Ctrl+?>`.
* status_bar/second_line: Fix char count
when displaying groups of keys in a binding with or without a separator.
* status_bar: Use new `action_key` fn
instead of the previous macro to obtain the keys to display in the
status bar in a fixed given order. Also fix the display "bug" where tab
switching would be shows as "ArrowLeft/ArrowDown" instead of
"ArrowLeft/ArrowRight".
* status_bar/second_line: Fix floating pane hint
that tells the user what keybinding to press to suppress the currently
active floating panes. This was previously hardcoded.
* utils: Send full keybinds in `ModeInfo`
instead of the currently active `ModeKeybinds` for the active input
mode. Some of the UI issues cannot be solved without having access to
*all* keybindings.
* utils: Refactor keybinds vec into type
to make clippy happy.
* status_bar/first_line: Remove needless borrows
* status_bar: Factor out printing keybindings
into a separate function that takes a vector of keys and a palette and
returns the painted key groups, with correct inter-character separation
where necessary and factoring out common modifier keys.
* status_bar/tip: Use real keybindings
instead of printing hard-coded messages to the user.
* status_bar: abort early when keyvector is empty
in `style_key_with_modifier`.
* status_bar/tip: Fix all keybindings
and make them dynamic given the keybindings really active in the current
session. Also display **UNBOUND** is some keybinding is missing from the
users config.
* status_bar: Go clippy!
* status_bar: Add documentation
and add a new exception group to `action_key_group` that ensures that
`hl` and `jk` won't be separated with `|`.
* status_bar/tip: Detect when key aren't bound
correctly and show "UNBOUND" as keyhint instead, then. Previously we
would only check the length of the whole keybinding segment, but that
isn't a good indicator since most of the bindings require changing modes
first, which already adds a variable number of letters to the segment.
However, there is not point in showing how to get to a certain mode, if
the binding needed in that mode doesn't exist.
* status_bar/first_line: Show bindings when locked
if the user has any configured.
* status_bar: Don't consider 'hl', 'jk' groups
that don't need a separator in between the letters.
* status_bar/second_line: Add "search" keybindings
for the new Search functionality.
* tests/e2e: Fix snapshots
with what the status bar now really displays.
* status_bar: Remove old comments
* status_bar/first_line: Rename 'long_tile'
to the more descriptive name 'mode_shortcut', which better describes
what this function does.
* status_bar/first_line: Fix spacing in simple UI
where the modifier would be shows as `Ctrl +`, without a trailing space.
This isn't an issue in regular mode, where we have the spacing from the
arrow gaps (`>>`) that "simulates" this effect.
* status_bar: Refactor and rename `ctrl_keys`
so it doesn't rely on some "external" index for operation any more.
* status_bar: Add unit tests to shared functions
and fix a bug in the process where certain `Ctrl` keybindings would be
displayed wrong.
* status_bar/first_line: Rename functions
responsible for printing the long and short shortcut keyhint tiles. Also
add some documentation that explains their purpose and the arguments
they accept.
* status_bar/tips: Remove stray "/" in quicknav tip
* utils/layout: Remove old comments
introduced when rewriting `SplitSize::Percent` to not hold an `f64`
type.
* status_bar: Add "regex" as test dependency
We use regular expressions to strip all ANSI escape sequences in the
strings that are produced by the plugin functions during testing. We do
not test for the style information, but merely for the raw text.
* status_bar: Implement unit tests
* Makefile: Always run tests on host triple
This allows the unit tests for all plugins to be run on the host as well
(because their default compilation target is wasm32-wasi).
* tests/e2e: Add test for custom bindings
in the status bar. Makes sure that the modified bindings from a custom
configuration file are read and applied to the UI.
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-07-27 17:48:35 +03:00
|
|
|
"regex",
|
2021-12-09 20:53:46 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"thiserror",
|
2021-02-09 22:06:47 +03:00
|
|
|
"zellij-tile",
|
2021-05-05 01:31:30 +03:00
|
|
|
"zellij-tile-utils",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strider"
|
|
|
|
version = "0.2.0"
|
|
|
|
dependencies = [
|
|
|
|
"colored",
|
|
|
|
"pretty-bytes",
|
|
|
|
"zellij-tile",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strip-ansi-escapes"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.1.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-09-03 21:11:56 +03:00
|
|
|
"vte 0.10.1",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2021-02-26 12:09:54 +03:00
|
|
|
version = "0.10.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-26 12:09:54 +03:00
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
|
|
|
version = "0.20.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7318c509b5ba57f18533982607f24070a55d353e90d4cae30c467cdb2ad5ac5c"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
|
|
|
version = "0.20.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149"
|
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"heck 0.3.3",
|
2021-02-09 22:06:47 +03:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-11-08 03:12:31 +03:00
|
|
|
[[package]]
|
2022-05-10 17:39:28 +03:00
|
|
|
name = "suggest"
|
|
|
|
version = "0.4.0"
|
2021-11-08 03:12:31 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-10 17:39:28 +03:00
|
|
|
checksum = "2558d0d6327d908558f161bc862d365c0d33aa796bdc81c13c0f954868576659"
|
2021-11-08 03:12:31 +03:00
|
|
|
dependencies = [
|
2022-03-16 13:29:04 +03:00
|
|
|
"clap",
|
2021-11-08 03:12:31 +03:00
|
|
|
"lev_distance",
|
|
|
|
]
|
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "supports-color"
|
|
|
|
version = "1.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4872ced36b91d47bae8a214a683fe54e7078875b399dfa251df346c9b547d1f9"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"is_ci",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-hyperlinks"
|
|
|
|
version = "1.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "590b34f7c5f01ecc9d78dba4b3f445f31df750a67621cf31626f3b7441ce6406"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "supports-unicode"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8b945e45b417b125a8ec51f1b7df2f8df7920367700d1f98aedd21e5735f8b2"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.96"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-06-03 12:14:38 +03:00
|
|
|
"unicode-ident",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2022-01-13 14:41:13 +03:00
|
|
|
[[package]]
|
|
|
|
name = "sysinfo"
|
|
|
|
version = "0.22.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7f1bfab07306a27332451a662ca9c8156e3a9986f82660ba9c8e744fe8455d43"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"ntapi",
|
|
|
|
"once_cell",
|
|
|
|
"rayon",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-21 02:19:05 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tab-bar"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"ansi_term",
|
2021-02-21 02:19:05 +03:00
|
|
|
"colored",
|
2021-09-12 21:29:07 +03:00
|
|
|
"unicode-width",
|
2021-02-21 02:19:05 +03:00
|
|
|
"zellij-tile",
|
2021-05-05 01:31:30 +03:00
|
|
|
"zellij-tile-utils",
|
2021-02-21 02:19:05 +03:00
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "target-lexicon"
|
2021-02-26 12:09:54 +03:00
|
|
|
version = "0.11.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-26 12:09:54 +03:00
|
|
|
checksum = "422045212ea98508ae3d28025bc5aaa2bd4a9cdaecd442a08da2ee620ee9ea95"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "3.3.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
2022-03-16 13:29:04 +03:00
|
|
|
"fastrand",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
2022-06-03 12:14:38 +03:00
|
|
|
"redox_syscall",
|
2021-02-09 22:06:47 +03:00
|
|
|
"remove_dir_all",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-01-23 22:59:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.1.3"
|
2022-01-23 22:59:03 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
|
2022-01-23 22:59:03 +03:00
|
|
|
dependencies = [
|
|
|
|
"winapi-util",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "terminal_size"
|
2021-06-04 12:28:03 +03:00
|
|
|
version = "0.1.17"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 12:28:03 +03:00
|
|
|
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2022-03-23 11:08:35 +03:00
|
|
|
name = "terminfo"
|
|
|
|
version = "0.7.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "76971977e6121664ec1b960d1313aacfa75642adc93b9d4d53b247bd4cb1747e"
|
|
|
|
dependencies = [
|
|
|
|
"dirs",
|
|
|
|
"fnv",
|
2022-10-05 08:44:00 +03:00
|
|
|
"nom 5.1.2",
|
2022-03-23 11:08:35 +03:00
|
|
|
"phf",
|
|
|
|
"phf_codegen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "termios"
|
|
|
|
version = "0.3.3"
|
2021-02-10 14:56:13 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-23 11:08:35 +03:00
|
|
|
checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-03-23 11:08:35 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "termwiz"
|
2022-04-07 19:47:36 +03:00
|
|
|
version = "0.16.0"
|
2022-03-23 11:08:35 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-07 19:47:36 +03:00
|
|
|
checksum = "8b5d95fe2dbccda80669b3e52d78d4c3572573675134538793b4e0bb771648dc"
|
2022-03-23 11:08:35 +03:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"base64",
|
|
|
|
"bitflags",
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"filedescriptor",
|
|
|
|
"hex",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"memmem",
|
2022-04-07 19:47:36 +03:00
|
|
|
"nix",
|
2022-03-23 11:08:35 +03:00
|
|
|
"num-derive",
|
|
|
|
"num-traits",
|
|
|
|
"ordered-float",
|
2022-04-07 19:47:36 +03:00
|
|
|
"pest",
|
|
|
|
"pest_derive",
|
2022-03-23 11:08:35 +03:00
|
|
|
"regex",
|
|
|
|
"semver",
|
|
|
|
"sha2",
|
|
|
|
"signal-hook 0.1.17",
|
|
|
|
"terminfo",
|
|
|
|
"termios",
|
|
|
|
"thiserror",
|
|
|
|
"ucd-trie",
|
|
|
|
"unicode-segmentation",
|
|
|
|
"vtparse",
|
2022-04-07 19:47:36 +03:00
|
|
|
"wezterm-bidi",
|
|
|
|
"wezterm-color-types",
|
2022-03-23 11:08:35 +03:00
|
|
|
"winapi",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2022-01-23 22:59:03 +03:00
|
|
|
version = "0.14.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-23 22:59:03 +03:00
|
|
|
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
|
2022-03-13 14:46:03 +03:00
|
|
|
dependencies = [
|
|
|
|
"smawk",
|
|
|
|
"unicode-linebreak",
|
|
|
|
"unicode-width",
|
|
|
|
]
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-03-16 13:29:04 +03:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
|
|
|
version = "0.15.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.31"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.0.31"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
|
|
|
name = "thread-id"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "4.0.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "5fdfe0627923f7411a43ec9ec9c39c3a9b4151be313e0922042581fb6c9b717f"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-06-03 12:14:38 +03:00
|
|
|
"redox_syscall",
|
2021-06-30 09:46:00 +03:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2021-07-14 09:22:11 +03:00
|
|
|
version = "0.1.44"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-14 09:22:11 +03:00
|
|
|
checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2022-03-23 11:08:35 +03:00
|
|
|
"wasi 0.10.0+wasi-snapshot-preview1",
|
2021-02-09 22:06:47 +03:00
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.6.0"
|
2021-09-22 20:13:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
2021-09-22 20:13:21 +03:00
|
|
|
dependencies = [
|
|
|
|
"tinyvec_macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tinyvec_macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.1.35"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"log",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tracing-attributes",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.1.21"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "cc6b8ad3567499f98a1db7a752b07a7c8c7c7c34c332ec00effb2b0027974b7c"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.1.27"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-06-14 19:32:19 +03:00
|
|
|
"once_cell",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
2022-10-19 10:23:56 +03:00
|
|
|
name = "typemap-ors"
|
|
|
|
version = "1.0.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-19 10:23:56 +03:00
|
|
|
checksum = "a68c24b707f02dd18f1e4ccceb9d49f2058c2fb86384ef9972592904d7a28867"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
2022-10-19 10:23:56 +03:00
|
|
|
"unsafe-any-ors",
|
2021-06-30 09:46:00 +03:00
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
|
|
|
version = "1.15.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "typetag"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.1.8"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "4080564c5b2241b5bff53ab610082234e0c57b0417f4bd10596f183001505b8a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"erased-serde",
|
|
|
|
"inventory",
|
2022-03-16 13:29:04 +03:00
|
|
|
"once_cell",
|
2021-02-09 22:06:47 +03:00
|
|
|
"serde",
|
|
|
|
"typetag-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "typetag-impl"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.1.8"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "e60147782cc30833c05fba3bab1d9b5771b2685a2557672ac96fa5d154099c0e"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-trie"
|
|
|
|
version = "0.1.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "0.3.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-ident"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "1.0.1"
|
2021-09-22 20:13:21 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c"
|
2021-09-22 20:13:21 +03:00
|
|
|
|
2022-03-13 14:46:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-linebreak"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3a52dcaab0c48d931f7cc8ef826fa51690a08e1ea55117ef26f89864f532383f"
|
|
|
|
dependencies = [
|
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
|
|
|
version = "0.1.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
|
|
|
|
dependencies = [
|
|
|
|
"tinyvec",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "1.9.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2021-10-26 20:43:17 +03:00
|
|
|
version = "0.1.9"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-26 20:43:17 +03:00
|
|
|
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2021-06-30 09:46:00 +03:00
|
|
|
[[package]]
|
2022-10-19 10:23:56 +03:00
|
|
|
name = "unsafe-any-ors"
|
|
|
|
version = "1.0.0"
|
2021-06-30 09:46:00 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-10-19 10:23:56 +03:00
|
|
|
checksum = "e0a303d30665362d9680d7d91d78b23f5f899504d4f08b3c4cf08d055d87c0ad"
|
2021-06-30 09:46:00 +03:00
|
|
|
dependencies = [
|
2022-10-19 10:23:56 +03:00
|
|
|
"destructure_traitobject",
|
2021-06-30 09:46:00 +03:00
|
|
|
]
|
|
|
|
|
2021-09-22 20:13:21 +03:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
|
|
|
version = "2.2.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
|
|
|
|
dependencies = [
|
|
|
|
"form_urlencoded",
|
|
|
|
"idna",
|
|
|
|
"matches",
|
|
|
|
"percent-encoding",
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "936e4b492acfd135421d8dca4b1aa80a7bfc26e702ef3af710e0752684df5372"
|
|
|
|
|
2022-06-06 10:20:07 +03:00
|
|
|
[[package]]
|
|
|
|
name = "uuid"
|
|
|
|
version = "0.8.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
|
|
|
dependencies = [
|
2022-06-14 19:32:19 +03:00
|
|
|
"getrandom 0.2.7",
|
2022-06-06 10:20:07 +03:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "value-bag"
|
2022-05-09 19:32:36 +03:00
|
|
|
version = "1.0.0-alpha.9"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-09 19:32:36 +03:00
|
|
|
checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"ctor",
|
2021-06-04 12:28:03 +03:00
|
|
|
"version_check",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
2021-06-21 11:45:18 +03:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2021-06-30 09:46:00 +03:00
|
|
|
version = "0.2.15"
|
2021-06-21 11:45:18 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
|
2021-06-21 11:45:18 +03:00
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2022-03-16 13:29:04 +03:00
|
|
|
version = "0.9.4"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-16 13:29:04 +03:00
|
|
|
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
2021-05-07 17:03:45 +03:00
|
|
|
version = "0.10.1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-07 17:03:45 +03:00
|
|
|
checksum = "6cbce692ab4ca2f1f3047fcf732430249c0e971bfdd2b234cf2c47ad93af5983"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-07-08 18:19:42 +03:00
|
|
|
"arrayvec 0.5.2",
|
2021-10-26 20:43:17 +03:00
|
|
|
"utf8parse",
|
2021-02-09 22:06:47 +03:00
|
|
|
"vte_generate_state_changes",
|
|
|
|
]
|
|
|
|
|
2022-09-03 21:11:56 +03:00
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1aae21c12ad2ec2d168c236f369c38ff332bc1134f7246350dca641437365045"
|
|
|
|
dependencies = [
|
|
|
|
"utf8parse",
|
|
|
|
"vte_generate_state_changes",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "vte_generate_state_changes"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d257817081c7dffcdbab24b9e62d2def62e2ff7d00b1c20062551e6cccc145ff"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
]
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "vtparse"
|
2022-04-12 19:07:32 +03:00
|
|
|
version = "0.6.1"
|
2022-03-23 11:08:35 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-12 19:07:32 +03:00
|
|
|
checksum = "36ce903972602c84dd48f488cdce39edcba03a93b7ca67b146ae862568f48c5c"
|
2022-03-23 11:08:35 +03:00
|
|
|
dependencies = [
|
|
|
|
"utf8parse",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "waker-fn"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca"
|
|
|
|
|
2022-03-23 11:08:35 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
2021-07-14 09:22:11 +03:00
|
|
|
version = "0.10.0+wasi-snapshot-preview1"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-14 09:22:11 +03:00
|
|
|
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
|
2021-02-09 22:06:47 +03:00
|
|
|
|
2022-06-14 19:32:19 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "7c53b543413a17a202f4be280a7e5c62a1c69345f5de525ee64f8cfdbc954994"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"wasm-bindgen-macro",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-backend"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "5491a68ab4500fa6b4d726bd67408630c3dbe9c4fe7bda16d5c82a1fd8c7340a"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"bumpalo",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-futures"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.4.31"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "de9a9cec1733468a8c657e57fa2413d2ae2c0129b95e87c5b72b8ace4d13f31f"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
"web-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "c441e177922bc58f1e12c022624b6216378e5febc2f0533e41ba443d505b80aa"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"quote",
|
|
|
|
"wasm-bindgen-macro-support",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-macro-support"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "7d94ac45fcf608c1f45ef53e748d35660f168490c10b23704c7779ab8f5c3048"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"wasm-bindgen-backend",
|
|
|
|
"wasm-bindgen-shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-bindgen-shared"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.2.81"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "6a89911bd99e5f3659ec4acf9c4d93b0a90fe4a2a11f15328472058edc5261be"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasm-encoder"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "31f0c17267a5ffd6ae3d897589460e21db1673c84fb7016b909c9691369a75ea"
|
|
|
|
dependencies = [
|
|
|
|
"leb128",
|
|
|
|
]
|
2021-02-09 22:06:47 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a70cfae554988d904d64ca17ab0e7cd652ee5c8a0807094819c1ea93eb9d6866"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"indexmap",
|
|
|
|
"more-asserts",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-compiler-cranelift",
|
|
|
|
"wasmer-derive",
|
|
|
|
"wasmer-engine",
|
|
|
|
"wasmer-engine-jit",
|
|
|
|
"wasmer-engine-native",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
"wat",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-compiler"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6b7732a9cab472bd921d5a0c422f45b3d03f62fa2c40a89e0770cef6d47e383e"
|
|
|
|
dependencies = [
|
|
|
|
"enumset",
|
|
|
|
"serde",
|
|
|
|
"serde_bytes",
|
|
|
|
"smallvec",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
"wasmparser",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-compiler-cranelift"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "48cb9395f094e1d81534f4c5e330ed4cdb424e8df870d29ad585620284f5fddb"
|
|
|
|
dependencies = [
|
|
|
|
"cranelift-codegen",
|
|
|
|
"cranelift-frontend",
|
|
|
|
"gimli 0.22.0",
|
|
|
|
"more-asserts",
|
|
|
|
"rayon",
|
|
|
|
"serde",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-derive"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d8b86dcd2c3efdb8390728a2b56f762db07789aaa5aa872a9dc776ba3a7912ed"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-engine"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "efe4667d6bd888f26ae8062a63a9379fa697415b4b4e380f33832e8418fd71b5"
|
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
"bincode",
|
|
|
|
"lazy_static",
|
|
|
|
"memmap2",
|
|
|
|
"more-asserts",
|
|
|
|
"rustc-demangle",
|
|
|
|
"serde",
|
|
|
|
"serde_bytes",
|
|
|
|
"target-lexicon",
|
|
|
|
"thiserror",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-engine-jit"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "26770be802888011b4a3072f2a282fc2faa68aa48c71b3db6252a3937a85f3da"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"region",
|
|
|
|
"serde",
|
|
|
|
"serde_bytes",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-engine",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-engine-native"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2bb4083a6c69f2cd4b000b82a80717f37c6cc2e536aee3a8ffe9af3edc276a8b"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"leb128",
|
|
|
|
"libloading",
|
|
|
|
"serde",
|
|
|
|
"tempfile",
|
|
|
|
"tracing",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-engine",
|
|
|
|
"wasmer-object",
|
|
|
|
"wasmer-types",
|
|
|
|
"wasmer-vm",
|
|
|
|
"which",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-object"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "abf8e0c12b82ff81ebecd30d7e118be5fec871d6de885a90eeb105df0a769a7b"
|
|
|
|
dependencies = [
|
|
|
|
"object 0.22.0",
|
|
|
|
"thiserror",
|
|
|
|
"wasmer-compiler",
|
|
|
|
"wasmer-types",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-types"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c7f4ac28c2951cd792c18332f03da523ed06b170f5cf6bb5b1bdd7e36c2a8218"
|
|
|
|
dependencies = [
|
|
|
|
"cranelift-entity",
|
|
|
|
"serde",
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-vm"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a7635ba0b6d2fd325f588d69a950ad9fa04dddbf6ad08b6b2a183146319bf6ae"
|
|
|
|
dependencies = [
|
|
|
|
"backtrace",
|
|
|
|
"cc",
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"indexmap",
|
|
|
|
"libc",
|
|
|
|
"memoffset",
|
|
|
|
"more-asserts",
|
|
|
|
"region",
|
|
|
|
"serde",
|
|
|
|
"thiserror",
|
|
|
|
"wasmer-types",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmer-wasi"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aaf3ec2503b6b12034cf066deb923805952f821223b881acb746df83e284c03e"
|
|
|
|
dependencies = [
|
|
|
|
"bincode",
|
|
|
|
"byteorder",
|
|
|
|
"generational-arena",
|
2022-06-14 19:32:19 +03:00
|
|
|
"getrandom 0.2.7",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
|
|
|
"serde",
|
|
|
|
"thiserror",
|
|
|
|
"time",
|
|
|
|
"tracing",
|
|
|
|
"typetag",
|
|
|
|
"wasmer",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasmparser"
|
|
|
|
version = "0.65.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "87cc2fe6350834b4e528ba0901e7aa405d78b89dc1fa3145359eb4de0e323fcf"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wast"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "42.0.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "badcb03f976f983ff0daf294da9697be659442f61e6b0942bb37a2b6cbfe9dd4"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"leb128",
|
2022-03-16 13:29:04 +03:00
|
|
|
"memchr",
|
|
|
|
"unicode-width",
|
2022-06-14 19:32:19 +03:00
|
|
|
"wasm-encoder",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wat"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "1.0.44"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "b92f20b742ac527066c8414bc0637352661b68cab07ef42586cefaba71c965cf"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"wast",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "web-sys"
|
2022-06-14 19:32:19 +03:00
|
|
|
version = "0.3.58"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-14 19:32:19 +03:00
|
|
|
checksum = "2fed94beee57daf8dd7d51f2b15dc2bcde92d7a72304cdf662a4371008b71b90"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"js-sys",
|
|
|
|
"wasm-bindgen",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-06-30 09:46:00 +03:00
|
|
|
name = "wepoll-ffi"
|
|
|
|
version = "0.1.2"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-30 09:46:00 +03:00
|
|
|
checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2022-04-07 19:47:36 +03:00
|
|
|
[[package]]
|
|
|
|
name = "wezterm-bidi"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7d75b2f860b26dd450c2a89c5a8c726a661716969c828a2eac671f8d6e44d673"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wezterm-color-types"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8dfd66088741fbe014e04553f5496a2eef034ab0f718c61b8129b9048f8df815"
|
|
|
|
dependencies = [
|
|
|
|
"csscolorparser",
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "which"
|
2022-03-21 23:16:16 +03:00
|
|
|
version = "4.2.5"
|
2021-02-09 22:06:47 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-21 23:16:16 +03:00
|
|
|
checksum = "5c4fb54e6113b6a8772ee41c3404fb0301ac79604489467e0a9ce1f3e97c24ae"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2021-04-08 16:29:52 +03:00
|
|
|
"either",
|
2021-10-26 20:43:17 +03:00
|
|
|
"lazy_static",
|
2021-02-09 22:06:47 +03:00
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
|
|
|
version = "0.3.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
|
|
dependencies = [
|
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
|
|
2022-01-23 22:59:03 +03:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
|
|
|
2022-06-03 12:14:38 +03:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_msvc",
|
|
|
|
"windows_i686_gnu",
|
|
|
|
"windows_i686_msvc",
|
|
|
|
"windows_x86_64_gnu",
|
|
|
|
"windows_x86_64_msvc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
|
|
|
|
|
2021-02-09 22:06:47 +03:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
|
|
|
version = "0.4.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
|
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zellij"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-05-16 14:12:50 +03:00
|
|
|
dependencies = [
|
2021-10-31 21:14:12 +03:00
|
|
|
"anyhow",
|
2021-11-06 00:59:45 +03:00
|
|
|
"dialoguer",
|
2021-05-16 14:12:50 +03:00
|
|
|
"insta",
|
2021-06-30 09:46:00 +03:00
|
|
|
"log",
|
2022-10-05 08:44:00 +03:00
|
|
|
"miette 3.3.0",
|
2021-05-22 19:42:43 +03:00
|
|
|
"names",
|
2022-03-16 13:29:04 +03:00
|
|
|
"rand 0.8.5",
|
2021-06-21 11:45:18 +03:00
|
|
|
"ssh2",
|
2022-05-10 17:39:28 +03:00
|
|
|
"suggest",
|
2022-10-05 08:44:00 +03:00
|
|
|
"thiserror",
|
2021-05-16 14:12:50 +03:00
|
|
|
"zellij-client",
|
|
|
|
"zellij-server",
|
|
|
|
"zellij-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zellij-client"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-05-16 14:12:50 +03:00
|
|
|
dependencies = [
|
2021-06-30 12:27:35 +03:00
|
|
|
"insta",
|
2021-07-14 09:22:11 +03:00
|
|
|
"log",
|
2021-07-02 17:40:50 +03:00
|
|
|
"mio",
|
2022-10-05 08:44:00 +03:00
|
|
|
"serde",
|
|
|
|
"serde_yaml",
|
|
|
|
"url",
|
2021-05-16 14:12:50 +03:00
|
|
|
"zellij-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zellij-server"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"ansi_term",
|
2022-07-08 18:19:42 +03:00
|
|
|
"arrayvec 0.7.2",
|
2021-05-24 16:00:49 +03:00
|
|
|
"async-trait",
|
2021-07-02 17:40:50 +03:00
|
|
|
"base64",
|
2021-09-10 18:35:06 +03:00
|
|
|
"byteorder",
|
2021-05-30 01:12:11 +03:00
|
|
|
"cassowary",
|
2021-07-14 09:22:11 +03:00
|
|
|
"chrono",
|
2021-11-02 00:01:59 +03:00
|
|
|
"close_fds",
|
2021-05-11 09:17:08 +03:00
|
|
|
"daemonize",
|
2021-10-26 20:43:17 +03:00
|
|
|
"highway",
|
2021-02-09 22:06:47 +03:00
|
|
|
"insta",
|
2021-06-30 09:46:00 +03:00
|
|
|
"log",
|
2022-10-23 16:14:24 +03:00
|
|
|
"semver",
|
2021-02-09 22:06:47 +03:00
|
|
|
"serde_json",
|
2022-07-08 18:19:42 +03:00
|
|
|
"sixel-image",
|
|
|
|
"sixel-tokenizer",
|
2022-01-13 14:41:13 +03:00
|
|
|
"sysinfo",
|
2021-06-30 09:46:00 +03:00
|
|
|
"typetag",
|
2021-02-09 22:06:47 +03:00
|
|
|
"unicode-width",
|
2021-09-22 20:13:21 +03:00
|
|
|
"url",
|
2022-06-06 10:20:07 +03:00
|
|
|
"uuid",
|
2021-02-09 22:06:47 +03:00
|
|
|
"wasmer",
|
|
|
|
"wasmer-wasi",
|
2021-05-16 14:12:50 +03:00
|
|
|
"zellij-utils",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zellij-tile"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-02-09 22:06:47 +03:00
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"clap",
|
2021-02-09 22:06:47 +03:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-03-09 22:39:42 +03:00
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
refactor(crates): move shared contents from zellij tile to zellij utils (#1541)
* zellij-tile: Move `data` to zellij-utils
The rationale behind this is that all components of zellij access the
data structures defined in this module, as they define some of the most
basic types in the application. However, so far zellij-tile is treated
like a separate crate from the rest of the program in that it is the
only one that doesn't have access to `zellij-utils`, which contains a
lot of other data structures used throughout zellij.
This poses issues as discussed in
https://github.com/zellij-org/zellij/pull/1242 and is one of the reasons
why the keybindings in the status bar default plugin can't be updated
dynamically. It is also the main reason for why the keybindings are
currently passed to the plugin as strings: The plugins only have access
to `zellij-tile`, but since this is a dependency of `zellij-utils`, it
can't import `zellij-utils` to access the keybindings.
Other weird side-effect are that in some places `server` and `client`
have to access the `zellij-tile` contents "through" `zellij-utils`, as
in `use zellij_utils::zellij_tile::prelude::*`.
By moving these central data structures to one common shared crate
(`zellij-utils`), `zellij-tile` will be enabled to import `zellij-utils`
like `screen` and `client` already do. This will, next to other things,
allow dropping a lot of `std::fmt::Fmt` impls needed to convert core
data structures into strings and as a consequence, a lot of string
parsing in the first place.
* utils: Integrate new `data` module, bump rust ver
Integrates the `data` module that was previously part of `zellij-tile`
to allow sharing the contained data structures between all components of
zellij.
This allows `zellij-tile` to use `utils` as a dependency. However, since
`tile` is build against the wasm target, it cannot include all of
`zellij-utils`, since a lot of dependencies there cannot compile with
`wasm` as target (Examples include: termwiz, log4rs, async-std). Thus we
make all the dependencies that cannot compile against `wasm` optional
and introduce a new feature `full` that will compile the crate with all
dependencies. Along with this, modify `lib.rs` to include most of the
data structures only when compiling against the `full` feature.
This makes the compiles of `zellij-tile` lighter, as it doesn't include
all of `utils`. As a side effect, due to the dependency notation for the
optional dependencies (See
https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies),
we bump the rust toolchain version to 1.60.0.
* tile: Import `data` from zellij-utils
Add `zellij-utils` as a dependency to `zellij-tile` and allow us access
to the `data` module defined there. Update the re-export in the
`prelude` such that from all of the plugins points of view *absolutely
nothing changes*.
* utils: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
* client: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
Add the "full" feature flag to the `zellij-utils` dependency so it
includes all the components we need.
* server: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
Add the "full" feature flag to the `zellij-utils` dependency so it
includes all the components we need.
* tests: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
* utils: Remove "full" feature
in favor of conditional compilation using `target_family`. Replace the
rust 1.60 method of specifying optional dependencies based on features
and optionally include the dependencies only when not building for wasm
instead. (I.e. `cfg(not(target_family = "wasm"))`)
* cargo: Update module dependencies
since `client`, `server` and `tile` now all depend on `utils` only.
2022-07-06 17:06:56 +03:00
|
|
|
"zellij-utils",
|
2021-02-09 22:06:47 +03:00
|
|
|
]
|
2021-05-02 12:57:48 +03:00
|
|
|
|
|
|
|
[[package]]
|
2021-05-05 01:31:30 +03:00
|
|
|
name = "zellij-tile-utils"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-05-02 12:57:48 +03:00
|
|
|
dependencies = [
|
2022-01-23 22:59:03 +03:00
|
|
|
"ansi_term",
|
2021-05-02 12:57:48 +03:00
|
|
|
]
|
2021-05-16 14:12:50 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zellij-utils"
|
2022-10-25 12:43:53 +03:00
|
|
|
version = "0.33.0"
|
2021-05-16 14:12:50 +03:00
|
|
|
dependencies = [
|
2021-11-10 11:02:17 +03:00
|
|
|
"anyhow",
|
2021-05-16 14:12:50 +03:00
|
|
|
"async-std",
|
|
|
|
"backtrace",
|
2022-01-23 22:59:03 +03:00
|
|
|
"clap",
|
|
|
|
"clap_complete",
|
2021-11-05 22:39:14 +03:00
|
|
|
"colored",
|
2021-11-02 13:46:06 +03:00
|
|
|
"colorsys",
|
2021-05-27 17:28:28 +03:00
|
|
|
"crossbeam",
|
2021-05-16 14:12:50 +03:00
|
|
|
"directories-next",
|
2022-10-05 08:44:00 +03:00
|
|
|
"insta",
|
2021-05-16 14:12:50 +03:00
|
|
|
"interprocess",
|
2022-10-05 08:44:00 +03:00
|
|
|
"kdl",
|
2021-05-16 14:12:50 +03:00
|
|
|
"lazy_static",
|
2021-05-18 19:46:23 +03:00
|
|
|
"libc",
|
2021-06-30 09:46:00 +03:00
|
|
|
"log",
|
|
|
|
"log4rs",
|
2022-10-05 08:44:00 +03:00
|
|
|
"miette 3.3.0",
|
2021-05-16 14:12:50 +03:00
|
|
|
"nix",
|
2021-05-22 13:15:47 +03:00
|
|
|
"once_cell",
|
2022-04-12 19:07:32 +03:00
|
|
|
"regex",
|
fix(status-bar): reflect actual current keybindings (#1242)
* status-bar: first_line: Use more generic var names
Rename all `CtrlKey...` to the equivalent `Key...` to make the name less
specific. It implies that all key bindings use Ctrl as modifier key,
which needn't necessarily be the case.
* status-bar: first_line: Refactor `ctrl_keys`
Removes lots of code duplication by `Unselect`ing all keys by default
and only `Select`ing what is actually required for a given Input mode.
* utils: conditionally compile unix-specific code
In `zellij_utils`, the following modules each contained code that was
previously targeting only the unix platform:
- consts: Works with unix-specific filesystem attributes to set e.g.
special file permissions. Also relies on having a UID.
- shared: Uses unix-specific filesystem attributes to set file
permissions
These will never work when targeting wasm. Hence the concerning code
passages have been moved into private submodules that are only compiled
and re-exported when the target isn't `#[cfg(unix)]`. The re-export
makes sure that crates from the outside that use `zellij_utils` work as
before, since from their point of view nothing has changed.
* utils: Share more modules with wasm
that work on both wasm and unix natively. This requires factoring out
bits of code in the `setup` and `input` modules into a private submodule
that is re-exported when the compilation target is *not* "wasm". The
following modules are now available to the wasm target:
- cli
- consts
- data
- envs
- input (partial)
- actions
- command
- configs
- keybinds
- layout
- options
- plugins
- theme
- pane_size
- position
- setup (partial)
- shared
The remaining modules unavailable to wasm have dependencies on crates
that cannot compile against wasm, such as `async_std` or `termwiz`.
* utils/input/keybinds_test: Fix import
of the `CharOrArrow` struct which is now part of the `data` submodule.
* utils/layout: Use global serde crate
Previously the code was decorated with `#[serde(crate = "self::serde")]`
statements which cannot be shared with wasm. Use the regular serde
without specifying which serde is meant.
* utils/data: Implement `fmt::Display` for `Key`
so the Keybindings can be displayed via `format!` and friends in e.g.
the status bar.
* tile/prelude: Re-export `actions`
submodule of `zellij_utils` so the plugins can access the `ModeKeybinds`
struct with all of its members.
* utils/data: Fix `ModeInfo::keybinds` type
and transfer a vector of `(Key, Vec<Action>)` to the plugins so they can
parse it themselves, instead of passing strings around. Due to the
requirement of the `Eq` trait derive on `ModeInfo` this requires
deriving `Eq` on all the types included by `Key` and `Action` as well.
Note that `Action` includes the `layout::SplitSize` structure as a
member. We cannot derive `Eq` here since `SplitSize::Percent(f64)`
cannot satisfy `Eq` because `f64` doesn't implement this. So we add a
new type to hack around this limitation by storing the percentage as
`u64` internally, scaled by a factor of 10 000 and transforming it to
f64 when needed. Refer to the documentation of `layout::Percent` for
further information.
* utils/data: Make `Key` sortable
so the keybindings can be sorted after their keys.
* WIP: utils/input: Make keybinds accessible
when generating `ModeInfo` structs.
* utils/data: Handle unprintable chars in `Key`
when displaying via the `fmt::Display` trait. Handles `\t` and `\n` and
represents them as UTF-8 arrow glyphs.
* HACK: utils/layout: Use u64 for SplitSize::Percent
The previous workaround using a custom `Percent` type fails at the
absolute latest when confronted with user layouts, since these do not
know about the scaling factor and will thus break. It still breaks
currently because `Percent` now expects a u64 (i.e. `50`, not `50.0`)
but this is more easily explained and understood.
* status-bar: Add helper macros
that retrieve the key bound to execute a sequence of `Action` given a
specific Keybinding, and a shorthand that expands to
`Action::SwitchToMode(InputMode::Normal)` used for pattern matching with
the `matches!` macro.
* status-bar/first_line: Get shared superkey if any
from the `ModeKeybindings` in the current `ModeInfo` struct. If the
configured keybindings for switching the modes don't have a superkey in
common, do not print a common prefix.
* status-bar/first_line: Add key to KeyShortcut
which is the key that must be pressed in the current mode to execute the
given shortcut (i.e. switch to the given mode).
* status-bar/first_line: Dynamically set mode binds
Read the keybindings for switching the modes to print in the first line
from the actually configured keybindings for the current mode. Add some
logic to the code that:
- Prints only the "single letter" of the keybinding if all mode-switch
shortcuts *share the same modifier key*,
- Or prints the whole keybinding (with modified) into each segment if
there is no common modifier key.
* status-bar/second_line: Display configured binds
Instead of showing some hard-coded default values. For each mode, reads
the keybindings from the configured keybindings based on some sequence
of action. For example, the keybinding for `New` in the `Pane` menu is
now determined by looking into the configured keybindings and finding
what key is bound to the `Action::NewPane(None)` action.
If no keybinding is found for a given sequence of actions, it will not
show up in the segments either.
* WIP: utils/keybinds: Make key order deterministic
by using a BTreeMap which by default has all of its elements in sorted
order internally. As of currently this doesn't seem to impress the order
in which the keybindings are sent to the plugins, though.
* utils/data: Reorder `Key` variants
to have the Arrow keys sorted as "left", "down", "up", "right" in
accordance with the display in e.g. the status bar.
* status-bar/first_line: Fix inverted `matches!`
when trying to obtain the keybindings to switch between the input modes.
Its initial purpose was to filter out all ' ', '\n' and 'Esc'
keybindings for switching modes (As these are the default and not of
interest for the status bar display), but it was not negated and thus
only filtered out the aforementioned keys.
* status-bar: Don't get all modeswitch keybinds
but only those that are displayed in the status bar. This currently
excludes the keybindings for Entering the Pane/TabRename mode, Tmux mode
and Prompt mode. We must explicitly exclude these since they aren't
bound to the same Modifiers as the regular keys. Thus, if we e.g. enter
Pane or Tab mode, it will pick up the
`SwitchToMode(InputMode::TabRename)` action as being bound to `c`, hence
the `superkey` function cannot find a common modifier, etc. But we don't
display the `TabRename` input mode in the first line anyway, so we must
ignore it.
Therefore, we additionally add the keybinding to call the `Action::Quit`
action to terminate zellij to the vector we return. Also remove the
`(Key, InputMode)` tuple and convert the return type to a plain
`Vec<Key>`, since the never worked with the `InputMode` in the first
place.
* status-bar/first_line: Fix output for tight screen
Implement the "Squeezed" display variant where we do not display which
of the modes each keybinding switches to, but only the keybinding
itself.
* status-bar/second_line: Remove trailing " / "
* status-bar/second-line: Refactor key hints
Instead of determining the appropriate key hints for every case
separately (i.e. enough space to show all, show shortened, shot
best-effort), create a central function that returns for the current
`InputMode` a Vector with tuples of:
- A String to show in full-length mode
- A String to show in shortened/best-effort mode
- The vector of keys that goes with this key hint
This allows all functions that need the hints to iterate over the vector
and pick whatever hint suits them along with the Keys to display.
* status-bar/second-line: Implement shortened hints
* utils/data: Fix display for `Key::Alt`
which previously printed only the internal char but not the modifier.
* status-bar/first-line: Add hidden Tmux tile
that is only shown when in Tmux mode. Note that with the default config
this "breaks" the shared superkey display, because it correctly
identifies that one can switch to Scroll mode via `[`.
* status-bar: Print superkey as part of first line
Instead of first obtaining the superkey and then the rest of the first
line to display. This way we don't need to split up individual data
structures and carry a boolean flag around multiple functions.
It also has the advantage that when the available space is really tight,
the first line is entirely empty and doesn't display a stale superkey
without any other keybinding hints.
* status-bar: Rework keybinding theming
Previously there were individual functions to create the tiles in the
first line depending on whether:
- A tile was selected, unselected, unselected alternate (for theming) or disabled, and
- Tiles had full length or were displayed shortened
In the first case, the functions that previously handled the theming
only differed in what theme they apply to the otherwise identical
content. Since the theming information was drawn from a flat structure
that simulated hierarchy by giving hierarchical names to its theme
"members", this couldn't be handled in code. In the second case, some of
the theming information needed for the full-length shortcuts was
replicated for the shortened shortcuts.
Instead, rewrite the general Theming structure into a hierarchical one:
Adds a new structure `SegmentStyle` that contains the style for a single
segment depending on whether it is selected, unselected (alternate) or
disabled. Refactor the `first-line` module to use a single function to
generate either full-length or shortened tiles, that does functionally
the same but switches themes based on the selection status of the tile
it themes.
* status-bar/second-line: Return new `LinePart`s
from the `add_shortcut` function instead of modifying the input
parameters.
* status-bar/second-line: Implement adaptive behavior
and make the keyhints adapt when the screen runs out of space. The hints
first become shortened and when necessary partially disappear to display
a "..." hint instead.
* status-bar/second-line: Show float pane binding
based on the keycombination that's really bound to switching into the
"Pane" input mode.
* status-bar/get_keys_and_hints: Add more modes
for the keybindings in Tmux and the Pane/TabRename input modes.
* status-bar/second-line: Unify mode handling
and don't do extra shortcut handling for Tmux and the Pane/TabRename
modes any longer. Instead, assemble this like for all other modes from
the keybinding and hints vector.
* status-bar/first-line: Refactor common modifier
to a separate function so it can be used by other modules, too.
* status-bar/second-line: Display modifier in hints
when available. For example, for bindings to move between panes when in
PaneRename mode, now displays "Alt + <hjkl>" instead of
"<Alt+hAlt+j...>".
* utils/ipc: Remove `Copy` from `ClientAttributes`
as preparation to add `Keybinds` as a member to the `ClientAttributes`
struct. `Keybinds` contains a `HashMap`, for which the `std` doesn't
derive `Copy` but only `Clone`.
* utils/input/keybinds: Fix import path
Import `Key` and `InputMode` directly from `data`.
* utils/ipc: Add `Keybinds` to `ClientAttributes`
so we can keep track, pre-client, of the configured key bindings and
pass them around further in the code.
* server/lib: Store `ClientAttributes` over `Style`
in `SessionMetadata` to be able to pass Keybindings to other places in
the code, too. Since `Style` is also a member of `ClientAttributes`,
this works with minimal modifications.
* utils/input: Change `get_mode_info` parameters
to take a `ClientAttributes` struct instead of merely the `Style`
information. This way we can get the `Style` from the
`ClientAttributes`, and also have access to the `keybinds` member that
stores the keybinding configuration.
* utils/ipc: Use `rmp` for serde of IPC messages
instead of `bincode`, which seemingly has issues (de)serializing
`HashMap`s and `BTreeMap`s since `deserialize_any` isn't implemented for
these types.
* fix(nix): remove `assets` from `gitignore`
Remove `assets` from the gitignore of the plugins themselves,
since every single plugin now depends on the asset being accessible
in its source directory.
* tests/e2e: Fix status bar in snapshots
to reflect the current state of the dynamic keybindings.
* status_bar/first_line: Don't show unbound modes
If switching to a specific mode isn't bound to a key, don't show a
tile/ribbon for it either. E.g. in `LOCKED` mode, this will only show
the tile for the `LOCK` mode and ignore all others.
* utils/data: Make 'Key::Char(' ') visible as "␣"
so the user doesn't only see a blank char but has an idea that the space
key is meant.
* status_bar/second_line: Remove extra hints
generated by the `hint_producing_function` that would tell the user in
every input mode how to get back to normal mode. Instead, add this as
keybinding to the general keybindings vector.
This removes some lines of duplicated code but most of all now applies
the correct theming to this keybinding. Additionally, previously the
`RenameTab` and `RenamePane` input modes would show the keybinding to
get back to normal mode twice and both of them were hardcoded. This
binding is now dynamically displayed based on what the user configured
as keybinding.
* utils/data: format unprintable chars as words
instead of unicode symbols. E.g. write "SPACE" instead of "␣".
* utils/data: Fix display for `Ctrl`/`Alt` keys
previously their "inner" chars would be displayed with a regular
`fmt::Display` for the `&str` type they are. This doesn't match what we
want to output. So instead we wrap the inner chars into `Key::Char`
before printing them.
* utils/data: Change order of `Key`s
so that e.g. for the default bindings in `Scroll` mode we prefer to show
`PgDn|PgUp` rather than the arrow keys these actions are bound to as
well.
* status_bar/first_line: Don't ignore default char
bindings by default. These include the '\n', ' ' and 'Esc' bindings that
by default lead back to `Normal` input mode from all the modes.
Previously we would unconditionally ignore them and consequently not
print the tile when in fact the user may have bound this particular
action to either of the keys.
Instead now we first ignore the keys mentioned and if we turn up with an
undefined binding, we consider these default keys as well so we get
*something* to display in any case.
* status_bar/first_line: Add space when no modifier
is shared between the keybindings. This way there isn't a stray arrow at
the very border of the screen, but it is spaced just like the tab-bar
and the second line is.
* status_bar/second_line: Print separators
between consecutive keys bound to specific actions. This allows the user
to visually differ between different keys.
* status_bar/main: Don't return modifier if empty
* status_bar/first_line: Don't suppress Disabled tiles
Disabled is a special state that the keybindings only assume in locked
mode. It turns the respective tiles grey to signal to the user that
these are currently inactive. With respect to users new to zellij, it
may appear confusing that when entering locked mode all the other tiles
disappear (which they do because they have no valid keybinding
assigned). Since we have no keybinding for them, we still display them
but without any associated key (i.e. as `<>` for the binding).
* status_bar/first_line: Don't print leading triangle
on first tile, when there is no shared superkey.
* status_bar/second_line: Add exceptions
for inter-key separators. Keeps groups of `hjkl` and arrow keys intact
(doesn't add separators between the keys) but separates all others.
* status_bar/main: Refactor `action_key`
to a regular function instead of a macro. It turns out that while being
able to match patterns is a nice feature, we completely rely on the keys
that drop out of the pattern found this way to be sorted in a sensible
way. Since we sort the key vectors in the necessary places after the
keys, and not the actions, this of course doesn't apply when the user
changes "hjkl" to "zjkl", which would then become "jklz". Now this is of
course wrong, because "z" still means "Move focus left", and not "Move
focus right".
With the function we now assume a slice of Actions that we match the
action vectors from the keybindings against to obtain the necessary
keys. In order to avoid ugly `into_iter().chain(...)` constructs we had
before we also add a new function `action_key_group` that takes a sliced
array of slices to get a whole group of keys to display.
* status_bar/first_line: Fix "triangle" for short tiles
since we do not want to display a colored triangle at the start of the
line when in sortened mode (just as we do for the long tiles now).
Also fix a bug that would make the triangle reappear when the first
keybinding to be displayed didn't have a key assigned and thus wouldn't
be displayed at all.
* status_bar/second_line: Fix typo
that would cause single `Ctrl+?` bindings for actions in the second line
to be displayed as `Ctrl + <Ctrl+?>`.
* status_bar/second_line: Fix char count
when displaying groups of keys in a binding with or without a separator.
* status_bar: Use new `action_key` fn
instead of the previous macro to obtain the keys to display in the
status bar in a fixed given order. Also fix the display "bug" where tab
switching would be shows as "ArrowLeft/ArrowDown" instead of
"ArrowLeft/ArrowRight".
* status_bar/second_line: Fix floating pane hint
that tells the user what keybinding to press to suppress the currently
active floating panes. This was previously hardcoded.
* utils: Send full keybinds in `ModeInfo`
instead of the currently active `ModeKeybinds` for the active input
mode. Some of the UI issues cannot be solved without having access to
*all* keybindings.
* utils: Refactor keybinds vec into type
to make clippy happy.
* status_bar/first_line: Remove needless borrows
* status_bar: Factor out printing keybindings
into a separate function that takes a vector of keys and a palette and
returns the painted key groups, with correct inter-character separation
where necessary and factoring out common modifier keys.
* status_bar/tip: Use real keybindings
instead of printing hard-coded messages to the user.
* status_bar: abort early when keyvector is empty
in `style_key_with_modifier`.
* status_bar/tip: Fix all keybindings
and make them dynamic given the keybindings really active in the current
session. Also display **UNBOUND** is some keybinding is missing from the
users config.
* status_bar: Go clippy!
* status_bar: Add documentation
and add a new exception group to `action_key_group` that ensures that
`hl` and `jk` won't be separated with `|`.
* status_bar/tip: Detect when key aren't bound
correctly and show "UNBOUND" as keyhint instead, then. Previously we
would only check the length of the whole keybinding segment, but that
isn't a good indicator since most of the bindings require changing modes
first, which already adds a variable number of letters to the segment.
However, there is not point in showing how to get to a certain mode, if
the binding needed in that mode doesn't exist.
* status_bar/first_line: Show bindings when locked
if the user has any configured.
* status_bar: Don't consider 'hl', 'jk' groups
that don't need a separator in between the letters.
* status_bar/second_line: Add "search" keybindings
for the new Search functionality.
* tests/e2e: Fix snapshots
with what the status bar now really displays.
* status_bar: Remove old comments
* status_bar/first_line: Rename 'long_tile'
to the more descriptive name 'mode_shortcut', which better describes
what this function does.
* status_bar/first_line: Fix spacing in simple UI
where the modifier would be shows as `Ctrl +`, without a trailing space.
This isn't an issue in regular mode, where we have the spacing from the
arrow gaps (`>>`) that "simulates" this effect.
* status_bar: Refactor and rename `ctrl_keys`
so it doesn't rely on some "external" index for operation any more.
* status_bar: Add unit tests to shared functions
and fix a bug in the process where certain `Ctrl` keybindings would be
displayed wrong.
* status_bar/first_line: Rename functions
responsible for printing the long and short shortcut keyhint tiles. Also
add some documentation that explains their purpose and the arguments
they accept.
* status_bar/tips: Remove stray "/" in quicknav tip
* utils/layout: Remove old comments
introduced when rewriting `SplitSize::Percent` to not hold an `f64`
type.
* status_bar: Add "regex" as test dependency
We use regular expressions to strip all ANSI escape sequences in the
strings that are produced by the plugin functions during testing. We do
not test for the style information, but merely for the raw text.
* status_bar: Implement unit tests
* Makefile: Always run tests on host triple
This allows the unit tests for all plugins to be run on the host as well
(because their default compilation target is wasm32-wasi).
* tests/e2e: Add test for custom bindings
in the status bar. Makes sure that the modified bindings from a custom
configuration file are read and applied to the UI.
Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-07-27 17:48:35 +03:00
|
|
|
"rmp-serde",
|
2021-05-16 14:12:50 +03:00
|
|
|
"serde",
|
2021-09-22 20:13:21 +03:00
|
|
|
"serde_json",
|
2022-06-03 12:14:38 +03:00
|
|
|
"signal-hook 0.3.14",
|
2021-05-16 14:12:50 +03:00
|
|
|
"strip-ansi-escapes",
|
|
|
|
"strum",
|
refactor(crates): move shared contents from zellij tile to zellij utils (#1541)
* zellij-tile: Move `data` to zellij-utils
The rationale behind this is that all components of zellij access the
data structures defined in this module, as they define some of the most
basic types in the application. However, so far zellij-tile is treated
like a separate crate from the rest of the program in that it is the
only one that doesn't have access to `zellij-utils`, which contains a
lot of other data structures used throughout zellij.
This poses issues as discussed in
https://github.com/zellij-org/zellij/pull/1242 and is one of the reasons
why the keybindings in the status bar default plugin can't be updated
dynamically. It is also the main reason for why the keybindings are
currently passed to the plugin as strings: The plugins only have access
to `zellij-tile`, but since this is a dependency of `zellij-utils`, it
can't import `zellij-utils` to access the keybindings.
Other weird side-effect are that in some places `server` and `client`
have to access the `zellij-tile` contents "through" `zellij-utils`, as
in `use zellij_utils::zellij_tile::prelude::*`.
By moving these central data structures to one common shared crate
(`zellij-utils`), `zellij-tile` will be enabled to import `zellij-utils`
like `screen` and `client` already do. This will, next to other things,
allow dropping a lot of `std::fmt::Fmt` impls needed to convert core
data structures into strings and as a consequence, a lot of string
parsing in the first place.
* utils: Integrate new `data` module, bump rust ver
Integrates the `data` module that was previously part of `zellij-tile`
to allow sharing the contained data structures between all components of
zellij.
This allows `zellij-tile` to use `utils` as a dependency. However, since
`tile` is build against the wasm target, it cannot include all of
`zellij-utils`, since a lot of dependencies there cannot compile with
`wasm` as target (Examples include: termwiz, log4rs, async-std). Thus we
make all the dependencies that cannot compile against `wasm` optional
and introduce a new feature `full` that will compile the crate with all
dependencies. Along with this, modify `lib.rs` to include most of the
data structures only when compiling against the `full` feature.
This makes the compiles of `zellij-tile` lighter, as it doesn't include
all of `utils`. As a side effect, due to the dependency notation for the
optional dependencies (See
https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies),
we bump the rust toolchain version to 1.60.0.
* tile: Import `data` from zellij-utils
Add `zellij-utils` as a dependency to `zellij-tile` and allow us access
to the `data` module defined there. Update the re-export in the
`prelude` such that from all of the plugins points of view *absolutely
nothing changes*.
* utils: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
* client: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
Add the "full" feature flag to the `zellij-utils` dependency so it
includes all the components we need.
* server: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
Also unify the imports for the `data` module members: We import all of
the through `data::` now, not through a mixture of `data::` and
`prelude::`.
Add the "full" feature flag to the `zellij-utils` dependency so it
includes all the components we need.
* tests: Fix `data` module dependency
Since the `data` module has been migrated from `zellij-tile` to
`zellij-utils`, we import it from `zellij-utils` directly now.
* utils: Remove "full" feature
in favor of conditional compilation using `target_family`. Replace the
rust 1.60 method of specifying optional dependencies based on features
and optionally include the dependencies only when not building for wasm
instead. (I.e. `cfg(not(target_family = "wasm"))`)
* cargo: Update module dependencies
since `client`, `server` and `tile` now all depend on `utils` only.
2022-07-06 17:06:56 +03:00
|
|
|
"strum_macros",
|
2021-05-16 14:12:50 +03:00
|
|
|
"tempfile",
|
2022-03-23 11:08:35 +03:00
|
|
|
"termwiz",
|
2021-11-05 22:45:57 +03:00
|
|
|
"thiserror",
|
2021-09-12 21:29:07 +03:00
|
|
|
"unicode-width",
|
2021-09-22 20:13:21 +03:00
|
|
|
"url",
|
2022-09-03 21:11:56 +03:00
|
|
|
"vte 0.11.0",
|
2021-05-16 14:12:50 +03:00
|
|
|
]
|
2021-11-06 00:59:45 +03:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "zeroize"
|
2022-06-03 12:14:38 +03:00
|
|
|
version = "1.5.5"
|
2021-11-06 00:59:45 +03:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-03 12:14:38 +03:00
|
|
|
checksum = "94693807d016b2f2d2e14420eb3bfcca689311ff775dcf113d74ea624b7cdf07"
|